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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/font-feature-settings.html

Issue 1887613002: Compare font-feature-settings as part of Font::operator==(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 <style>
4 #x {
5 -webkit-font-feature-settings: "liga";
6 font-feature-settings: "liga"
7 }
8 .y {
9 background-color: green
10 }
11 </style>
12 <div id="x">
13 <div>
14 <div></div>
15 <div></div>
16 <div></div>
17 <div></div>
18 </div>
19 </div>
20 <script>
21 description("Local style change on element with font-feature-settings should not cause subtree recalc");
22
23 x.offsetTop;
24 x.className = "y";
25
26 if (window.internals)
27 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
28
29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698