Skip to content

Add CSS Logical Properties and Values types #722

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
30 changes: 30 additions & 0 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2753,7 +2753,16 @@ interface CSSStyleDeclaration {
backgroundRepeat: string;
backgroundSize: string;
baselineShift: string;
blockSize: string;
border: string;
borderBlockEnd: string;
borderBlockEndColor: string;
borderBlockEndStyle: string;
borderBlockEndWidth: string;
borderBlockStart: string;
borderBlockStartColor: string;
borderBlockStartStyle: string;
borderBlockStartWidth: string;
borderBottom: string;
borderBottomColor: string;
borderBottomLeftRadius: string;
Expand All @@ -2768,6 +2777,14 @@ interface CSSStyleDeclaration {
borderImageSlice: string;
borderImageSource: string;
borderImageWidth: string;
borderInlineEnd: string;
borderInlineEndColor: string;
borderInlineEndStyle: string;
borderInlineEndWidth: string;
borderInlineStart: string;
borderInlineStartColor: string;
borderInlineStartStyle: string;
borderInlineStartWidth: string;
borderLeft: string;
borderLeftColor: string;
borderLeftStyle: string;
Expand Down Expand Up @@ -2876,6 +2893,7 @@ interface CSSStyleDeclaration {
imageOrientation: string;
imageRendering: string;
imeMode: string | null;
inlineSize: string;
justifyContent: string;
justifyItems: string;
justifySelf: string;
Expand All @@ -2896,7 +2914,11 @@ interface CSSStyleDeclaration {
listStylePosition: string | null;
listStyleType: string | null;
margin: string | null;
marginBlockEnd: string;
marginBlockStart: string;
marginBottom: string | null;
marginInlineEnd: string;
marginInlineStart: string;
marginLeft: string | null;
marginRight: string | null;
marginTop: string | null;
Expand All @@ -2911,9 +2933,13 @@ interface CSSStyleDeclaration {
maskRepeat: string;
maskSize: string;
maskType: string;
maxBlockSize: string;
maxHeight: string | null;
maxInlineSize: string;
maxWidth: string | null;
minBlockSize: string;
minHeight: string | null;
minInlineSize: string;
minWidth: string | null;
msContentZoomChaining: string | null;
msContentZoomLimit: string | null;
Expand Down Expand Up @@ -2978,7 +3004,11 @@ interface CSSStyleDeclaration {
overflowX: string;
overflowY: string;
padding: string | null;
paddingBlockEnd: string;
paddingBlockStart: string;
paddingBottom: string | null;
paddingInlineEnd: string;
paddingInlineStart: string;
paddingLeft: string | null;
paddingRight: string | null;
paddingTop: string | null;
Expand Down
55 changes: 55 additions & 0 deletions inputfiles/idl/CSS Logical Properties and Values.widl
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
partial interface CSSStyleDeclaration {
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString blockSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString inlineSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString minBlockSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString minInlineSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString maxBlockSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString maxInlineSize;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString marginBlockStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString marginBlockEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString marginInlineStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString marginInlineEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString marginBlock;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString marginInline;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString insetBlockStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString insetBlockEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString insetInlineStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString insetInlineEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString insetBlock;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString insetInline;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString inset;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString paddingBlockStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString paddingBlockEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString paddingInlineStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString paddingInlineEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString paddingBlock;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString paddingInline;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockStartWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockEndWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineStartWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineEndWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineWidth;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockStartStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockEndStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineStartStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineEndStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineStyle;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockStartColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockEndColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineStartColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineEndColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineColor;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlockEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineStart;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInlineEnd;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderBlock;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderInline;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderStartStartRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderStartEndRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderEndStartRadius;
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString borderEndEndRadius;
};
4 changes: 4 additions & 0 deletions inputfiles/idlSources.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@
"url": "https://www.w3.org/TR/css-inline-3/",
"title": "CSS Inline Layout"
},
{
"url": "https://www.w3.org/TR/css-logical-1/",
"title": "CSS Logical Properties and Values"
},
{
"url": "https://drafts.fxtf.org/css-masking-1/",
"title": "CSS Masking"
Expand Down
28 changes: 26 additions & 2 deletions inputfiles/removedTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,27 @@
"property": {
"backgroundPositionBlock": null,
"backgroundPositionInline": null,
"blockOverflow": null,
"borderBlock": null,
"borderBlockColor": null,
"borderBlockStyle": null,
"borderBlockWidth": null,
"borderClip": null,
"borderClipBottom": null,
"borderClipLeft": null,
"borderClipRight": null,
"borderClipTop": null,
"borderEndEndRadius": null,
"borderEndStartRadius": null,
"borderInline": null,
"borderInlineColor": null,
"borderInlineStyle": null,
"borderInlineWidth": null,
"borderLimit": null,
"borderStartEndRadius": null,
"borderStartStartRadius": null,
"blockOverflow": null,
"continue": null,
"cornerShape": null,
"corners": null,
"fillBreak": null,
Expand All @@ -86,13 +101,20 @@
"fillRepeat": null,
"fillSize": null,
"hangingPunctuation": null,
"blockOverflow": null,
"continue": null,
"initialLetters": null,
"initialLettersAlign": null,
"initialLettersWrap": null,
"inlineSizing": null,
"inset": null,
"insetBlock": null,
"insetBlockEnd": null,
"insetBlockStart": null,
"insetInline": null,
"insetInlineEnd": null,
"insetInlineStart": null,
"lineClamp": null,
"marginBlock": null,
"marginInline": null,
"maskBorder": null,
"maskBorderMode": null,
"maskBorderOutset": null,
Expand All @@ -106,6 +128,8 @@
"maxLines": null,
"overflowBlock": null,
"overflowInline": null,
"paddingBlock": null,
"paddingInline": null,
"strokeAlign": null,
"strokeBreak": null,
"strokeColor": null,
Expand Down