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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/inset/shape-outside-inset-012.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, inset + margin-box</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-inset" >
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/#shapes-from-bo x-values">
9 <link rel="match" href="reference/shape-outside-inset-010-ref.html"/>
10 <meta name="flags" content="ahem" />
11 <meta name="assert" content="The test verfies that text flows around a
12 left float with a shape-outside defined as
13 an inset rectangle + margin-box.">
14 </head>
15 <style>
16 #container {
17 position: relative;
18 margin-left: 25px;
19 }
20 #test-container {
21 width: 200px;
22 height: 200px;
23 font-family: Ahem;
24 font-size: 25px;
25 background-color: red;
26 color: green;
27 }
28 #test-shape {
29 float: left;
30 width: 50px;
31 height: 50px;
32 border: 25px solid red;
33 margin: 25px;
34 padding: 25px;
35 shape-outside: margin-box inset(50px 100px 50px 0px);
36 }
37 #static-shape {
38 position: absolute;
39 top: 50px;
40 left: 0px;
41 width: 100px;
42 height: 100px;
43 background-color: green;
44 }
45 </style>
46 <body>
47 <p>The test passes if there is a green square and no red.</p>
48 <div id="container">
49 <div id="test-container">
50 <div id="test-shape"></div>
51 XXXXXXXX XXXXXXXX XXXX XXXX XXXX XXXX XXXXXXXX XXXXXXXX
52 </div>
53 <div id="static-shape"></div>
54 </div>
55 </body>
56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698