Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!doctype html> | |
| 2 <script src="../../resources/run-after-layout-and-paint.js"></script> | |
| 3 <!-- Test passes if it does not crash on an ASAN build. --> | |
| 4 <style> | |
| 5 .c7 { background: white; direction: rtl; } | |
| 6 .c7[class*="c7"] { display: table-column-group; } | |
| 7 .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
| |
| 8 </style> | |
| 9 <script> | |
| 10 var nodes = Array(); | |
| 11 nodes[1] = document.createElement('label'); | |
| 12 nodes[1].setAttribute('class', 'c13'); | |
| 13 document.documentElement.appendChild(nodes[1]); | |
| 14 nodes[2] = document.createElement('colgroup'); | |
| 15 nodes[2].setAttribute('class', 'c13'); | |
| 16 document.documentElement.appendChild(nodes[2]); | |
| 17 nodes[3] = document.createElement('aside'); | |
| 18 nodes[3].setAttribute('class', 'c13'); | |
| 19 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
| |
| 20 if (window.testRunner) | |
| 21 testRunner.waitUntilDone(); | |
| 22 runAfterLayoutAndPaint(function() { | |
| 23 nodes[2].setAttribute('class', 'c11'); | |
| 24 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.
| |
| 25 }, true); | |
| 26 </script> | |
| OLD | NEW |