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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/font-face-load.html

Issue 1372823002: No need to recalc style before StyleResolver::computeFont. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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 | third_party/WebKit/LayoutTests/fast/css/invalidation/font-face-load-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 <style>
4 .x { color: green }
5 </style>
6 <div id="x">
7 <div></div>
8 <div></div>
9 <div></div>
10 <div></div>
11 </div>
12 <script>
13 description("Check that FontFaceSet.load() does not trigger a style recalc") ;
14
15 x.offsetTop;
16 x.className = "x";
17 document.fonts.load("40px dummy");
18
19 if (window.internals)
20 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "5");
21
22 shouldBeEqualToString("getComputedStyle(x).color", "rgb(0, 128, 0)");
23 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/css/invalidation/font-face-load-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698