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

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-padding-004.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 padding, vertical writing mode</ti tle>
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 <meta name="assert" content="This tests if padding on the logical top of the flo at is properly ignored if the shape does not extend into the padding.">
7 <link rel="match" href="shape-outside-floats-padding-004-ref.html">
8 <meta name="flags" content="ahem">
9 <head>
10 <style>
11 .container {
12 font: 20px/1 Ahem, sans-serif;
13 width: 60px;
14 height: 100px;
15 border: 1px solid black;
16 color: green;
17 display: inline-block;
18 background-color: red;
19 -webkit-writing-mode: vertical-lr;
20 }
21
22 #float-left {
23 float: left;
24 width: 20px;
25 height: 100px;
26 shape-outside: rectangle(0, 0, 100%, 100%) content-box;
27 padding-right: 20px;
28 }
29
30 #float-right {
31 float: right;
32 width: 20px;
33 height: 100px;
34 shape-outside: rectangle(0, 0, 100%, 100%) content-box;
35 padding-right: 20px;
36 }
37 </style>
38
39 <body>
40 <p>This should display two green rectangles. You should not see any red.</p>
41 <div class="container">
42 XXXXX
43 <div id="float-left">
44 XXXXX
45 </div>
46 XXXXX
47 </div>
48 <div class="container">
49 XXXXX
50 <div id="float-right">
51 XXXXX
52 </div>
53 XXXXX
54 </div>
55 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698