Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onload.html

Issue 1772853002: Block the HTML parser on external stylesheets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Simplified parser blocking logic Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/link-load-utilities.js"></script> 4 <script src="resources/link-load-utilities.js"></script>
5 <link rel="stylesheet" href="resources/stylesheet.css" onload="testPassedAndNoti fyDone('Fired Load event.')" onerror="testFailedAndNotifyDone('Fired Error event . Should have fired Load event.')">
6 </head> 5 </head>
7 <body> 6 <body>
8 <p>This tests that a Load event is fired at an HTML Link element once it loads a style sheet. This test PASSED if you see the word PASS below. Otherwise, it FAI LED.</p> 7 <p>This tests that a Load event is fired at an HTML Link element once it loads a style sheet. This test PASSED if you see the word PASS below. Otherwise, it FAI LED.</p>
9 <pre id="console"></pre> 8 <pre id="console"></pre>
9 <link rel="stylesheet" href="resources/stylesheet.css" onload="testPassedAndNoti fyDone('Fired Load event.')" onerror="testFailedAndNotifyDone('Fired Error event . Should have fired Load event.')">
10 </body> 10 </body>
11 </html> 11 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698