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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/border-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 <table> 3 <table>
4 <tbody> 4 <tbody>
5 <tr><td> 5 <tr><td>
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></div> 10 <div></div>
11 <div></div> 11 <div></div>
12 <div></div> 12 <div></div>
13 <div></div> 13 <div></div>
14 <div></div> 14 <div></div>
15 <div></div> 15 <div></div>
16 </td></tr> 16 </td></tr>
17 </tbody> 17 </tbody>
18 </table> 18 </table>
19 <script> 19 <script>
20 description("Check that we don't recalc table cell contents when presentation at tributes change."); 20 description("Check that we don't recalc table cell contents when presentation at tributes change.");
21 21
22 document.body.offsetTop; // Force layout. 22 document.body.offsetTop; // Force layout.
23 document.getElementsByTagName("table")[0].setAttribute("border", "2"); 23 document.getElementsByTagName("table")[0].setAttribute("border", "2");
24 if (window.internals) 24 if (window.internals)
25 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "4"); 25 shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "4 ");
26 </script> 26 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698