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

Side by Side Diff: LayoutTests/fast/html/imports/import-link-with-media-query.html

Issue 279463002: HTML Imports: Fix yet another FOUC (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script> 2 <script>
3 if (window.testRunner) { 3 if (window.testRunner) {
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 testRunner.waitUntilDone(); 5 testRunner.waitUntilDone();
6 setTimeout(function() { testRunner.notifyDone(); }, 500); 6 window.addEventListener("load", function() {
esprehn 2014/05/08 19:13:29 onload = function() {
7 if (null == document.querySelector("link").import)
8 console.log("FAIL");
9 requestAnimationFrame(testRunner.notifyDone.bind(testRunner));
10 });
7 } 11 }
8 </script> 12 </script>
9 <link href="resources/import-link-with-media-query.html" rel=import> 13 <link href="resources/import-link-with-media-query.html" rel=import>
10 This test passes if it does not crash under ASAN. 14 This test passes if it does not crash under ASAN.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698