Chromium Code Reviews| Index: LayoutTests/fast/multicol/change-column-rule.html |
| diff --git a/LayoutTests/fast/multicol/change-column-rule.html b/LayoutTests/fast/multicol/change-column-rule.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..67e74351fee844b3cbee3307cd8a09c90010f35d |
| --- /dev/null |
| +++ b/LayoutTests/fast/multicol/change-column-rule.html |
| @@ -0,0 +1,22 @@ |
| +<!DOCTYPE html> |
| +<p>The rules below should be green.</p> |
| +<p>Click to test if testing manually.</p> |
| +<div id="mc" style="-webkit-columns:3; line-height:100px; -webkit-column-rule:solid yellow;"> |
| + <br> |
| + <br> |
| + <br> |
| +</div> |
| +<script> |
| + if (window.testRunner) |
| + testRunner.waitUntilDone(); |
| + onclick = foo; |
| + onload = function() { |
| + if (window.internals) |
| + 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
|
| + } |
| + function foo() { |
| + document.getElementById('mc').style.webkitColumnRuleColor = 'green'; |
| + if (window.testRunner) |
| + testRunner.notifyDone(); |
| + } |
| +</script> |