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

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html
diff --git a/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html b/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html
index ec4892f6dd6ebe044b5f133e42743946a7fca7fd..13a1df14135307d4c9b0a894e8469abc8dfdd5bd 100644
--- a/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html
+++ b/third_party/WebKit/LayoutTests/fast/dom/HTMLLinkElement/link-onload-stylesheet-with-import.html
@@ -10,11 +10,11 @@ function checkResult()
testFinished();
}
</script>
-<link rel="stylesheet" href="resources/stylesheet-with-import.css" onload="checkResult()" onerror="testFailed('Fired Error event. Should have fired Load event.')">
</head>
<body>
<p>This tests that a Load event is fired at an HTML Link element once all @import'ed stylesheets are loaded by a style sheet. This test PASSED if there are only PASS messages below. Otherwise, it FAILED.</p>
<h1 id="test"><!-- Test element --></h1>
<pre id="console"></pre>
+<link rel="stylesheet" href="resources/stylesheet-with-import.css" onload="checkResult()" onerror="testFailed('Fired Error event. Should have fired Load event.')">
</body>
</html>

Powered by Google App Engine
This is Rietveld 408576698