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

Unified Diff: LayoutTests/fast/multicol/change-column-rule.html

Issue 834653003: [Slimming paint] [New Multicolumn] Repaint column rules when they change. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: 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>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/change-column-rule-expected.html » ('j') | Source/core/rendering/RenderBlockFlow.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698