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

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-008.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: shape-outside on floats with a positive padding</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/#relation-to-box-mod el-and-float-behavior">
6 <link rel="match" href="shape-outside-floats-padding-006-ref.html">
7 <meta name="flags" content="ahem">
8 <head>
9 <style>
10 .container {
11 font: 20px/1 Ahem, sans-serif;
12 width: 20px;
13 height: 100px;
14 border: 1px solid black;
15 color: green;
16 display: inline-block;
17 -webkit-writing-mode: vertical-rl;
18 background-color: red;
19 }
20
21 #float-left {
22 float: left;
23 width: 20px;
24 height: 100px;
25 shape-outside: rectangle(0, 0, 100%, 0);
26 padding-bottom: 20px;
27 }
28
29 #float-right {
30 float: right;
31 width: 20px;
32 height: 100px;
33 shape-outside: rectangle(0, 0, 100%, 0);
34 padding-top: 20px;
35 }
36 </style>
37
38 <body>
39 <p>This should display two vertical green bars. You should not see any red.< /p>
40 <div class="container" style="text-align: right">
41 <div id="float-right">
42 </div>
43 XXXXX
44 </div>
45 <div class="container">
46 <div id="float-left">
47 </div>
48 XXXXX
49 </div>
50 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698