Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
spec:async-algos [2014/05/28 12:24] – [Making Author-Observable Changes to Page State] tabatkinsspec:async-algos [2014/05/28 12:25] – [Writing the Algo] tabatkins
Line 25: Line 25:
  
 > 6. Otherwise, font face now represents the loaded font; fulfill font face’s %%[[FontStatusPromise]] with font face and set font face’s status attribute to "loaded".%% > 6. Otherwise, font face now represents the loaded font; fulfill font face’s %%[[FontStatusPromise]] with font face and set font face’s status attribute to "loaded".%%
 +
 +**Important Note: The above code is slightly broken for simplicity.  See the "Making Author-Observable Changes to Page State" for a fully correct version of this algorithm.**
  
 Note how Step 3 is clearly the last synchronous step.  If possible, use that exact wording: "return XXX, and continue executing the rest of this algorithm asynchronously". Note how Step 3 is clearly the last synchronous step.  If possible, use that exact wording: "return XXX, and continue executing the rest of this algorithm asynchronously".
 
spec/async-algos.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki