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..5d7c6ea7ad1bf8b017d3ef43cd7b29483f2fa240 |
--- /dev/null |
+++ b/LayoutTests/fast/multicol/change-column-rule.html |
@@ -0,0 +1,23 @@ |
+<!DOCTYPE html> |
+<p>The rules below should be green, and there should be no assertion failures.</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(); |
+ function changeStyle() { |
+ document.getElementById('mc').style.webkitColumnRuleColor = 'green'; |
+ if (window.testRunner) |
+ testRunner.notifyDone(); |
+ } |
+ onclick = changeStyle; // for testing manually. |
+ onload = function() { |
+ // Force painting, then change style, which in turn will trigger another repaint. |
+ if (window.testRunner) |
+ testRunner.displayAsyncThen(changeStyle); |
+ } |
+</script> |