Skip to content

Add CSS Backgrounds and Borders types #718

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 1 commit into from
Sep 23, 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
86 changes: 43 additions & 43 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2631,53 +2631,53 @@ interface CSSStyleDeclaration {
animationPlayState: string;
animationTimingFunction: string;
backfaceVisibility: string | null;
background: string | null;
backgroundAttachment: string | null;
backgroundClip: string | null;
backgroundColor: string | null;
backgroundImage: string | null;
backgroundOrigin: string | null;
backgroundPosition: string | null;
backgroundPositionX: string | null;
backgroundPositionY: string | null;
backgroundRepeat: string | null;
backgroundSize: string | null;
background: string;
backgroundAttachment: string;
backgroundClip: string;
backgroundColor: string;
backgroundImage: string;
backgroundOrigin: string;
backgroundPosition: string;
backgroundPositionX: string;
backgroundPositionY: string;
backgroundRepeat: string;
backgroundSize: string;
baselineShift: string | null;
border: string | null;
borderBottom: string | null;
borderBottomColor: string | null;
borderBottomLeftRadius: string | null;
borderBottomRightRadius: string | null;
borderBottomStyle: string | null;
borderBottomWidth: string | null;
border: string;
borderBottom: string;
borderBottomColor: string;
borderBottomLeftRadius: string;
borderBottomRightRadius: string;
borderBottomStyle: string;
borderBottomWidth: string;
borderCollapse: string | null;
borderColor: string | null;
borderImage: string | null;
borderImageOutset: string | null;
borderImageRepeat: string | null;
borderImageSlice: string | null;
borderImageSource: string | null;
borderImageWidth: string | null;
borderLeft: string | null;
borderLeftColor: string | null;
borderLeftStyle: string | null;
borderLeftWidth: string | null;
borderRadius: string | null;
borderRight: string | null;
borderRightColor: string | null;
borderRightStyle: string | null;
borderRightWidth: string | null;
borderColor: string;
borderImage: string;
borderImageOutset: string;
borderImageRepeat: string;
borderImageSlice: string;
borderImageSource: string;
borderImageWidth: string;
borderLeft: string;
borderLeftColor: string;
borderLeftStyle: string;
borderLeftWidth: string;
borderRadius: string;
borderRight: string;
borderRightColor: string;
borderRightStyle: string;
borderRightWidth: string;
borderSpacing: string | null;
borderStyle: string | null;
borderTop: string | null;
borderTopColor: string | null;
borderTopLeftRadius: string | null;
borderTopRightRadius: string | null;
borderTopStyle: string | null;
borderTopWidth: string | null;
borderWidth: string | null;
borderStyle: string;
borderTop: string;
borderTopColor: string;
borderTopLeftRadius: string;
borderTopRightRadius: string;
borderTopStyle: string;
borderTopWidth: string;
borderWidth: string;
bottom: string | null;
boxShadow: string | null;
boxShadow: string;
boxSizing: string;
breakAfter: string | null;
breakBefore: string | null;
Expand Down
22 changes: 22 additions & 0 deletions inputfiles/idl/CSS Backgrounds and Borders Level 4.widl
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPosition;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionX;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionY;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionInline;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPositionBlock;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundClip;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString cornerShape;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString corners;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLimit;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClip;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipTop;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipRight;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipBottom;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderClipLeft;
};
43 changes: 43 additions & 0 deletions inputfiles/idl/CSS Backgrounds and Borders.widl
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundImage;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundRepeat;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundAttachment;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundPosition;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundClip;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundOrigin;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString backgroundSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString background;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRightWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeftWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTop;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRight;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottom;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderLeft;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString border;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopLeftRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderTopRightRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomRightRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBottomLeftRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageSource;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageSlice;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageOutset;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImageRepeat;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderImage;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString boxShadow;
};
8 changes: 8 additions & 0 deletions inputfiles/idlSources.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
"url": "https://www.w3.org/TR/css-animations-1/",
"title": "CSS Animations"
},
{
"url": "https://www.w3.org/TR/css-backgrounds-3/",
"title": "CSS Backgrounds and Borders"
},
{
"url": "https://drafts.csswg.org/css-backgrounds-4/",
"title": "CSS Backgrounds and Borders Level 4"
},
{
"url": "https://www.w3.org/TR/css-ui-3/",
"title": "CSS Basic User Interface"
Expand Down
10 changes: 10 additions & 0 deletions inputfiles/removedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,16 @@
"CSSStyleDeclaration": {
"properties": {
"property": {
"backgroundPositionBlock": null,
"backgroundPositionInline": null,
"borderClip": null,
"borderClipBottom": null,
"borderClipLeft": null,
"borderClipRight": null,
"borderClipTop": null,
"borderLimit": null,
"cornerShape": null,
"corners": null,
"hangingPunctuation": null,
"textAlignAll": null
}
Expand Down