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

Unified Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-columns-svg-clippath-usou.html

Issue 2300383002: Compute better reference/visual boxes for clip-path in columns (Closed)
Patch Set: performed Created 4 years, 3 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/css3/masking/clip-path-columns-svg-clippath-usou.html
diff --git a/third_party/WebKit/LayoutTests/css3/masking/clip-path-columns-svg-clippath-usou.html b/third_party/WebKit/LayoutTests/css3/masking/clip-path-columns-svg-clippath-usou.html
new file mode 100644
index 0000000000000000000000000000000000000000..f76c1afda58ab7964a7b68bd6671db0b38766e56
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/masking/clip-path-columns-svg-clippath-usou.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+body { margin: 0; }
+.clipped {
+ background-color: green;
+ border: 5px solid red;
+ -webkit-clip-path: url(#c);
+ clip-path: url(#c);
+}
+</style>
+<div style="columns: 2; column-gap: 0; width: 200px; height: 100px">
+ <div style="height: 100px"></div>
+ <div style="height: 90px" class="clipped"></div>
+</div>
+<svg>
+ <clipPath id="c" clipPathUnits="userSpaceOnUse">
+ <rect x="5" y="5" width="90" height="90"/>
+ </clipPath>
+</svg>

Powered by Google App Engine
This is Rietveld 408576698