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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/supported-shapes/circle/shape-outside-circle-031-expected.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 Reference File</title>
5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com">
6 </head>
7 <style>
8 body {
9 margin: 0;
10 }
11 .container {
12 position: relative;
13 font: 15px Ahem, sans-serif;
14 line-height: 20px;
15 width: 200px;
16 height: 200px;
17 color: green;
18 }
19 .circle {
20 z-index: -1;
21 width: 160px;
22 height: 160px;
23 border-radius: 80px;
24 background-color: blue;
25 overflow: hidden;
26 }
27 #left-circle-outline {
28 position: absolute;
29 top: 20px;
30 left: 0px;
31 }
32 .left-circle-float-line {
33 float: left;
34 clear: left;
35 height: 20px;
36 }
37 </style>
38 <body>
39 <p>The test passes if all of the squares are green. There should be no r ed.</p>
40 <div class="container">
41 X<br/>
42 <div id="left-circle-outline"></div>
43 <!-- generated left-rounded-rect-float-line divs will be inserted here -->
44 X<br/>
45 X<br/>
46 X<br/>
47 X<br/>
48 X<br/>
49 X<br/>
50 X<br/>
51 X<br/>
52 X
53 </div>
54
55 <script src="../support/rounded-rectangle.js"></script>
56 <script src="../support/subpixel-utils.js"></script>
57 <script>
58 genLeftRoundedRectFloatShapeOutsideRefTest({
59 roundedRect: {x: 0, y: 20, width: 160, height: 160, rx: 80, ry: 80},
60 containerWidth: 200,
61 containerHeight: 200,
62 lineHeight: 20,
63 floatElementClassSuffix: "circle-float-line",
64 insertElementIdSuffix: "circle-outline"
65 });
66 </script>
67 </body>
68 </html>
69
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698