Skip to content

Commit f0ca302

Browse files
saschanazsandersn
authored andcommitted
add CSS Transforms types (#688)
1 parent 1c4c8c2 commit f0ca302

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2890,8 +2890,9 @@ interface CSSStyleDeclaration {
28902890
textUnderlinePosition: string | null;
28912891
top: string | null;
28922892
touchAction: string;
2893-
transform: string | null;
2894-
transformOrigin: string | null;
2893+
transform: string;
2894+
transformBox: string;
2895+
transformOrigin: string;
28952896
transformStyle: string | null;
28962897
transition: string;
28972898
transitionDelay: string;

inputfiles/idl/CSS Transforms.widl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
partial interface CSSStyleDeclaration {
2+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString transform;
3+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString transformOrigin;
4+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString transformBox;
5+
};

inputfiles/idlSources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
"url": "https://www.w3.org/TR/css-transitions-1/",
4141
"title": "CSS Transitions"
4242
},
43+
{
44+
"url": "https://www.w3.org/TR/css-transforms-1/",
45+
"title": "CSS Transforms"
46+
},
4347
{
4448
"url": "https://www.w3.org/TR/css-will-change/",
4549
"title": "CSS Will Change"

0 commit comments

Comments
 (0)