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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/remove-cell-with-border-box.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, 5 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 box-sizing: border-box;
9 }
10 td div {
11 display: inline-block;
12 width: 22px;
13 height: 5px;
14 background: orange;
15 }
16 </style>
17 <script src="../../resources/run-after-layout-and-paint.js"></script>
18 <script type="text/javascript">
19 runAfterLayoutAndPaint(() => theRow.removeChild(cellToRemove), true);
20 </script>
21 <p>Removing the left cell with a big border should give the remaining cells enou gh space to put the orange inline-blocks on the same line.</p>
22 <table style="border-collapse:collapse">
23 <tr id="theRow">
24 <td><div></div> <div></div></td>
25 <td style="border:18px solid red" id="cellToRemove"></td>
26 <td><div></div> <div></div></td>
27 </tr>
28 </table>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698