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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/multicol/change-column-rule-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <p>The rules below should be green, and there should be no assertion failures.</ p>
3 <p>Click to test if testing manually.</p>
4 <div id="mc" style="-webkit-columns:3; line-height:100px; -webkit-column-rule:so lid yellow;">
5 <br>
6 <br>
7 <br>
8 </div>
9 <script>
10 if (window.testRunner)
11 testRunner.waitUntilDone();
12 function changeStyle() {
13 document.getElementById('mc').style.webkitColumnRuleColor = 'green';
14 if (window.testRunner)
15 testRunner.notifyDone();
16 }
17 onclick = changeStyle; // for testing manually.
18 onload = function() {
19 // Force painting, then change style, which in turn will trigger another repaint.
20 if (window.testRunner)
21 testRunner.displayAsyncThen(changeStyle);
22 }
23 </script>
OLDNEW
« 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