Skip to content

Commit 43da36e

Browse files
saschanazsandersn
authored andcommitted
add CSS Writing Modes types (#693)
1 parent af94662 commit 43da36e

3 files changed

Lines changed: 18 additions & 5 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2684,7 +2684,7 @@ interface CSSStyleDeclaration {
26842684
cssFloat: string | null;
26852685
cssText: string;
26862686
cursor: string;
2687-
direction: string | null;
2687+
direction: string;
26882688
display: string | null;
26892689
dominantBaseline: string | null;
26902690
emptyCells: string | null;
@@ -2720,7 +2720,7 @@ interface CSSStyleDeclaration {
27202720
fontWeight: string;
27212721
gap: string;
27222722
glyphOrientationHorizontal: string | null;
2723-
glyphOrientationVertical: string | null;
2723+
glyphOrientationVertical: string;
27242724
grid: string | null;
27252725
gridArea: string | null;
27262726
gridAutoColumns: string | null;
@@ -2878,7 +2878,7 @@ interface CSSStyleDeclaration {
28782878
textAlign: string | null;
28792879
textAlignLast: string | null;
28802880
textAnchor: string | null;
2881-
textCombineUpright: string | null;
2881+
textCombineUpright: string;
28822882
textDecoration: string;
28832883
textDecorationColor: string;
28842884
textDecorationLine: string;
@@ -2891,6 +2891,7 @@ interface CSSStyleDeclaration {
28912891
textJustify: string | null;
28922892
textKashida: string | null;
28932893
textKashidaSpace: string | null;
2894+
textOrientation: string;
28942895
textOverflow: string;
28952896
textShadow: string;
28962897
textTransform: string | null;
@@ -2907,7 +2908,7 @@ interface CSSStyleDeclaration {
29072908
transitionProperty: string;
29082909
transitionTimingFunction: string;
29092910
translate: string | null;
2910-
unicodeBidi: string | null;
2911+
unicodeBidi: string;
29112912
userSelect: string | null;
29122913
verticalAlign: string | null;
29132914
visibility: string | null;
@@ -3071,7 +3072,7 @@ interface CSSStyleDeclaration {
30713072
wordBreak: string | null;
30723073
wordSpacing: string | null;
30733074
wordWrap: string | null;
3074-
writingMode: string | null;
3075+
writingMode: string;
30753076
zIndex: string | null;
30763077
zoom: string | null;
30773078
getPropertyPriority(propertyName: string): string;
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
partial interface CSSStyleDeclaration {
2+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString direction;
3+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString unicodeBidi;
4+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString writingMode;
5+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textOrientation;
6+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString glyphOrientationVertical;
7+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textCombineUpright;
8+
};

inputfiles/idlSources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@
5252
"url": "https://www.w3.org/TR/css-will-change/",
5353
"title": "CSS Will Change"
5454
},
55+
{
56+
"url": "https://www.w3.org/TR/css-writing-modes-3/",
57+
"title": "CSS Writing Modes"
58+
},
5559
{
5660
"url": "https://w3c.github.io/deviceorientation/",
5761
"title": "DeviceOrientation Event"

0 commit comments

Comments
 (0)