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

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

Issue 1291883002: Use precaching for more data: urls than just images. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Tweak determineRevalidationPolicy ordering Created 5 years, 4 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
« no previous file with comments | « no previous file | Source/core/fetch/FetchContext.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <link rel="alternate stylesheet" title="not-preferred" href="data:text/css,#t {c olor: green}"> 3 <link rel="alternate stylesheet" title="not-preferred" href="resources/green.css ">
4 <div id="t"></div> 4 <div id="t"></div>
5 <script> 5 <script>
6 description("Check that alternate stylesheet load completion did not cause a syn chronous style recalc."); 6 description("Check that alternate stylesheet load completion did not cause a syn chronous style recalc.");
7 7
8 window.onload = function(){ 8 window.onload = function(){
9 shouldNotBe("internals.updateStyleAndReturnAffectedElementCount()", "0"); 9 shouldNotBe("internals.updateStyleAndReturnAffectedElementCount()", "0");
10 shouldBe("getComputedStyle(document.getElementById('t'), null).color", "'rgb (0, 0, 0)'"); 10 shouldBe("getComputedStyle(document.getElementById('t'), null).color", "'rgb (0, 0, 0)'");
11 }; 11 };
12 </script> 12 </script>
OLDNEW
« no previous file with comments | « no previous file | Source/core/fetch/FetchContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698