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

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-square-border-000.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 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 <!DOCTYPE html>
2 <title>CSS Test: square shape-outside on floats with a border</title>
3 <link rel="author" title="Adobe" href="http://html.adobe.com/">
4 <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com">
5 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-property ">
6 <link rel="match" href="shape-outside-floats-square-border-000-ref.html">
7 <meta name="flags" content="ahem">
8 <style>
9 .container {
10 width: 100px;
11 height: 100px;
12 font: 25px/1 Ahem;
13 display: inline-block;
14 color: green;
15 }
16
17 .left {
18 float: left;
19 width: 70px;
20 height: 70px;
21 border-width: 15px;
22 border-style: solid;
23 border-color: green red red green;
24 shape-outside: rectangle(0px, 0px, 35px, 35px) content-box;
25 background-color: green;
26 }
27
28 .right {
29 float: right;
30 width: 70px;
31 height: 70px;
32 border-width: 15px;
33 border-style: solid;
34 border-color: green green red red;
35 shape-outside: rectangle(35px, 0px, 35px, 35px) content-box;
36 background-color: green;
37 }
38 </style>
39 </head>
40 <body>
41 <p>Test passes if you see two green squares. You should not see any red.</p>
42 <div class="container">
43 <div class="left"></div>
44 XX
45 XX
46 XXXX
47 XXXX
48 </div>
49
50 <div class="container">
51 <div class="right"></div>
52 XX
53 XX
54 XXXX
55 XXXX
56 </div>
57 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698