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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-multiple-segments-004.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 <html>
2 <head>
3 <script src='../resources/multi-segment-polygon.js'></script>
4 <script>
5 window.onload = function() {
6 var polygon = [0,0,100,0,100,25,150,25,150,0,250,0,250,100,0,100];
7 generatePolygon(250, 100, 50, polygon, "<span style='font-size:2em'>XX</ span>", 'shape1');
8 generatePolygon(250, 100, 50, polygon, "<span style='font-size:2em'>X</s pan>XX", 'shape2');
9 generatePolygon(250, 100, 50, polygon, "XX<span style='font-size:2em'>X< /span>", 'shape3');
10 }
11 </script>
12 <style>
13 #shape1, #shape2, #shape3 {
14 margin: 10px 0;
15 vertical-align: bottom;
16 }
17 </style>
18 </head>
19 <body>
20 This test requires the Ahem font, and tests should all display on a 5x2 grid of green
21 squares. These tests check the interaction of shape-inside with spans.
22 <div id='shape1'></div>
23 This test should display two 2x2 green squares, separated by a 1 unit space.
24 <div id='shape2'></div>
25 This test should display a 2x2 green square, and a 2x1 rectangle separated b y a 1 unit space.
26 <div id='shape3'></div>
27 This test should display a 2x1 green rectangle, and a 2x2 square separated b y a 1 unit space.
28 </body>
29 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698