Index: third_party/WebKit/LayoutTests/fast/multicol/column-rules-fixed-height.html |
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/column-rules-fixed-height.html b/third_party/WebKit/LayoutTests/fast/multicol/column-rules-fixed-height.html |
index d200f148a0ec3431a4185e22e5b09778de1f5008..f8b4b94ce5931b255ab3091ba65e863773d1b2bf 100644 |
--- a/third_party/WebKit/LayoutTests/fast/multicol/column-rules-fixed-height.html |
+++ b/third_party/WebKit/LayoutTests/fast/multicol/column-rules-fixed-height.html |
@@ -1,9 +1,15 @@ |
<!DOCTYPE html> |
-<p>There should be a blue square below. To the right of the square there should be two blue vertical |
- lines, with the same height as the square.</p> |
-<div style="-webkit-columns:3; -webkit-column-rule:5px solid blue; -webkit-column-gap:5px; width:310px; height:315px; line-height:50px;"> |
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script> |
+<p>There should be a blue square below. There should also be five vertical red lines.</p> |
+<div id="target" style="-webkit-columns:3; -webkit-column-rule:5px solid blue; -webkit-column-gap:5px; width:310px; height:315px; line-height:50px;"> |
<div style="height:945px; background:blue;"></div> |
<br><br><br><br><br><br> |
<br><br><br><br><br><br> |
<br><br><br><br><br><br> |
</div> |
+<script> |
+onload = runRepaintAndPixelTest; |
+function repaintTest() { |
+ target.style.webkitColumnRule = "5px solid red"; |
+} |
+</script> |