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

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: Make the test useful. 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
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/change-column-rule-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/change-column-rule-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698