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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-multiple-blocks.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 {
6 width: 200px;
7 height: 300px;
8 shape-inside: polygon(10px 15px, 180px 15px, 180px 295px, 10px 295px);
9 position: relative;
10 }
11 #border {
12 position: absolute;
13 top: 13px;
14 left: 8px;
15 width: 170px;
16 height: 280px;
17 border: 2px solid blue;
18 }
19 p { margin-top: 0; }
20 </style>
21 </head>
22 <body>
23 <div id="shape-inside">
24 <div id="border"></div>
25 <div>
26 <p>Paragraph 1. This paragraph should be just below the top edge of the blue
27 rectangle. It's left and right edges should be within the blue recta ngle.
28 </div>
29 <p>Paragraph 2. This paragraph should be just below paragraph 1. Its lef t
30 and right edges should also be within the blue rectangle.
31 </div>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698