Chromium Code Reviews| 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> |