Skip to content

Commit cda8472

Browse files
committed
[css-font-loading] Added issues about API naming brought up by Hixie.
1 parent 0447efc commit cda8472

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

css-font-loading/Overview.bs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ The <code>FontFace</code> Interface</h2>
105105
};
106106
</pre>
107107

108+
Issue: Other APIs use other names for .loaded, like .readyState. Can we align?
109+
110+
Issue: "unloaded" is usually used for things that start loaded and then become not loaded.
111+
Can we rename that value?
112+
Media stuff uses "none", other APIs use "empty", "idle", "nothing".
113+
108114
<dl dfn-type=attribute dfn-for=FontFace>
109115
<dt><dfn>family</dfn>, <span attribute-info for=family></span>
110116
<dt><dfn>style</dfn>, <span attribute-info for=style></span>

css-font-loading/Overview.html

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,12 @@ <h2 class="heading settled heading" data-level=2 id=fontface-interface><span cla
235235
};
236236
</pre>
237237

238+
<p class=issue id=issue-4c5be6c8><a class=self-link href=#issue-4c5be6c8></a>Other APIs use other names for .loaded, like .readyState. Can we align?</p>
239+
240+
<p class=issue id=issue-2602b7ed><a class=self-link href=#issue-2602b7ed></a>"unloaded" is usually used for things that start loaded and then become not loaded.
241+
Can we rename that value?
242+
Media stuff uses "none", other APIs use "empty", "idle", "nothing".</p>
243+
238244
<dl data-dfn-for=FontFace data-dfn-type=attribute>
239245
<dt><dfn class=idl-code data-dfn-for=FontFace data-dfn-type=attribute data-export="" id=dom-fontface-family>family<a class=self-link href=#dom-fontface-family></a></dfn>, <span data-attribute-info="" for=family> of type <a data-link-type=idl-name title=DOMString>DOMString</a></span>
240246
<dt><dfn class=idl-code data-dfn-for=FontFace data-dfn-type=attribute data-export="" id=dom-fontface-style>style<a class=self-link href=#dom-fontface-style></a></dfn>, <span data-attribute-info="" for=style> of type <a data-link-type=idl-name title=DOMString>DOMString</a></span>
@@ -1352,7 +1358,9 @@ <h2 class="no-num heading settled" id=issues-index><span class=content>Issues In
13521358
(and their prototype chains) are pristine,
13531359
unaffected by anything the author has done.
13541360
Is this a good intention?
1355-
If so, how should I indicate this in the spec?<a href=#issue-531209c4></a></div><div class=issue>Need to define the base url,
1361+
If so, how should I indicate this in the spec?<a href=#issue-531209c4></a></div><div class=issue>Other APIs use other names for .loaded, like .readyState. Can we align?<a href=#issue-4c5be6c8></a></div><div class=issue>"unloaded" is usually used for things that start loaded and then become not loaded.
1362+
Can we rename that value?
1363+
Media stuff uses "none", other APIs use "empty", "idle", "nothing".<a href=#issue-2602b7ed></a></div><div class=issue>Need to define the base url,
13561364
so relative urls can resolve.
13571365
Should it be the url of the document?
13581366
Is that correct for workers too,

0 commit comments

Comments
 (0)