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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/table/containment.html

Issue 2040463002: [css] Bandaid fix for crash when tables and containment mix. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2743
Patch Set: Created 4 years, 6 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/containment-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!doctype html>
2 <style>
3 body, table, tbody {
4 contain: size layout;
5 }
6 </style>
7 <script src="../../resources/check-layout.js"></script>
8 <script src="../../resources/run-after-layout-and-paint.js"></script>
9 <script type="text/javascript">
10 function reparentRow() {
11 document.getElementById("table2").appendChild(document.getElementById("r ow"));
12 checkLayout("#table2");
13 }
14 runAfterLayoutAndPaint(reparentRow, true);
15 </script>
16 <p>This shouldn't crash and there should be a green square.</p>
17 <table>
18 <tr id="row"><td style="height:50px;width:50px;background:green" data-expected -width=16 data-expected-height=16></td></tr>
19 </table>
20 <table id="table2" style="height:20px;width:20px">
21 </table>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/containment-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698