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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/shadow/content-reprojection-recalc.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 <div id="host"> 3 <div id="host">
4 <div></div> 4 <div></div>
5 <div></div> 5 <div></div>
6 <div></div> 6 <div></div>
7 <div></div> 7 <div></div>
8 <div></div> 8 <div></div>
9 <div></div> 9 <div></div>
10 </div> 10 </div>
11 <script> 11 <script>
12 description("Redistribution into same position should not cause style recalc"); 12 description("Redistribution into same position should not cause style recalc");
13 13
14 shouldBeDefined("window.internals"); 14 shouldBeDefined("window.internals");
15 15
16 var root = host.createShadowRoot(); 16 var root = host.createShadowRoot();
17 root.innerHTML = "<content></content>"; 17 root.innerHTML = "<content></content>";
18 18
19 host.offsetTop; 19 host.offsetTop;
20 20
21 host.appendChild(document.createElement("div")); 21 host.appendChild(document.createElement("div"));
22 22
23 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); 23 shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
24 24
25 </script> 25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698