File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -989,8 +989,25 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {
989989
990990  <ol>
991991
992-    <li><p>If the element's <span>node document</span> is not the <span>active document</span>,
993-    abort these steps.</p></li>
992+    <li>
993+ 
994+     <p>If the element's <span>node document</span> is not the <span>active document</span>,
995+     then run these substeps:</p>
996+ 
997+     <ol>
998+ 
999+      <li><p>Continue running this algorithm <span>in parallel</span>.</p></li>
1000+ 
1001+      <li><p>Wait until the element's <span>node document</span> is the <span>active document</span>.</p></li>
1002+ 
1003+      <li><p>If another instance of this algorithm for this <code>img</code> element was started after this instance
1004+      (even if it aborted and is no longer running), then abort these steps.</p></li>
1005+ 
1006+      <li><p><span>Queue a microtask</span> to continue this algorithm.</p></li>
1007+ 
1008+     </ol>
1009+ 
1010+    </li>
9941011
9951012   <li><p>If the user agent cannot support images, or its support for images has been disabled, then
9961013   <span>abort the image request</span> for the <span>current request</span> and the <span>pending request</span>,
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments