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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-text.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 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> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #shape-inside { 5 #shape-inside {
6 width: 200px; 6 width: 200px;
7 height: 200px; 7 height: 200px;
8 shape-inside: rectangle(10px, 10px, 180px, 180px); 8 shape-inside: polygon(10px 10px, 190px 10px, 190px 190px, 10px 190px);
9 position: relative; 9 position: relative;
10 } 10 }
11 #border { 11 #border {
12 position: absolute; 12 position: absolute;
13 top: 8px; 13 top: 8px;
14 left: 8px; 14 left: 8px;
15 width: 180px; 15 width: 180px;
16 height: 180px; 16 height: 180px;
17 border: 2px solid blue; 17 border: 2px solid blue;
18 } 18 }
19 </style> 19 </style>
20 </head> 20 </head>
21 <body> 21 <body>
22 <div id="shape-inside"> 22 <div id="shape-inside">
23 <div id="border"></div> 23 <div id="border"></div>
24 This text should be contained by the blue square. 24 This text should be contained by the blue square.
25 </div> 25 </div>
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698