| Index: third_party/WebKit/LayoutTests/fast/table/containment.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/table/containment.html b/third_party/WebKit/LayoutTests/fast/table/containment.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1c40becb0a13e3a92fefa573f6e8d1fc893db20c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/table/containment.html
|
| @@ -0,0 +1,21 @@
|
| +<!doctype html>
|
| +<style>
|
| +body, table, tbody {
|
| + contain: size layout;
|
| +}
|
| +</style>
|
| +<script src="../../resources/check-layout.js"></script>
|
| +<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");
|
| + }
|
| + runAfterLayoutAndPaint(reparentRow, true);
|
| +</script>
|
| +<p>This shouldn't crash and there should be a green square.</p>
|
| +<table>
|
| + <tr id="row"><td style="height:50px;width:50px;background:green" data-expected-width=16 data-expected-height=16></td></tr>
|
| +</table>
|
| +<table id="table2" style="height:20px;width:20px">
|
| +</table>
|
|
|