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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/link-alternate-style-recalc.html

Issue 2278803002: Use AnalyzedStyleUpdate for non-blocking sheets. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed blank line. Created 4 years, 3 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
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <link rel="alternate stylesheet" title="not-preferred" href="resources/green.css ">
4 <div id="t"></div>
5 <script>
6 description("Check that alternate stylesheet load completion did not cause a syn chronous style recalc.");
7
8 window.onload = function(){
9 shouldNotBe("internals.updateStyleAndReturnAffectedElementCount()", "0");
10 shouldBe("getComputedStyle(document.getElementById('t'), null).color", "'rgb (0, 0, 0)'");
11 };
12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698