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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/column-rule-change.html

Issue 2240753003: Fix column rule under invalidation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: - Created 4 years, 4 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 | third_party/WebKit/LayoutTests/paint/invalidation/column-rule-change-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/paint/invalidation/column-rule-change.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/column-rule-change.html b/third_party/WebKit/LayoutTests/paint/invalidation/column-rule-change.html
new file mode 100644
index 0000000000000000000000000000000000000000..d6ad17f3e13ff5c8704db02d39500a8dabf7acb7
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/column-rule-change.html
@@ -0,0 +1,18 @@
+<!DOCTYPE html>
+<p style="height: 100px">
+Tests paint invalidation of column rules when column changes without changing geometry of the column and the column set.
+Passes if no under-invalidation is reported.
+</p>
+<div id="columns" style="columns: 1; background-color: blue; column-rule: 2px solid green; width: 200px; height: 200px">
+ <div id="content1" style="display: inline-block; width: 50px; height: 100px; background-color: yellow"></div><br>
+ <div id="content2" style="display: inline-block; width: 50px; height: 100px; background-color: yellow"></div>
+</div>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+onload = function() {
mstensho (USE GERRIT) 2016/08/12 19:17:36 Does it really need to be inside an onload handler
Xianzhu 2016/08/12 19:24:08 No. Removed. (It will be necessary if the script
+ runAfterLayoutAndPaint(function() {
+ columns.style.columns = 2;
+ content1.style.height = '200px';
+ }, true);
+};
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/paint/invalidation/column-rule-change-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698