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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex.html

Issue 264453009: [CSS Shapes] shape-outside polygon can fail when line-top intersects a vertex (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove -webkit-font-smoothing Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 .container {
4 width: 400px;
5 text-align: right;
6 font: 50px/1 Ahem, sans-serif;
7 color: rgba(0, 255, 0, 0.5);
8 }
9
10 .shape {
11 float: right;
12 width: 200px;
13 height: 200px;
14 shape-outside: content-box polygon(0 0, 100% 0, 100% 100%, 50% 100%, 50% 50% , 0 50%);
15 background-image: url("data:image/svg+xml;UTF-8,<svg xmlns='http://www.w3.or g/2000/svg' width='100%' height='100%'><polygon points='0,0 200,0 200,200 100,20 0 100,100, 0,100' fill='blue'/></svg>");
16 }
17 </style>
18 <p>The green rectangles should wrap around the left edge of the blue shape.</p>
19 <div class='container'>
20 <div class='shape'></div>
21 X<br>X<br>X<br>X<br>X
22 </div>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/shapes/shape-outside-floats/shape-outside-polygon-zero-vertex-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698