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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/polygon/shape-outside-polygon-016.html

Issue 816533002: Import CSSWG Shapes tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more test expectations update Created 6 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>CSS Test: polygon, evenodd</title>
5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
6 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-polygo n">
7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside- property">
8 <link rel="match" href="reference/shape-outside-polygon-010-ref.html">
9 <meta name="flags" content="ahem" />
10 <meta name="assert" content="The test verifies that evenodd behaves the
11 same as nonzero for shape-outside and that text
12 will wraps around the outer edge of a polyg on.">
13 </head>
14 <style>
15 body {
16 margin: 0;
17 }
18 #container {
19 position: absolute;
20 top: 50px;
21 left: 10px;
22 font: 20px/1 Ahem;
23 width: 240px;
24 height: 240px;
25 background-color: red;
26 color: green;
27 }
28 #test-shape {
29 float: left;
30 width: 200px;
31 height: 200px;
32 shape-outside: polygon(evenodd, 0px 200px, 200px 200px, 200px 40px, 50px 40px, 50px 100px, 150px 100px, 150px 150px, 100px 150px, 100px 0px, 0px 0px );
33 }
34 .ref-shape {
35 position: absolute;
36 background-color: green;
37 left: 10px;
38 }
39 #ref-1 {
40 top: 50px;
41 width: 100px;
42 height: 40px;
43 }
44 #ref-2 {
45 top: 90px;
46 width: 200px;
47 height: 160px;
48 }
49 </style>
50 <body>
51 <p>The test passes if there is green square and no red.</p>
52 <div id="container">
53 <div id="test-shape"></div>
54 XXXXXXX XXXXXXX XX XX XX XX XX XX XX XX XXXXXXXXXXXX XXXXXXXXXXXX
55 </div>
56 <div id="ref-1" class="ref-shape"></div>
57 <div id="ref-2" class="ref-shape"></div>
58 </div>
59 </body>
60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698