Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(37)

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/column-rules-fixed-height.html

Issue 2115013002: Include column rules for LayoutMultiColumnSet paint invalidation rects. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: none Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698