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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-first-fit-001-expected.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 position: relative;
7 width: 200px;
8 height: 200px;
9 font: 50px/1 Ahem, sans-serif;
10 color: green;
11 }
12
13 .blue {
14 color: blue;
15 }
16
17 .shape-outline {
18 position: absolute;
19 top: 0px;
20 left: 0px;
21 width: 200px;
22 height: 200px;
23 }
24 </style>
25 </head>
26 <body>
27 <p>The solid green and blue rectangles should be contained by the blue trian gle outlines.</p>
28 <div class="shape-inside">
29 <svg class="shape-outline" xmlns="http://www.w3.org/2000/svg">
30 <polygon points="0,0 200,200 0,200" stroke="blue" fill="none"/>
31 </svg>
32 <br/>X<br/><span class="blue">XX</span><br/>XXX
33 </div>
34 <p>Writing-mode is horizontal-tb</p>
35
36 <div class="shape-inside" style="-webkit-writing-mode: vertical-rl">
37 <svg class="shape-outline" xmlns="http://www.w3.org/2000/svg">
38 <polygon points="0,0 200,200 0,200" stroke="blue" fill="none"/>
39 </svg>
40 </br/>&nbsp;&nbsp;&nbsp;X<br/>&nbsp;&nbsp;<span class="blue">XX</span><b r/>&nbsp;XXX
41 </div>
42 <p>Writing-mode is vertical-rl.</p>
43
44 <div class="shape-inside" style="-webkit-writing-mode: vertical-lr">
45 <svg class="shape-outline" xmlns="http://www.w3.org/2000/svg">
46 <polygon points="0,0 200,200 0,200" stroke="blue" fill="none"/>
47 </svg>
48 &nbsp;XXX<br/>&nbsp;&nbsp;<span class="blue">XX</span><br/>&nbsp;&nbsp;& nbsp;X
49 </div>
50 <p>Writing-mode is vertical-lr.</p>
51 </body>
52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698