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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/ellipse/shape-outside-ellipse-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: left float, ellipse radii in % units + padding-box</tit le>
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-ellips e">
7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside- property">
8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#padding-box">
9 <link rel="match" href="reference/shape-outside-ellipse-013-ref.html">
10 <meta name="flags" content="ahem" />
11 <meta name="assert" content="The test verifies that text wraps around a
12 left float with a shape-outside defined as
13 a ellipse from the padding box with the rad ii
14 in percentage units.">
15 </head>
16 <style>
17 body {
18 margin: 0;
19 }
20 #container {
21 position: relative;
22 }
23 #test-container {
24 font: 40px/1 Ahem, sans-serif;
25 width: 300px;
26 height: 200px;
27 color: green;
28 }
29 #test-shape {
30 float: left;
31 width: 100px;
32 height: 100px;
33 margin: 10px;
34 padding: 25px;
35 border: 10px solid transparent;
36 shape-outside: padding-box ellipse(50% 25%);
37 }
38 #line {
39 position: absolute;
40 top: 0px;
41 left: 168px;
42 width: 2px;
43 height: 200px;
44 border-left: 2px solid blue;
45 }
46 #failure {
47 position: absolute;
48 top: 80px;
49 left: 170px;
50 width: 40px;
51 height: 40px;
52 background-color: red;
53 z-index: -1;
54 }
55 </style>
56 <body>
57 <p>The test passes if there is a green square to the right of the blue line. There should be no red.</p>
58 <div id="container">
59 <div id="test-container">
60 <div id="test-shape"></div>
61 <br/>
62 <br/>
63 X
64 </div>
65 <div id="line"></div>
66 <div id="failure"></div>
67 </div>
68 </body>
69 </html>
70
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698