Skip to content

Add CSS Fill and Stroke types #720

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 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
22 changes: 11 additions & 11 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2821,9 +2821,9 @@ interface CSSStyleDeclaration {
dominantBaseline: string | null;
emptyCells: string | null;
enableBackground: string | null;
fill: string | null;
fillOpacity: string | null;
fillRule: string | null;
fill: string;
fillOpacity: string;
fillRule: string;
filter: string;
flex: string;
flexBasis: string;
Expand Down Expand Up @@ -3006,14 +3006,14 @@ interface CSSStyleDeclaration {
scrollBehavior: string;
stopColor: string | null;
stopOpacity: string | null;
stroke: string | null;
strokeDasharray: string | null;
strokeDashoffset: string | null;
strokeLinecap: string | null;
strokeLinejoin: string | null;
strokeMiterlimit: string | null;
strokeOpacity: string | null;
strokeWidth: string | null;
stroke: string;
strokeDasharray: string;
strokeDashoffset: string;
strokeLinecap: string;
strokeLinejoin: string;
strokeMiterlimit: string;
strokeOpacity: string;
strokeWidth: string;
tabSize: string;
tableLayout: string | null;
textAlign: string;
Expand Down
30 changes: 30 additions & 0 deletions inputfiles/idl/CSS Fill and Stroke.widl
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillRule;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillBreak;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillImage;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillOrigin;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillPosition;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillRepeat;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fill;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString fillOpacity;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeAlign;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeLinecap;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeLinejoin;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeMiterlimit;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeBreak;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeDasharray;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeDashoffset;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeDashCorner;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeDashJustify;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeImage;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeOrigin;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokePosition;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeRepeat;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString stroke;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString strokeOpacity;
};
4 changes: 4 additions & 0 deletions inputfiles/idlSources.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@
"url": "https://www.w3.org/TR/css-align-3/",
"title": "CSS Box Alignment"
},
{
"url": "https://www.w3.org/TR/fill-stroke-3/",
"title": "CSS Fill and Stroke"
},
{
"url": "https://www.w3.org/TR/css-flexbox-1/",
"title": "CSS Flexible Box Layout"
Expand Down
17 changes: 17 additions & 0 deletions inputfiles/removedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@
"borderLimit": null,
"cornerShape": null,
"corners": null,
"fillBreak": null,
"fillColor": null,
"fillImage": null,
"fillOrigin": null,
"fillPosition": null,
"fillRepeat": null,
"fillSize": null,
"hangingPunctuation": null,
"blockOverflow": null,
"continue": null,
Expand All @@ -95,6 +102,16 @@
"maxLines": null,
"overflowBlock": null,
"overflowInline": null,
"strokeAlign": null,
"strokeBreak": null,
"strokeColor": null,
"strokeDashCorner": null,
"strokeDashJustify": null,
"strokeImage": null,
"strokeOrigin": null,
"strokePosition": null,
"strokeRepeat": null,
"strokeSize": null,
"textAlignAll": null
}
}
Expand Down