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

Side by Side Diff: LayoutTests/csswg/contributors/adobe/submitted/shapes/shape-outside/shape-outside-floats-polygon-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: polygon shape-outside on floats</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-polygon-001-ref.html">
7 <meta name="flags" content="ahem">
8 <style>
9 .container {
10 font: 20px/1 Ahem, sans-serif;
11 line-height: 20px;
12 width: 400px;
13 height: 400px;
14 background: blue;
15 -webkit-writing-mode: vertical-lr;
16 }
17 .float-left {
18 width: 200px;
19 height: 200px;
20 shape-outside: polygon(0px 0px, 0px 200px, 200px 0px);
21 float: left;
22 }
23 .float-right {
24 margin-top: 100px;
25 width: 200px;
26 height: 100px;
27 shape-outside: polygon(0px 100px, 200px -100px, 200px 100px) content-box;
28 float: right;
29 }
30 </style>
31 <body>
32 <div class="container">
33 <div class="float-left"></div>
34 XXXXXXXXXX
35 XXXXXXXXXXX
36 XXXXXXXXXXXX
37 XXXXXXXXXXXXX
38 XXXXXXXXXXXXXX
39 XXXXXXXXXXXXXXX
40 XXXXXXXXXXXXXXXX
41 XXXXXXXXXXXXXXXXX
42 XXXXXXXXXXXXXXXXXX
43 XXXXXXXXXXXXXXXXXXX
44 <div class="float-right"></div>
45 XXXXXXXXXXXXXXXXXXX
46 XXXXXXXXXXXXXXXXXX
47 XXXXXXXXXXXXXXXXX
48 XXXXXXXXXXXXXXXX
49 XXXXXXXXXXXXXXX
50 XXXXXXXXXXXXXX
51 XXXXXXXXXXXXX
52 XXXXXXXXXXXX
53 XXXXXXXXXXX
54 XXXXXXXXXX
55 </div>
56 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698