Skip to content

Add CSS Transforms Level 2 types #724

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2740,7 +2740,7 @@ interface CSSStyleDeclaration {
animationName: string;
animationPlayState: string;
animationTimingFunction: string;
backfaceVisibility: string | null;
backfaceVisibility: string;
background: string;
backgroundAttachment: string;
backgroundClip: string;
Expand Down Expand Up @@ -3018,8 +3018,8 @@ interface CSSStyleDeclaration {
pageBreakInside: string;
readonly parentRule: CSSRule;
penAction: string | null;
perspective: string | null;
perspectiveOrigin: string | null;
perspective: string;
perspectiveOrigin: string;
placeContent: string;
placeItems: string;
placeSelf: string;
Expand All @@ -3028,12 +3028,12 @@ interface CSSStyleDeclaration {
quotes: string;
resize: string;
right: string;
rotate: string | null;
rotate: string;
rowGap: string;
rubyAlign: string | null;
rubyOverhang: string | null;
rubyPosition: string | null;
scale: string | null;
scale: string;
scrollBehavior: string;
stopColor: string | null;
stopOpacity: string | null;
Expand Down Expand Up @@ -3073,13 +3073,13 @@ interface CSSStyleDeclaration {
transform: string;
transformBox: string;
transformOrigin: string;
transformStyle: string | null;
transformStyle: string;
transition: string;
transitionDelay: string;
transitionDuration: string;
transitionProperty: string;
transitionTimingFunction: string;
translate: string | null;
translate: string;
unicodeBidi: string;
userSelect: string;
verticalAlign: string;
Expand Down
9 changes: 9 additions & 0 deletions inputfiles/idl/CSS Transforms Level 2.widl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString translate;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString rotate;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString scale;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString transformStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString perspective;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString perspectiveOrigin;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backfaceVisibility;
};
4 changes: 4 additions & 0 deletions inputfiles/idlSources.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@
"url": "https://www.w3.org/TR/css-transforms-1/",
"title": "CSS Transforms"
},
{
"url": "https://drafts.csswg.org/css-transforms-2/",
"title": "CSS Transforms Level 2"
},
{
"url": "https://www.w3.org/TR/css-will-change/",
"title": "CSS Will Change"
Expand Down