OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script> | |
5 if (window.internals) | |
6 window.internals.settings.setCSSExclusionsEnabled(true); | |
7 </script> | |
8 <style> | 4 <style> |
9 #container { | 5 #container { |
10 font: 20px Ahem, sans-serif; | 6 font: 20px Ahem, sans-serif; |
11 line-height: 20px; | 7 line-height: 20px; |
12 border: 2px solid blue; | 8 border: 2px solid blue; |
13 position: relative; | 9 position: relative; |
14 width: 200px; | 10 width: 200px; |
15 height: 200px; | 11 height: 200px; |
16 margin-bottom: 60px; | 12 margin-bottom: 60px; |
17 } | 13 } |
(...skipping 15 matching lines...) Expand all Loading... |
33 <div id="container"> | 29 <div id="container"> |
34 <div id="border"></div> | 30 <div id="border"></div> |
35 <div id="shape-inside"> | 31 <div id="shape-inside"> |
36 X X X X X X X X X X X X X X X X | 32 X X X X X X X X X X X X X X X X |
37 </div> | 33 </div> |
38 </div> | 34 </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/> | 35 <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> | 36 <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> |
41 </body> | 37 </body> |
42 </html> | 38 </html> |
OLD | NEW |