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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/remove-cell-with-large-border-width.html

Issue 2173163003: [css-tables] Mark sibling cells dirty when a cell is removed (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mark fast/repaint/table-collapsed-border.html NeedsRebaseline Created 4 years, 4 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
(Empty)
1 <!doctype html>
2 <style>
3 td {
4 width: 50px;
5 height: 50px;
6 padding: 0px;
7 background: lime;
8 }
9 </style>
10 <script src="../../resources/check-layout.js"></script>
11 <script src="../../resources/run-after-layout-and-paint.js"></script>
12 <script type="text/javascript">
13 function removeMiddleCell() {
14 theRow.removeChild(cellToRemove);
15 checkLayout("table");
16 }
17 runAfterLayoutAndPaint(removeMiddleCell, true);
18 </script>
19 <p>After removing the middle cell with the red border the 2 remaining cells' wid ths should depend on sharing the black border, and not have stale widths from sh aring the red border.</p>
20 <table style="border-collapse:collapse" data-expected-width=108>
21 <tr id="theRow">
22 <td style="border:4px solid black" data-expected-width=54></td>
23 <td style="border:18px solid red" id="cellToRemove"></td>
24 <td data-expected-width=52></td>
25 </tr>
26 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698