Skip to content

Commit ebf441f

Browse files
committed
[css-font-load-events] Add to the local fonts issue.
1 parent b929275 commit ebf441f

2 files changed

Lines changed: 29 additions & 13 deletions

File tree

css-font-load-events/Overview.html

Lines changed: 25 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
</a></p>
7878
<h1 class="p-name no-ref" id=title>CSS Font Load Events Module Level 3</h1>
7979
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
80-
<span class=dt-updated><span class=value-title title=20130917>17 September 2013</span></span></span></h2>
80+
<span class=dt-updated><span class=value-title title=20130930>30 September 2013</span></span></span></h2>
8181
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-font-load-events/>http://dev.w3.org/csswg/css-font-load-events/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-font-load-events-3/>http://www.w3.org/TR/css-font-load-events-3/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-font-load-events/>http://dev.w3.org/csswg/css-font-load-events/</a>
8282
<dt>Feedback:</dt>
8383
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-font-load-events%5D%20feedback">www-style@w3.org</a>
@@ -178,12 +178,12 @@ <h2 class="heading settled heading" data-level=2 id=fontface-interface><span cla
178178
<pre class=idl>typedef (<a data-link-type=idl title=arraybuffer>ArrayBuffer</a> or <a data-link-type=idl title=arraybufferview>ArrayBufferView</a>) <dfn class=idl-code data-dfn-type=typedef data-export="" id=typedefdef-binarydata title=BinaryData>BinaryData<a class=self-link href=#typedefdef-binarydata></a></dfn>;
179179

180180
dictionary <dfn class=idl-code data-dfn-type=dictionary data-export="" id=dictdef-fontfacedescriptors title=FontFaceDescriptors>FontFaceDescriptors<a class=self-link href=#dictdef-fontfacedescriptors></a></dfn> {
181-
DOMString style = "normal";
182-
DOMString weight = "normal";
183-
DOMString stretch = "normal";
184-
DOMString unicodeRange = "U+0-10FFFF";
185-
DOMString variant = "normal";
186-
DOMString featureSettings = "normal";
181+
DOMString <dfn class=idl-code data-dfn-for=FontFaceDescriptors data-dfn-type=dict-member data-export="" id=dom-fontfacedescriptors-style title=style>style<a class=self-link href=#dom-fontfacedescriptors-style></a></dfn> = "normal";
182+
DOMString <dfn class=idl-code data-dfn-for=FontFaceDescriptors data-dfn-type=dict-member data-export="" id=dom-fontfacedescriptors-weight title=weight>weight<a class=self-link href=#dom-fontfacedescriptors-weight></a></dfn> = "normal";
183+
DOMString <dfn class=idl-code data-dfn-for=FontFaceDescriptors data-dfn-type=dict-member data-export="" id=dom-fontfacedescriptors-stretch title=stretch>stretch<a class=self-link href=#dom-fontfacedescriptors-stretch></a></dfn> = "normal";
184+
DOMString <dfn class=idl-code data-dfn-for=FontFaceDescriptors data-dfn-type=dict-member data-export="" id=dom-fontfacedescriptors-unicoderange title=unicodeRange>unicodeRange<a class=self-link href=#dom-fontfacedescriptors-unicoderange></a></dfn> = "U+0-10FFFF";
185+
DOMString <dfn class=idl-code data-dfn-for=FontFaceDescriptors data-dfn-type=dict-member data-export="" id=dom-fontfacedescriptors-variant title=variant>variant<a class=self-link href=#dom-fontfacedescriptors-variant></a></dfn> = "normal";
186+
DOMString <dfn class=idl-code data-dfn-for=FontFaceDescriptors data-dfn-type=dict-member data-export="" id=dom-fontfacedescriptors-featuresettings title=featureSettings>featureSettings<a class=self-link href=#dom-fontfacedescriptors-featuresettings></a></dfn> = "normal";
187187
};
188188

189189
enum <dfn class=idl-code data-dfn-type=enum data-export="" id=enumdef-fontfaceloadstatus title=FontFaceLoadStatus>FontFaceLoadStatus<a class=self-link href=#enumdef-fontfaceloadstatus></a></dfn> { "unloaded", "loading", "loaded", "error" };
@@ -416,7 +416,7 @@ <h2 class="heading settled heading" data-level=3 id=FontFaceSet-interface><span
416416
The <code>FontFaceSet</code> Interface</span><a class=self-link href=#FontFaceSet-interface></a></h2>
417417

