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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-percentage-expected.html

Issue 19865002: [CSS Shapes] Port shape-inside on regions and shape's content overflow from WebKit (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: [CSS Shapes] Port shape-inside on regions and shape's content overflow from WebKit Created 7 years, 5 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <style> 4 <style>
5 #container { 5 #container {
6 font: 20px Ahem, sans-serif;
7 line-height: 20px;
6 border: 2px solid blue; 8 border: 2px solid blue;
7 position: relative; 9 position: relative;
8 width: 200px; 10 width: 200px;
9 height: 200px; 11 height: 200px;
12 margin-bottom: 60px;
10 } 13 }
11 #border { 14 #border {
12 position: absolute; 15 position: absolute;
13 left: 48px; 16 left: 48px;
14 width: 100px; 17 width: 100px;
15 height: 50px; 18 height: 50px;
16 border: 2px solid green; 19 border: 2px solid green;
17 } 20 }
18 .spacer { 21 .spacer {
19 width: 50px; 22 width: 50px;
20 height: 50px; 23 height: 50px;
21 } 24 }
22 </style> 25 </style>
23 </head> 26 </head>
24 <body> 27 <body>
25 <div id="container"> 28 <div id="container">
26 <div id="border"></div> 29 <div id="border"></div>
27 <div id="shape-inside"> 30 <div id="shape-inside">
28 <div class="spacer" style="float:left"></div> 31 <div class="spacer" style="float:left"></div>
29 <div class="spacer" style="float:right"></div> 32 <div class="spacer" style="float:right"></div>
30 This text should wrap inside the green rectangle, and overflow shoul d wrap 33 X X X X X X
31 inside the blue rectangle. 34 </div>
35 <div style="padding-top: 160px;">
36 X X X X X X X X X X
32 </div> 37 </div>
33 </div> 38 </div>
39 <p>Requires Ahem font. The content should start inside the green rectangle ( shape-inside) and the overflow should be pushed below the content box (content-b ox's margin is blue). <br/>
40 <p>Bug <a href="http://webkit.org/b/114526">114526</a>: [CSS Exclusions] sha pe-inside overflow should be pushed to the outside of the content box</p>
34 </body> 41 </body>
35 </html> 42 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698