Remove vendor prefix for the 'transform' CSS property

Browser support: https://caniuse.com/#feat=transforms2d
This commit is contained in:
Frederic Junod
2019-02-15 14:29:13 +01:00
parent 3da449d77e
commit 391dfc5025
2 changed files with 0 additions and 6 deletions

View File

@@ -169,8 +169,6 @@ export function render(mapEvent) {
this.element.classList.remove(CLASS_HIDDEN);
}
}
this.label_.style.msTransform = transform;
this.label_.style.webkitTransform = transform;
this.label_.style.transform = transform;
}
this.rotation_ = rotation;

4
types/dom.d.ts vendored
View File

@@ -27,7 +27,3 @@ interface Element {
msRequestFullscreen(): Promise<void>;
webkitRequestFullscreen(allowKeyboardInput?: number): Promise<void>;
}
interface CSSStyleDeclaration {
msTransform: string | null;
}