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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/table/containment-crash.html
diff --git a/third_party/WebKit/LayoutTests/fast/table/containment.html b/third_party/WebKit/LayoutTests/fast/table/containment-crash.html
similarity index 59%
copy from third_party/WebKit/LayoutTests/fast/table/containment.html
copy to third_party/WebKit/LayoutTests/fast/table/containment-crash.html
index 1c40becb0a13e3a92fefa573f6e8d1fc893db20c..9c3f5ddc0319b2d7c9d0a285c641345891e7e326 100644
--- a/third_party/WebKit/LayoutTests/fast/table/containment.html
+++ b/third_party/WebKit/LayoutTests/fast/table/containment-crash.html
@@ -1,6 +1,6 @@
<!doctype html>
<style>
-body, table, tbody {
+body, #tbody2 {
contain: size layout;
}
</style>
@@ -8,14 +8,15 @@ body, table, tbody {
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script type="text/javascript">
function reparentRow() {
- document.getElementById("table2").appendChild(document.getElementById("row"));
- checkLayout("#table2");
+ document.getElementById("tbody2").appendChild(document.getElementById("row"));
}
runAfterLayoutAndPaint(reparentRow, true);
</script>
-<p>This shouldn't crash and there should be a green square.</p>
+<p>This shouldn't crash.</p>
<table>
- <tr id="row"><td style="height:50px;width:50px;background:green" data-expected-width=16 data-expected-height=16></td></tr>
+ <tr id="row"><td style="height:50px;width:50px;background:green"></td></tr>
</table>
-<table id="table2" style="height:20px;width:20px">
+<table style="height:20px;width:20px">
+ <tbody id="tbody2">
+ </tbody>
</table>
« 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