OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" |
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> |
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > | 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" > |
4 <head> | 4 <head> |
5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
6 | 6 |
7 function moveDiv(dv) { | 7 function moveDiv(dv) { |
8 dv.style.left = '100px'; | 8 dv.style.left = '100px'; |
9 dv.style.top = '100px'; | 9 dv.style.top = '100px'; |
10 } | 10 } |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 } | 42 } |
43 } | 43 } |
44 </script> | 44 </script> |
45 </head> | 45 </head> |
46 <body onload="createAndAppend();"> | 46 <body onload="createAndAppend();"> |
47 <p>This is a test to check if the loading of a stylesheet is properly cancelled
(count of pending style sheets is decremented) when its link tag is changed thro
ugh the DOM after the link tag is appended to the document. When the div with s
tyle is moved, it appears on the screen if the style was loaded properly, and do
esn't appear when there are out-standing stylesheets according to the DocLoader.
See <a href="https://bugs.webkit.org/show_bug.cgi?id=6999">6999</a></p> | 47 <p>This is a test to check if the loading of a stylesheet is properly cancelled
(count of pending style sheets is decremented) when its link tag is changed thro
ugh the DOM after the link tag is appended to the document. When the div with s
tyle is moved, it appears on the screen if the style was loaded properly, and do
esn't appear when there are out-standing stylesheets according to the DocLoader.
See <a href="https://bugs.webkit.org/show_bug.cgi?id=6999">6999</a></p> |
48 <p><span style="color: red; font-weight: bold;">Fails</span> if there <span styl
e="color: red; font-weight: bold;">is no</span> pink box on the screen.</p> | 48 <p><span style="color: red; font-weight: bold;">Fails</span> if there <span styl
e="color: red; font-weight: bold;">is no</span> pink box on the screen.</p> |
49 <p><span style="color: green; font-weight: bold;">Passes</span> if there <span s
tyle="color: green; font-weight: bold;">is</span> a pink box on the screen.</p> | 49 <p><span style="color: green; font-weight: bold;">Passes</span> if there <span s
tyle="color: green; font-weight: bold;">is</span> a pink box on the screen.</p> |
50 </body> | 50 </body> |
51 </html> | 51 </html> |
OLD | NEW |