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

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

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../../resources/js-test.js"></script> 2 <script src="../../../resources/js-test.js"></script>
3 <style> 3 <style>
4 #x { 4 #x {
5 -webkit-font-feature-settings: "liga"; 5 -webkit-font-feature-settings: "liga";
6 font-feature-settings: "liga" 6 font-feature-settings: "liga"
7 } 7 }
8 .y { 8 .y {
9 background-color: green 9 background-color: green
10 } 10 }
11 </style> 11 </style>
12 <div id="x"> 12 <div id="x">
13 <div> 13 <div>
14 <div></div> 14 <div></div>
15 <div></div> 15 <div></div>
16 <div></div> 16 <div></div>
17 <div></div> 17 <div></div>
18 </div> 18 </div>
19 </div> 19 </div>
20 <script> 20 <script>
21 description("Local style change on element with font-feature-settings should not cause subtree recalc"); 21 description("Local style change on element with font-feature-settings should not cause subtree recalc");
22 22
23 x.offsetTop; 23 x.offsetTop;
24 x.className = "y"; 24 x.className = "y";
25 25
26 if (window.internals) 26 if (window.internals)
27 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); 27 shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()" , "1");
28 28
29 </script> 29 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698