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

Side by Side Diff: LayoutTests/fast/exclusions/shape-outside-floats/shape-outside-floats-right-margin-polygon-expected.html

Issue 14220005: Add support for the simple case of shape-margin polygonal shape-outside (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add support for the simple case of shape-margin polygonal shape-outside Created 7 years, 8 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 <html>
3 <head>
4 <style>
5 #container-border {
6 border: 1px solid black;
7 margin: 10px;
8 width: 200px;
9 }
10
11 #container {
12 font: 20px/1 Ahem, sans-serif;
13 width: 200px;
14 height: 300px;
15 }
16
17 #float-right {
18 float: right;
19 position: relative;
20 overflow: visible;
21 }
22
23 #svg-shape {
24 position: absolute;
25 display:block;
26 top: -1px;
27 left: -141px;
28 width: 142px;
29 height: 102px;
30 }
31
32 #expected-text {
33 position: absolute;
34 top: 0px;
35 left: -160px;
36 }
37
38 </style>
39
40 <body>
41 <p>The right edges of the five black squares should follow the left side of the outer rounded rectangle boundary and each square should appear on a subsequent l ine.</p>
42 <div id="container">
43 <div id="float-right">
44 <div id="expected-text">X<br/>X<br/>X<br/>X<br/>X</div>
45 <svg id="svg-shape" xmlns="http://www.w3.org/2000/">
46 <rect x="20" y="20" width="100" height="60" fill="none" stroke="gree n"></rect>
47 <rect x="1" y="1" width="140" height="100" rx="20" ry="20" fill="non e" stroke="green"></rect>
48 </svg>
49 </div>
50 </div>
51 </body>
52 </html>
53
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698