From 03825560335feb7380b8298a2aeacb006b790936 Mon Sep 17 00:00:00 2001 From: Kagami Sascha Rosylight Date: Wed, 12 Jun 2019 22:22:44 +0900 Subject: [PATCH] add CSS Fragmentation types --- baselines/dom.generated.d.ts | 10 +++++----- inputfiles/idl/CSS Fragmentation.widl | 8 ++++++++ inputfiles/idlSources.json | 4 ++++ inputfiles/removedTypes.json | 5 +++-- 4 files changed, 20 insertions(+), 7 deletions(-) create mode 100644 inputfiles/idl/CSS Fragmentation.widl diff --git a/baselines/dom.generated.d.ts b/baselines/dom.generated.d.ts index 723c5458c..371126ee3 100644 --- a/baselines/dom.generated.d.ts +++ b/baselines/dom.generated.d.ts @@ -2789,9 +2789,9 @@ interface CSSStyleDeclaration { bottom: string | null; boxShadow: string; boxSizing: string; - breakAfter: string | null; - breakBefore: string | null; - breakInside: string | null; + breakAfter: string; + breakBefore: string; + breakInside: string; captionSide: string | null; caretColor: string; clear: string | null; @@ -2966,7 +2966,7 @@ interface CSSStyleDeclaration { objectPosition: string; opacity: string | null; order: string; - orphans: string | null; + orphans: string; outline: string; outlineColor: string; outlineOffset: string; @@ -3208,7 +3208,7 @@ interface CSSStyleDeclaration { webkitUserSelect: string | null; webkitWritingMode: string | null; whiteSpace: string; - widows: string | null; + widows: string; width: string | null; willChange: string; wordBreak: string; diff --git a/inputfiles/idl/CSS Fragmentation.widl b/inputfiles/idl/CSS Fragmentation.widl new file mode 100644 index 000000000..3a2d43821 --- /dev/null +++ b/inputfiles/idl/CSS Fragmentation.widl @@ -0,0 +1,8 @@ +partial interface CSSStyleDeclaration { + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString breakBefore; + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString breakAfter; + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString breakInside; + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString orphans; + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString widows; + [CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString boxDecorationBreak; +}; diff --git a/inputfiles/idlSources.json b/inputfiles/idlSources.json index 5e8326d4e..63cd88ba2 100644 --- a/inputfiles/idlSources.json +++ b/inputfiles/idlSources.json @@ -40,6 +40,10 @@ "url": "https://www.w3.org/TR/css-fonts-3/", "title": "CSS Fonts" }, + { + "url": "https://www.w3.org/TR/css-break-3/", + "title": "CSS Fragmentation" + }, { "url": "https://www.w3.org/TR/css-grid-1/", "title": "CSS Grid Layout" diff --git a/inputfiles/removedTypes.json b/inputfiles/removedTypes.json index b4d866d93..3109143f9 100644 --- a/inputfiles/removedTypes.json +++ b/inputfiles/removedTypes.json @@ -70,17 +70,18 @@ "property": { "backgroundPositionBlock": null, "backgroundPositionInline": null, + "blockOverflow": null, "borderClip": null, "borderClipBottom": null, "borderClipLeft": null, "borderClipRight": null, "borderClipTop": null, "borderLimit": null, + "boxDecorationBreak": null, + "continue": null, "cornerShape": null, "corners": null, "hangingPunctuation": null, - "blockOverflow": null, - "continue": null, "lineClamp": null, "maskBorder": null, "maskBorderMode": null,