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 .content{ | 5 .content{ |
10 width: 400px; | 6 width: 400px; |
11 height: 800px; | 7 height: 800px; |
12 -webkit-shape-inside: polygon(0 0, 100% 0, 100% 100%); | 8 -webkit-shape-inside: polygon(0 0, 100% 0, 100% 100%); |
13 outline: 2px solid black; | 9 outline: 2px solid black; |
14 } | 10 } |
15 .pad-first p:first-child{ | 11 .pad-first p:first-child{ |
16 padding-top: 100px; | 12 padding-top: 100px; |
17 } | 13 } |
(...skipping 26 matching lines...) Expand all Loading... |
44 of making a daisy-chain would be worth the trouble of getting up and | 40 of making a daisy-chain would be worth the trouble of getting up and |
45 picking the daisies, when suddenly a White Rabbit with pink eyes ran | 41 picking the daisies, when suddenly a White Rabbit with pink eyes ran |
46 close by her.</p> | 42 close by her.</p> |
47 </div> | 43 </div> |
48 <p> | 44 <p> |
49 A triangle shape is defined through the left-top, right-top, right-bottom points
of the rectangle. | 45 A triangle shape is defined through the left-top, right-top, right-bottom points
of the rectangle. |
50 The content should respect the shape-inside polygon boundaries after we applied
the padding.</p> | 46 The content should respect the shape-inside polygon boundaries after we applied
the padding.</p> |
51 <p>Bug <a href="http://webkit.org/b/112929 ">112929</a>: [CSS Exclusions] Increa
sing padding does not correctly layout child blocks</p> | 47 <p>Bug <a href="http://webkit.org/b/112929 ">112929</a>: [CSS Exclusions] Increa
sing padding does not correctly layout child blocks</p> |
52 </body> | 48 </body> |
53 </html> | 49 </html> |
OLD | NEW |