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

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

Issue 2046813002: [css] Don't let table parts be layout boundaries (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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-crash-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
1 <!doctype html> 1 <!doctype html>
2 <style> 2 <style>
3 body, table, tbody { 3 body, #tbody2 {
4 contain: size layout; 4 contain: size layout;
5 } 5 }
6 </style> 6 </style>
7 <script src="../../resources/check-layout.js"></script> 7 <script src="../../resources/check-layout.js"></script>
8 <script src="../../resources/run-after-layout-and-paint.js"></script> 8 <script src="../../resources/run-after-layout-and-paint.js"></script>
9 <script type="text/javascript"> 9 <script type="text/javascript">
10 function reparentRow() { 10 function reparentRow() {
11 document.getElementById("table2").appendChild(document.getElementById("r ow")); 11 document.getElementById("tbody2").appendChild(document.getElementById("r ow"));
12 checkLayout("#table2");
13 } 12 }
14 runAfterLayoutAndPaint(reparentRow, true); 13 runAfterLayoutAndPaint(reparentRow, true);
15 </script> 14 </script>
16 <p>This shouldn't crash and there should be a green square.</p> 15 <p>This shouldn't crash.</p>
17 <table> 16 <table>
18 <tr id="row"><td style="height:50px;width:50px;background:green" data-expected -width=16 data-expected-height=16></td></tr> 17 <tr id="row"><td style="height:50px;width:50px;background:green"></td></tr>
19 </table> 18 </table>
20 <table id="table2" style="height:20px;width:20px"> 19 <table style="height:20px;width:20px">
20 <tbody id="tbody2">
21 </tbody>
21 </table> 22 </table>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/fast/table/containment-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698