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

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

Issue 209443007: Remove shape-inside support (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove now unused segmentIsEmpty 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
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 #shape-inside-horizontal {
6 width: 200px;
7 height: 220px;
8 shape-inside: polygon(15px 20px, 165px 20px, 165px 195px, 15px 195px);
9 position: relative;
10 }
11 #shape-inside-vertical-lr {
12 width: 200px;
13 height: 220px;
14 shape-inside: polygon(15px 20px, 165px 20px, 165px 195px, 15px 195px);
15 -webkit-writing-mode: vertical-lr;
16 position: relative;
17 }
18 #shape-inside-vertical-rl {
19 width: 200px;
20 height: 220px;
21 shape-inside: polygon(15px 20px, 165px 20px, 165px 195px, 15px 195px);
22 -webkit-writing-mode: vertical-rl;
23 position: relative;
24 }
25 #border {
26 position: absolute;
27 top: 15px;
28 left: 10px;
29 width: 160px;
30 height: 185px;
31 border: 2px solid blue;
32 }
33 </style>
34 </head>
35 <body>
36 <div id="shape-inside-horizontal">
37 <div id="border"></div>
38 This text should be contained by the blue square.
39 </div>
40 <div id="shape-inside-vertical-lr">
41 <div id="border"></div>
42 This text should be contained by the blue square.
43 </div>
44 <div id="shape-inside-vertical-rl">
45 <div id="border"></div>
46 This text should be contained by the blue square.
47 </div>
48 </body>
49 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698