Index: LayoutTests/css3/masking/mask-luminance-gradient.html |
diff --git a/LayoutTests/css3/masking/mask-repeat-round-border.html b/LayoutTests/css3/masking/mask-luminance-gradient.html |
similarity index 54% |
copy from LayoutTests/css3/masking/mask-repeat-round-border.html |
copy to LayoutTests/css3/masking/mask-luminance-gradient.html |
index 5f8bd6ff0850c631aa50053bc49397ffcacefbd6..7de9e2ae366b587ddce8a1a629b5073dbf89a9df 100644 |
--- a/LayoutTests/css3/masking/mask-repeat-round-border.html |
+++ b/LayoutTests/css3/masking/mask-luminance-gradient.html |
@@ -3,21 +3,19 @@ |
<head> |
<style> |
#back { |
- width: 1000px; |
- height: 600px; |
- background-color: green; |
- } |
- #front { |
width: 800px; |
height: 400px; |
- background-color: red; |
+ background-color: yellow; |
+ } |
+ #front { |
+ width: 600px; |
+ height: 200px; |
+ background-color: green; |
border: 50px solid blue; |
padding: 50px; |
- -webkit-mask-image: url(resources/circle.png); |
- -webkit-mask-size: 106px; |
- -webkit-mask-repeat: round; |
- -webkit-mask-origin: border-box; |
- -webkit-mask-clip: border-box; |
+ -webkit-mask-image: linear-gradient(45deg, white, black); |
+ mask-source-type: luminance; |
+ -webkit-mask-size: 200px auto; |
} |
</style> |
</head> |
@@ -26,6 +24,6 @@ |
<div id="back"> |
<div id="front" /> |
</div> |
- </body> |
+ </body> |
</html> |