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> |