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

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-horizontal-rectangle-002.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: horizontal rectangle shape-outside on floats, vertical-rl writi ng mode</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-horizontal-rectangle-002-ref.html">
7 <meta name="flags" content="ahem">
8 <style>
9 .container {
10 width: 75px;
11 height: 100px;
12 font: 25px/1 Ahem;
13 line-height: 25px;
14 border: 10px solid black;
15 display: inline-block;
16 -webkit-writing-mode: vertical-rl;
17 }
18
19 .left-text {
20 text-align: left;
21 }
22
23 .right-text {
24 text-align: right;
25 }
26
27 .left {
28 float: left;
29 width: 75px;
30 height: 100px;
31 shape-outside: rectangle(25px, 0px, 50px, 75px);
32 }
33
34 .right {
35 float: right;
36 width: 75px;
37 height: 100px;
38 shape-outside: rectangle(25px, 25px, 50px, 75px);
39 }
40 </style>
41 </head>
42 <body>
43 <p>Test passes if you see two black rectangle boxes with a smaller white rec tangle in one corner of each.</p>
44 <div class="container left-text">
45 <div class="left"></div>
46 X<br/>
47 X<br/>
48 XXXX<br/>
49 </div>
50
51 <div class="container right-text">
52 <div class="right"></div>
53 X<br/>
54 X<br/>
55 XXXX<br/>
56 </div>
57 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698