Chromium Code Reviews| Index: third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html |
| diff --git a/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html b/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..85dacd6580c065efc681a4ba07c719ab428b8e6e |
| --- /dev/null |
| +++ b/third_party/WebKit/LayoutTests/paint/tables/table-cell-changes-to-colgroup.html |
| @@ -0,0 +1,26 @@ |
| +<!doctype html> |
| +<script src="../../resources/run-after-layout-and-paint.js"></script> |
| +<!-- Test passes if it does not crash on an ASAN build. --> |
| +<style> |
| +.c7 { background: white; direction: rtl; } |
| +.c7[class*="c7"] { display: table-column-group; } |
| +.c13 { display: table-cell; border-style: ridge; will-change: transform; } |
|
Xianzhu
2016/11/23 00:56:25
Are all of the CSS properties necessary for reprod
wkorman
2016/11/23 02:05:22
I spent time taking some out, I was able to pull a
|
| +</style> |
| +<script> |
| +var nodes = Array(); |
| +nodes[1] = document.createElement('label'); |
| +nodes[1].setAttribute('class', 'c13'); |
| +document.documentElement.appendChild(nodes[1]); |
| +nodes[2] = document.createElement('colgroup'); |
| +nodes[2].setAttribute('class', 'c13'); |
| +document.documentElement.appendChild(nodes[2]); |
| +nodes[3] = document.createElement('aside'); |
| +nodes[3].setAttribute('class', 'c13'); |
| +document.documentElement.appendChild(nodes[3]); |
|
Xianzhu
2016/11/23 00:56:25
Can the script be replaced with direct HTML?
wkorman
2016/11/23 02:05:22
Have tried a number of ways without success. Main
|
| +if (window.testRunner) |
| + testRunner.waitUntilDone(); |
| +runAfterLayoutAndPaint(function() { |
| + nodes[2].setAttribute('class', 'c11'); |
| + nodes[1].setAttribute('class', 'c7'); |
|
Xianzhu
2016/11/23 00:56:25
Please replace nodes[<n>] and c<n> with meaningful
wkorman
2016/11/23 02:05:22
Done.
|
| +}, true); |
| +</script> |