From 54fde17e00ce507069c32ccdb6b207000f71fb10 Mon Sep 17 00:00:00 2001 From: autokagami Date: Mon, 30 Sep 2019 19:09:25 +0900 Subject: [PATCH] [font-metrics-api] Align with Web IDL specification --- font-metrics-api/Overview.bs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/font-metrics-api/Overview.bs b/font-metrics-api/Overview.bs index 34cd49b8..4c607ddd 100644 --- a/font-metrics-api/Overview.bs +++ b/font-metrics-api/Overview.bs @@ -55,6 +55,7 @@ those that are passed in as a part of the styleMap. Document styles do not apply ----------------------------
+[Exposed=Window]
 interface FontMetrics {
   readonly attribute double width;
   readonly attribute FrozenArray<double> advances;
@@ -166,6 +167,7 @@ List of all {{Baseline}}s for the given text.
 ----------------------------
 
 
+[Exposed=Window]
 interface Baseline {
   readonly attribute DOMString name;
   readonly attribute double value;
@@ -188,6 +190,7 @@ Positive numbers indicating a distance going down from the
 ----------------------------
 
 
+[Exposed=Window]
 interface Font {
   readonly attribute DOMString name;
   readonly attribute unsigned long glyphsRendered;