Skip to content

Commit f7fdf4c

Browse files
authored
[font-metrics-api] Align with Web IDL specification (#962)
1 parent b170244 commit f7fdf4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

font-metrics-api/Overview.bs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ those that are passed in as a part of the styleMap. Document styles do not apply
5555
----------------------------
5656

5757
<pre class='idl'>
58+
[Exposed=Window]
5859
interface FontMetrics {
5960
readonly attribute double width;
6061
readonly attribute FrozenArray&lt;double> advances;
@@ -166,6 +167,7 @@ List of all {{Baseline}}s for the given text.
166167
----------------------------
167168

168169
<pre class='idl'>
170+
[Exposed=Window]
169171
interface Baseline {
170172
readonly attribute DOMString name;
171173
readonly attribute double value;
@@ -188,6 +190,7 @@ Positive numbers indicating a distance going down from the
188190
----------------------------
189191

190192
<pre class='idl'>
193+
[Exposed=Window]
191194
interface Font {
192195
readonly attribute DOMString name;
193196
readonly attribute unsigned long glyphsRendered;

0 commit comments

Comments
 (0)