Skip to content

Commit 32e82cf

Browse files
committed
[css-font-loading] Ugh, uglify up my method definitions because Hixie won't budge on nested <dfn>s being invalid.
1 parent 21b4471 commit 32e82cf

2 files changed

Lines changed: 24 additions & 24 deletions

File tree

css-font-loading/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ The Constructor</h3>
131131
from a URL pointing to a font face file,
132132
or from an ArrayBuffer (or ArrayBufferView) containing the binary representation of a font face.
133133

134-
When the <dfn method title='FontFace()' link-type=idl for=FontFace>FontFace(DOMString <dfn argument>family</dfn>, (DOMString or <a>BinaryData</a>) <dfn argument>source</dfn>, <a>FontFaceDescriptors</a> <dfn argument>descriptors</dfn>)</dfn> method is called,
134+
When the <dfn method title='FontFace()' for=FontFace>FontFace</dfn>(DOMString <dfn argument for="FontFace/FontFace()">family</dfn>, (DOMString or <a idl>BinaryData</a>) <dfn argument for="FontFace/FontFace()">source</dfn>, <a idl>FontFaceDescriptors</a> <dfn argument for="FontFace/FontFace()">descriptors</dfn>) method is called,
135135
execute these steps:
136136

137137
<ol link-type=idl>
@@ -561,7 +561,7 @@ The <code>load()</code> method</h3>
561561
which is fulfilled when all of the fonts are loaded and ready to be used,
562562
or rejected if any font failed to load properly.
563563

564-
When the <dfn method for="FontFaceSet">load(<dfn argument>font</dfn>, <dfn argument>text</dfn>)</dfn> method is called,
564+
When the <dfn method for="FontFaceSet" title="load()">load</dfn>(<dfn argument for="FontFaceSet/load()">font</dfn>, <dfn argument for="FontFaceSet/load()">text</dfn>) method is called,
565565
execute these steps:
566566

567567
<ol>
@@ -599,7 +599,7 @@ The <code>check()</code> method</h3>
599599
it returns true;
600600
otherwise, it returns false.
601601

602-
When the <dfn method for="FontFaceSet">check(<dfn argument>font</dfn>, <dfn argument>text</dfn>)</dfn> method is called,
602+
When the <dfn method for="FontFaceSet" title="check()">check</dfn>(<dfn argument for="FontFaceSet/check()">font</dfn>, <dfn argument for="FontFaceSet/check()">text</dfn>) method is called,
603603
execute these steps:
604604

605605
<ol>

0 commit comments

Comments
 (0)