Skip to content

Commit e4cdd12

Browse files
committed
[css-font-loading] Make the initial ready promise on FontFaceSet already fulfilled, for consistency.
--HG-- extra : rebase_source : c302d068140f66d76bc3d61d63bc107c0467267e
1 parent 6fba4ef commit e4cdd12

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

css-font-loading/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ The <code>FontFaceSet</code> Interface</h2>
471471
and <dfn attribute for=FontFaceSet>[<!---->[FailedFonts]]</dfn> slots,
472472
all of which are initialized to the empty list,
473473
a <dfn attribute for=FontFaceSet>[<!---->[ReadyPromise]]</dfn> slot,
474-
which is initialized to a fresh pending <a idl>Promise</a>,
474+
which is initialized to a fresh <a idl>Promise</a> fulfilled with the <a idl>FontFaceSet</a>,
475475
and a <dfn attribute for=FontFaceSet>[<!---->[ContainedFonts]]</dfn> slot,
476476
which is initialized by the <a constructor title="FontFaceSet()">FontFaceSet constructor</a> to a <a interface>Set</a> object
477477
(though see <a section href="#document-font-face-set"></a> for information on how the Set may be pre-filled

css-font-loading/Overview.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
</p>
5555
<h1 class="p-name no-ref" id=title>CSS Font Loading Module Level 3</h1>
5656
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
57-
<span class=dt-updated><span class=value-title title=20140630>30 June 2014</span></span></span></h2>
57+
<span class=dt-updated><span class=value-title title=20140703>3 July 2014</span></span></span></h2>
5858
<div data-fill-with=spec-metadata><dl>
5959
<dt>This version:
6060
<dd><a class=u-url href=http://dev.w3.org/csswg/css-font-loading/>http://dev.w3.org/csswg/css-font-loading/</a>
@@ -582,7 +582,7 @@ <h2 class="heading settled heading" data-level=3 id=FontFaceSet-interface><span
582582
and <dfn class=idl-code data-dfn-for=FontFaceSet data-dfn-type=attribute data-export="" id=dom-fontfaceset-failedfonts>[[FailedFonts]]<a class=self-link href=#dom-fontfaceset-failedfonts></a></dfn> slots,
583583
all of which are initialized to the empty list,
584584
a <dfn class=idl-code data-dfn-for=FontFaceSet data-dfn-type=attribute data-export="" id=dom-fontfaceset-readypromise>[[ReadyPromise]]<a class=self-link href=#dom-fontfaceset-readypromise></a></dfn> slot,
585-
which is initialized to a fresh pending <a data-link-type=idl href=#dom-promise title=promise>Promise</a>,
585+
which is initialized to a fresh <a data-link-type=idl href=#dom-promise title=promise>Promise</a> fulfilled with the <a data-link-type=idl href=#dom-fontfaceset title=fontfaceset>FontFaceSet</a>,
586586
and a <dfn class=idl-code data-dfn-for=FontFaceSet data-dfn-type=attribute data-export="" id=dom-fontfaceset-containedfonts>[[ContainedFonts]]<a class=self-link href=#dom-fontfaceset-containedfonts></a></dfn> slot,
587587
which is initialized by the <a class=idl-code data-link-type=constructor href=#dom-fontfaceset-fontfaceset title=fontfaceset()>FontFaceSet constructor</a> to a <a class=idl-code data-link-type=interface title=set>Set</a> object
588588
(though see <a data-section="" href=#document-font-face-set>§4.2

0 commit comments

Comments
 (0)