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

Side by Side Diff: LayoutTests/fast/table/border-recalc.html

Issue 157383004: Use LocalStyleChange when changing TD presentation attributes. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed review issues and added test. Created 6 years, 10 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script>
3 <table>
4 <tbody>
5 <tr><td>
6 <div></div>
7 <div></div>
8 <div></div>
9 <div></div>
10 <div></div>
11 <div></div>
12 <div></div>
13 <div></div>
14 <div></div>
15 <div></div>
16 </td></tr>
17 </tbody>
18 </table>
19 <script>
20 description("Check that we don't recalc table cell contents when presentation at tributes change.");
21
22 document.body.offsetTop; // Force layout.
23 document.getElementsByTagName("table")[0].setAttribute("border", "2");
24 if (window.internals)
25 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "4");
26 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/table/border-recalc-expected.txt » ('j') | Source/core/html/HTMLTableElement.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698