Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
|
mstensho (USE GERRIT)
2014/12/16 15:27:01
I think the test would sit better in LayoutTests/f
dsinclair
2014/12/16 15:40:32
Done.
| |
| 2 <script src="../../resources/run-after-display.js"></script> | |
| 3 <style> | |
| 4 .c5:after { | |
| 5 position:absolute; | |
| 6 content: counter(c, lower-armenian) attr(id); | |
| 7 counter-increment: c 895; | |
| 8 } | |
| 9 .c5 { -webkit-transform:skew(20deg); } | |
| 10 .c5:last-of-type { display: table-caption; } | |
| 11 .c4:nth-of-type(2n+1) { counter-increment: c 578; } | |
| 12 </style> | |
| 13 | |
| 14 <option> | |
|
mstensho (USE GERRIT)
2014/12/16 15:27:01
This test can be simplified quite a bit. Like usin
dsinclair
2014/12/16 15:40:32
This is a reduction from a CRASH, so I'd like to k
mstensho (USE GERRIT)
2014/12/16 15:43:31
Acknowledged.
| |
| 15 | |
| 16 This test passes if it does not CRASH. | |
| 17 | |
| 18 <script> | |
| 19 if (window.testRunner) { | |
| 20 testRunner.dumpAsText(); | |
| 21 testRunner.waitUntilDone(); | |
| 22 } | |
| 23 | |
| 24 onload = function() { | |
| 25 var el = document.createElement('li'); | |
| 26 el.setAttribute('class', 'c5'); | |
| 27 document.body.appendChild(el); | |
| 28 | |
| 29 runAfterDisplay(function() { | |
| 30 var o = document.querySelector('option'); | |
| 31 o.setAttribute('class', 'c4'); | |
| 32 | |
| 33 if (window.testRunner) | |
| 34 testRunner.notifyDone(); | |
| 35 }); | |
| 36 } | |
| 37 </script> | |
| OLD | NEW |