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

Unified Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-2.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-2.html
diff --git a/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-2.html b/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-2.html
new file mode 100644
index 0000000000000000000000000000000000000000..dc559118cc156b38849bc8511c5c17a08a198468
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-2.html
@@ -0,0 +1,13 @@
+<!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%);
+}
+</style>
+<div class="clipped">
+ <div style="float:left; margin-left:-100px; margin-top:-100px;">&nbsp;</div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698