Skip to content

Commit 53a9a5a

Browse files
authored
Add override attributes to FontFace interface
1 parent de7e973 commit 53a9a5a

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

css-font-loading-3/Overview.bs

+9
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ The <code>FontFace</code> Interface</h2>
8888
CSSOMString featureSettings = "normal";
8989
CSSOMString variationSettings = "normal";
9090
CSSOMString display = "auto";
91+
CSSOMString ascentOverride = "normal";
92+
CSSOMString descentOverride = "normal";
93+
CSSOMString lineGapOverride = "normal";
9194
};
9295

9396
enum FontFaceLoadStatus { "unloaded", "loading", "loaded", "error" };
@@ -105,6 +108,9 @@ The <code>FontFace</code> Interface</h2>
105108
attribute CSSOMString featureSettings;
106109
attribute CSSOMString variationSettings;
107110
attribute CSSOMString display;
111+
attribute CSSOMString ascentOverride;
112+
attribute CSSOMString descentOverride;
113+
attribute CSSOMString lineGapOverride;
108114

109115
readonly attribute FontFaceLoadStatus status;
110116

@@ -144,6 +150,9 @@ The <code>FontFace</code> Interface</h2>
144150
: <dfn>featureSettings</dfn>
145151
: <dfn>variationSettings</dfn>
146152
: <dfn>display</dfn>
153+
: <dfn>ascentOverride</dfn>
154+
: <dfn>descentOverride</dfn>
155+
: <dfn>lineGapOverride</dfn>
147156
::
148157
These attributes have the same meaning,
149158
and are parsed the same as,

0 commit comments

Comments
 (0)