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

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

Powered by Google App Engine
This is Rietveld 408576698