Skip to content

Commit af94662

Browse files
saschanazsandersn
authored andcommitted
add CSS Text Decoration types (#692)
1 parent 6a58a0e commit af94662

3 files changed

Lines changed: 26 additions & 3 deletions

File tree

baselines/dom.generated.d.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2879,15 +2879,22 @@ interface CSSStyleDeclaration {
28792879
textAlignLast: string | null;
28802880
textAnchor: string | null;
28812881
textCombineUpright: string | null;
2882-
textDecoration: string | null;
2882+
textDecoration: string;
2883+
textDecorationColor: string;
2884+
textDecorationLine: string;
2885+
textDecorationStyle: string;
2886+
textEmphasis: string;
2887+
textEmphasisColor: string;
2888+
textEmphasisPosition: string;
2889+
textEmphasisStyle: string;
28832890
textIndent: string | null;
28842891
textJustify: string | null;
28852892
textKashida: string | null;
28862893
textKashidaSpace: string | null;
28872894
textOverflow: string;
2888-
textShadow: string | null;
2895+
textShadow: string;
28892896
textTransform: string | null;
2890-
textUnderlinePosition: string | null;
2897+
textUnderlinePosition: string;
28912898
top: string | null;
28922899
touchAction: string;
28932900
transform: string;
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
partial interface CSSStyleDeclaration {
2+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textDecorationLine;
3+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textDecorationStyle;
4+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textDecorationColor;
5+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textDecoration;
6+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textUnderlinePosition;
7+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textEmphasisStyle;
8+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textEmphasisColor;
9+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textEmphasis;
10+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textEmphasisPosition;
11+
[CEReactions] attribute [TreatNullAs=EmptyString] CSSOMString textShadow;
12+
};

inputfiles/idlSources.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@
3636
"url": "https://drafts.csswg.org/cssom-view/",
3737
"title": "CSSOM View"
3838
},
39+
{
40+
"url": "https://www.w3.org/TR/css-text-decor-3/",
41+
"title": "CSS Text Decoration"
42+
},
3943
{
4044
"url": "https://www.w3.org/TR/css-transitions-1/",
4145
"title": "CSS Transitions"

0 commit comments

Comments
 (0)