418418
<pre class=idl>dictionary <dfn class=idl-code data-dfn-type=dictionary data-export="" id=dictdef-cssfontfaceloadeventinit title=CSSFontFaceLoadEventInit>CSSFontFaceLoadEventInit<a class=self-link href=#dictdef-cssfontfaceloadeventinit></a></dfn> : <a data-link-type=idl title=eventinit>EventInit</a> {
419-
sequence&lt;<a data-link-type=idl title=cssfontfacerule>CSSFontFaceRule</a>&gt; fontfaces = null;
419+
sequence&lt;<a data-link-type=idl title=cssfontfacerule>CSSFontFaceRule</a>&gt; <dfn class=idl-code data-dfn-for=CSSFontFaceLoadEventInit data-dfn-type=dict-member data-export="" id=dom-cssfontfaceloadeventinit-fontfaces title=fontfaces>fontfaces<a class=self-link href=#dom-cssfontfaceloadeventinit-fontfaces></a></dfn> = null;
420420
};
421421

422422
[Constructor(DOMString <dfn class=idl-code data-dfn-for=CSSFontFaceLoadEvent/CSSFontFaceLoadEvent() data-dfn-type=argument data-export="" id=dom-cssfontfaceloadeventcssfontfaceloadevent-type title=type>type<a class=self-link href=#dom-cssfontfaceloadeventcssfontfaceloadevent-type></a></dfn>, optional <a data-link-type=idl href=#dictdef-cssfontfaceloadeventinit title=cssfontfaceloadeventinit>CSSFontFaceLoadEventInit</a> <dfn class=idl-code data-dfn-for=CSSFontFaceLoadEvent/CSSFontFaceLoadEvent() data-dfn-type=argument data-export="" id=dom-cssfontfaceloadeventcssfontfaceloadevent-eventinitdict title=eventInitDict>eventInitDict<a class=self-link href=#dom-cssfontfaceloadeventcssfontfaceloadevent-eventinitdict></a></dfn>)]
@@ -837,10 +837,13 @@ <h3 class="heading settled heading" data-level=4.1 id=document-font-face-set><sp
837837
<p> All non-<a data-link-type=dfn href=#css-connected title=css-connected>CSS-connected</a> <a class=idl-code data-link-type=interface href=#dom-fontface title=fontface>FontFace</a> objects must be sorted after the <a data-link-type=dfn href=#css-connected title=css-connected>CSS-connected</a> ones,
838838
in insertion order.
839839

840-
<p class=issue id=issue-28c4f329><a class=self-link href=#issue-28c4f329></a>
840+
<p class=issue id=issue-86d79dbc><a class=self-link href=#issue-86d79dbc></a>
841841
Can/should we include the local system fonts,
842842
or is that a fingerprinting problem?
843-
I think the set of local fonts is trivially discoverable anyway
843+
I think the set of local fonts is trivially discoverable anyway.
844+
Alternately, define a specialized variant of FontFace which represents all the local fonts collectively,
845+
and perhaps can be queried against?
846+
This would make FontFaceSet fully explain the current behavior of fonts.
844847

845848
<h2 class="heading settled heading" data-level=5 id=font-load-event-examples><span class=secno>5 </span><span class=content>
846849
API Examples</span><a class=self-link href=#font-load-event-examples></a></h2>
@@ -1087,6 +1090,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
10871090
<li>[[FailedFonts]], <a href=#dom-fontfaceset-failedfonts title="section 3">3</a>
10881091
<li>family, <a href=#dom-fontface-family title="section 2">2</a>
10891092
<li>family, <a href=#dom-fontfacefontface-fontface-family title="section 2.1">2.1</a>
1093+
<li>featureSettings, <a href=#dom-fontfacedescriptors-featuresettings title="section 2">2</a>
10901094
<li>featureSettings, <a href=#dom-fontface-featuresettings title="section 2">2</a>
10911095
<li>fire a font load event, <a href=#fire-a-font-load-event title="section 3.2">3.2</a>
10921096
<li>font, <a href=#dom-fontfacesetmatch-match-font title="section 3.3">3.3</a>
@@ -1096,6 +1100,7 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
10961100
<li>FontFace(), <a href=#dom-fontface-fontface title="section 2.1">2.1</a>
10971101
<li>FontFaceDescriptors, <a href=#dictdef-fontfacedescriptors title="section 2">2</a>
10981102
<li>FontFaceLoadStatus, <a href=#enumdef-fontfaceloadstatus title="section 2">2</a>
1103+
<li>fontfaces, <a href=#dom-cssfontfaceloadeventinit-fontfaces title="section 3">3</a>
10991104
<li>fontfaces, <a href=#dom-cssfontfaceloadevent-fontfaces title="section 3">3</a>
11001105
<li>FontFaceSet, <a href=#dom-fontfaceset title="section 3">3</a>
11011106
<li>FontFaceSetLoadStatus, <a href=#enumdef-fontfacesetloadstatus title="section 3">3</a>
@@ -1123,15 +1128,20 @@ <h2 class="no-num no-ref heading settled heading" id=index><span class=content>
11231128
<li>source, <a href=#dom-fontfacefontface-fontface-source title="section 2.1">2.1</a>
11241129
<li>status, <a href=#dom-fontface-status title="section 2">2</a>
11251130
<li>status, <a href=#dom-fontfaceset-status title="section 3">3</a>
1131+
<li>stretch, <a href=#dom-fontfacedescriptors-stretch title="section 2">2</a>
11261132
<li>stretch, <a href=#dom-fontface-stretch title="section 2">2</a>
1133+
<li>style, <a href=#dom-fontfacedescriptors-style title="section 2">2</a>
11271134
<li>style, <a href=#dom-fontface-style title="section 2">2</a>
11281135
<li>text, <a href=#dom-fontfacesetmatch-match-text title="section 3.3">3.3</a>
11291136
<li>text, <a href=#dom-fontfacesetload-load-text title="section 3.4">3.4</a>
11301137
<li>text, <a href=#dom-fontfacesetcheck-check-text title="section 3.5">3.5</a>
11311138
<li>type, <a href=#dom-cssfontfaceloadeventcssfontfaceloadevent-type title="section 3">3</a>
1139+
<li>unicodeRange, <a href=#dom-fontfacedescriptors-unicoderange title="section 2">2</a>
11321140
<li>unicodeRange, <a href=#dom-fontface-unicoderange title="section 2">2</a>
11331141
<li>[[Urls]], <a href=#dom-fontface-urls title="section 2">2</a>
1142+
<li>variant, <a href=#dom-fontfacedescriptors-variant title="section 2">2</a>
11341143
<li>variant, <a href=#dom-fontface-variant title="section 2">2</a>
1144+
<li>weight, <a href=#dom-fontfacedescriptors-weight title="section 2">2</a>
11351145
<li>weight, <a href=#dom-fontface-weight title="section 2">2</a>
11361146
</ul></div>
11371147

@@ -1150,6 +1160,9 @@ <h2 class="no-num no-ref heading settled heading" id=property-index><span class=
11501160
<a href=#issue-30993915></a><p class=issue>
11511161
Can/should we include the local system fonts,
11521162
or is that a fingerprinting problem?
1153-
I think the set of local fonts is trivially discoverable anyway
1163+
I think the set of local fonts is trivially discoverable anyway.
1164+
Alternately, define a specialized variant of FontFace which represents all the local fonts collectively,
1165+
and perhaps can be queried against?
1166+
This would make FontFaceSet fully explain the current behavior of fonts.
11541167

1155-
<a href=#issue-28c4f329></a></div>
1168+
<a href=#issue-86d79dbc></a></div>

css-font-load-events/Overview.src.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,10 @@ <h3 id="document-font-face-set">
762762
<p class='issue'>
763763
Can/should we include the local system fonts,
764764
or is that a fingerprinting problem?
765-
I think the set of local fonts is trivially discoverable anyway
765+
I think the set of local fonts is trivially discoverable anyway.
766+
Alternately, define a specialized variant of FontFace which represents all the local fonts collectively,
767+
and perhaps can be queried against?
768+
This would make FontFaceSet fully explain the current behavior of fonts.
766769

767770
<h2 id="font-load-event-examples">
768771
API Examples</h2>

0 commit comments

Comments
 (0)