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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/explicit-inheritance-non-inherited-hover.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 html { background-color: green } 4 html { background-color: green }
5 * { background-color: inherit } 5 * { background-color: inherit }
6 .a:hover.b { background-color: green } 6 .a:hover.b { background-color: green }
7 </style> 7 </style>
8 <div id="root"> 8 <div id="root">
9 <div> 9 <div>
10 <span></span> 10 <span></span>
11 <span></span> 11 <span></span>
12 <span></span> 12 <span></span>
13 <span></span> 13 <span></span>
14 </div> 14 </div>
15 </div> 15 </div>
16 <script> 16 <script>
17 description("Inheritance-propagation should stop when there is no style diff and the affected-by-hover flag changes."); 17 description("Inheritance-propagation should stop when there is no style diff and the affected-by-hover flag changes.");
18 18
19 root.offsetTop; // force recalc 19 root.offsetTop; // force recalc
20 20
21 root.className = "a b"; 21 root.className = "a b";
22 22
23 if (window.internals) 23 if (window.internals)
24 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); 24 shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1 ");
25 </script> 25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698