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

Unified Diff: third_party/WebKit/LayoutTests/fast/multicol/resize-with-column-rule.html

Issue 1892793002: Invalidate column rules when the width of a multicol container changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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: third_party/WebKit/LayoutTests/fast/multicol/resize-with-column-rule.html
diff --git a/third_party/WebKit/LayoutTests/fast/multicol/resize-with-column-rule.html b/third_party/WebKit/LayoutTests/fast/multicol/resize-with-column-rule.html
new file mode 100644
index 0000000000000000000000000000000000000000..0f568df4e5f0dcd1dbf3ad709fda6aac690ab31c
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/multicol/resize-with-column-rule.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<p>There should be two black vertical lines below.</p>
+<div id="multicol" style="columns:3; column-rule:2px solid; column-gap:2px; column-fill:auto; width:304px; height:100px;">
+ <div style="height:300px; background:white;"></div>
+</div>
+<script>
+ runAfterLayoutAndPaint(function() {
+ document.getElementById("multicol").style.width = "604px";
+ }, true);
+</script>

Powered by Google App Engine
This is Rietveld 408576698