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

Side by Side Diff: LayoutTests/css3/masking/clip-path-circle-overflow-hidden.html

Issue 115253003: Layout support for new circle shape syntax (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use FloatSize/FloatPoint's more Created 6 years, 11 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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <style> 4 <style>
5 .parent { 5 .parent {
6 width: 200px; 6 width: 200px;
7 height: 200px; 7 height: 200px;
8 overflow: hidden; 8 overflow: hidden;
9 » -webkit-clip-path: circle(100px, 100px, 100px); 9 » -webkit-clip-path: circle(100px at 100px 100px);
10 } 10 }
11 .child { 11 .child {
12 height: 400px; 12 height: 400px;
13 width: 200px; 13 width: 200px;
14 margin:0; 14 margin:0;
15 padding:0; 15 padding:0;
16 background-color: green; 16 background-color: green;
17 } 17 }
18 </style> 18 </style>
19 </head> 19 </head>
20 <body> 20 <body>
21 <div class="parent"> 21 <div class="parent">
22 <div class="child"></div> 22 <div class="child"></div>
23 </div> 23 </div>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698