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

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-circle-001.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: circle shape-outside on floats with percentage radius</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://dev.w3.org/csswg/css-shapes-1/#shape-outside-prope rty">
6 <link rel="match" href="shape-outside-floats-circle-001-ref.html">
7 <meta name="flags" content="ahem">
8 <style>
9 .container {
10 font: 40px/1 Ahem, sans-serif;
11 line-height: 40px;
12 width: 110px;
13 height: 40px;
14 overflow: hidden;
15 white-space: nowrap;
16 background-color: red;
17 color: green;
18 }
19
20 .circle {
21 width: 80px;
22 height: 40px;
23 background-color: green;
24 shape-outside: circle(50%, 50%, 50%) content-box; /* cx,cy,radius */
25 }
26 </style>
27
28 <body>
29 <p>You should see a green rectangle. You shouldn't see any red.</p>
30 <div class="container">
31 <div style="float: left; margin-right: 40px;" class="circle"></div>
32 X
33 </div>
34
35 <div class="container" style="text-align: right">
36 <div style="float: right; margin-left: 40px;" class="circle"></div>
37 X
38 </div>
39 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698