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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-rectilinear-polygon-004-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, 8 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
5 <!--
6 Test test creates a rectilinear polygon with this shape:
7 XXXX
8 XXXX
9 XXXX
10 -->
11
12 <style id="stylesheet">
13 #shape-inside, #shape-outline {
14 position: absolute;
15 top: 0;
16 left: 0;
17 width: 400px;
18 height: 200px;
19 margin: 0;
20 }
21
22 #shape-inside {
23 word-wrap: break-word;
24 font: 50px/1 Ahem, sans-serif;
25 color: green;
26 }
27
28 #shape-outline {
29 fill: none;
30 stroke: blue;
31 }
32
33 #informative-text {
34 position: absolute;
35 top: 150px;
36 }
37 </style>
38 </head>
39
40 </head>
41 <body>
42 <div id="shape-inside">&nbsp;&nbsp;&nbsp;&nbsp;XXXX<br/>&nbsp;&nbsp;XXXX<br/>X XXX</div>
43 <svg id="shape-outline" xmlns="http://www.w3.org/2000/svg">
44 <polygon points="200,0 400,0 400,50 300,50 300,100 200,100 200,150 0,150 0 ,100 100,100 100,50 200,50"/>
45 </svg>
46 <p id="informative-text">
47 This test requires the Ahem font. It creates a rectilinear polygonal shape -inside and a
48 matching stroked SVG polygon. The content should just fill the shape with solid green.</p>
49 </html>
50
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698