6868</ a > </ p >
6969 < h1 class ="p-name no-ref " id =title > CSS Font Load Events Module Level 3</ h1 >
7070 < h2 class ="no-num no-toc no-ref heading settled heading " id =subtitle > < span class =content > Editor’s Draft,
71- < span class =dt-updated > < span class =value-title title =20130902 > 2 September 2013</ span > </ span > </ span > </ h2 >
71+ < span class =dt-updated > < span class =value-title title =20130903 > 3 September 2013</ span > </ span > </ span > </ h2 >
7272 < 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 >
7373< dt > Feedback:</ dt >
7474 < dd > < a href ="mailto:www-style@w3.org?subject=%5Bcss-font-load-events%5D%20feedback "> www-style@w3.org</ a >
@@ -420,6 +420,9 @@ <h5 class="heading settled heading" data-level=2.2.2.1 id=loadfont-method><span
420420 If the < var > font load list</ var > contains no font faces,
421421 reject the promise with XXX.
422422
423+ < p class =issue id =issue-a2eabc2d > < a class =self-link href =#issue-a2eabc2d > </ a >
424+ DOMError? Need to chat with Anne and others about idiomatic way to do errors.
425+
423426 < li >
424427 For all of the font faces in the < var > font load list</ var > , initiate the load of any font that has
425428 not already been loaded and return.
@@ -428,11 +431,16 @@ <h5 class="heading settled heading" data-level=2.2.2.1 id=loadfont-method><span
428431 When all fonts in the < var > font load list</ var > have been loaded,
429432 resolve the promise appropriately.
430433 If all fonts loaded successfully,
431- accept the promise with XXX.
434+ fulfill the promise with XXX.
432435
433436 < p >
434437 If an error occurred with any one of the fonts in the < var > font load list</ var > ,
435438 reject the promise with XXX.
439+
440+ < p class =issue id =issue-290a86ee > < a class =self-link href =#issue-290a86ee > </ a >
441+ When I define Font objects, and give them load() and ready() methods,
442+ I want to define this as simply adopting a Promise.every() of all the font ready promises.
443+ The fulfill/reject values then come out automatically.
436444 </ ol >
437445
438446< h5 class ="heading settled heading " data-level =2.2.2.2 id =checkfont-method > < span class =secno > 2.2.2.2 </ span > < span class =content >
@@ -487,7 +495,7 @@ <h5 class="heading settled heading" data-level=2.2.2.3 id=ready-method><span cla
487495 before examining content which may be affected by loading fonts.
488496
489497< p > Let < var > font loader</ var > be the value of the < a class =idl-code data-link-type =attribute href =#dom-document-fontloader > fontloader</ a > attribute of < var > doc</ var > .
490- The < var > font loader</ var > contains a < dfn data-dfn-type =dfn data-export ="" id =font-readiness-promise > font readiness promise< a class =self-link href =#font-readiness-promise > </ a > </ dfn > ,
498+ The < var > font loader</ var > contains an internal < dfn data-dfn-type =dfn data-export ="" id =font-readiness-promise > font readiness promise< a class =self-link href =#font-readiness-promise > </ a > </ dfn > ,
491499 which is initially set to a fresh pending Promise.
492500 If, after the document has finished loading and completed its initial layout,
493501 no fonts need to be loaded,
@@ -801,4 +809,11 @@ <h2 class="no-num heading settled" id=issues-index><span class=content>Issues In
801809 I’m just sketching the promise terminology here.
802810 Need to fill it in with the real stuff.
803811
804- < a href =#issue-e86f85cf > ↵ </ a > </ div >
812+ < a href =#issue-e86f85cf > ↵ </ a > < p class =issue >
813+ DOMError? Need to chat with Anne and others about idiomatic way to do errors.
814+
815+ < a href =#issue-a2eabc2d > ↵ </ a > < p class =issue >
816+ When I define Font objects, and give them load() and ready() methods,
817+ I want to define this as simply adopting a Promise.every() of all the font ready promises.
818+ The fulfill/reject values then come out automatically.
819+ < a href =#issue-290a86ee > ↵ </ a > </ div >
0 commit comments