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

Unified Diff: third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-inline.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-inline.html
diff --git a/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-inline.html b/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-inline.html
new file mode 100644
index 0000000000000000000000000000000000000000..95f0a2b85d3d58490a08297b6131f52dbeeb5048
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/css3/masking/clip-path-reference-box-inline.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<style>
+div {
+ width: 100px;
+ height: 100px;
+ overflow: hidden;
+ background-color: red;
+ line-height: 1;
+}
+span {
+ background-color: green;
+ color: green;
+ -webkit-clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
+ clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
+}
+</style>
+<div>
+<span>XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX XXXXXXXXXX</span>
+</div>

Powered by Google App Engine
This is Rietveld 408576698