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

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

Issue 260713005: Use deferred style recalc for non-blocking stylesheets. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « no previous file | LayoutTests/fast/css/link-alternate-style-recalc-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <link rel="alternate stylesheet" title="not-preferred" href="data:text/css,#t {c olor: green}">
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
« no previous file with comments | « no previous file | LayoutTests/fast/css/link-alternate-style-recalc-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698