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

Unified Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-1.html

Issue 2273733002: Use border-box as the reference box for (-webkit-)clip-path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: New baselines 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
Index: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-1.html
diff --git a/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-1.html b/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-1.html
new file mode 100644
index 0000000000000000000000000000000000000000..f5cba31bba226e5e4bf8bdea527d38a8e1a59feb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-1.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+.clipped {
+ width: 100px;
+ height: 200px;
+ background-color: green;
+ -webkit-clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
+ clip-path: polygon(0% 0%,100% 0%,100% 50%,0% 50%);
+ box-shadow: 100px 0px red;
+}
+</style>
+<div class="clipped"></div>

Powered by Google App Engine
This is Rietveld 408576698