Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <p>The rules below should be green.</p> | |
| 3 <p>Click to test if testing manually.</p> | |
| 4 <div id="mc" style="-webkit-columns:3; line-height:100px; -webkit-column-rule:so lid yellow;"> | |
| 5 <br> | |
| 6 <br> | |
| 7 <br> | |
| 8 </div> | |
| 9 <script> | |
| 10 if (window.testRunner) | |
| 11 testRunner.waitUntilDone(); | |
| 12 onclick = foo; | |
| 13 onload = function() { | |
| 14 if (window.internals) | |
| 15 setTimeout(foo, 1000); | |
|
mstensho (USE GERRIT)
2015/01/15 13:31:51
This test is broken. Even with this silly timeout,
mstensho (USE GERRIT)
2015/01/15 14:09:54
With some suggestions from Rune, we found a way to
| |
| 16 } | |
| 17 function foo() { | |
| 18 document.getElementById('mc').style.webkitColumnRuleColor = 'green'; | |
| 19 if (window.testRunner) | |
| 20 testRunner.notifyDone(); | |
| 21 } | |
| 22 </script> | |
| OLD | NEW |