mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-14 12:08:36 -05:00
Initial VS Code 1.19 source merge (#571)
* Initial 1.19 xcopy * Fix yarn build * Fix numerous build breaks * Next batch of build break fixes * More build break fixes * Runtime breaks * Additional post merge fixes * Fix windows setup file * Fix test failures. * Update license header blocks to refer to source eula
This commit is contained in:
@@ -64,14 +64,6 @@ export class FastDomNode<T extends HTMLElement> {
|
||||
this.domNode.style.width = this._width + 'px';
|
||||
}
|
||||
|
||||
public unsetWidth(): void {
|
||||
if (this._width === -1) {
|
||||
return;
|
||||
}
|
||||
this._width = -1;
|
||||
this.domNode.style.width = '';
|
||||
}
|
||||
|
||||
public setHeight(height: number): void {
|
||||
if (this._height === height) {
|
||||
return;
|
||||
@@ -80,14 +72,6 @@ export class FastDomNode<T extends HTMLElement> {
|
||||
this.domNode.style.height = this._height + 'px';
|
||||
}
|
||||
|
||||
public unsetHeight(): void {
|
||||
if (this._height === -1) {
|
||||
return;
|
||||
}
|
||||
this._height = -1;
|
||||
this.domNode.style.height = '';
|
||||
}
|
||||
|
||||
public setTop(top: number): void {
|
||||
if (this._top === top) {
|
||||
return;
|
||||
@@ -217,18 +201,10 @@ export class FastDomNode<T extends HTMLElement> {
|
||||
this.domNode.setAttribute(name, value);
|
||||
}
|
||||
|
||||
public getAttribute(name: string): string {
|
||||
return this.domNode.getAttribute(name);
|
||||
}
|
||||
|
||||
public removeAttribute(name: string): void {
|
||||
this.domNode.removeAttribute(name);
|
||||
}
|
||||
|
||||
public hasAttribute(name: string): boolean {
|
||||
return this.domNode.hasAttribute(name);
|
||||
}
|
||||
|
||||
public appendChild(child: FastDomNode<any>): void {
|
||||
this.domNode.appendChild(child.domNode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user