OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <head> |
| 4 <script> |
| 5 if (window.internals) |
| 6 window.internals.settings.setCSSExclusionsEnabled(true); |
| 7 </script> |
| 8 <style> |
| 9 #content { |
| 10 font: 18px Ahem, sans-serif; |
| 11 line-height: 20px; |
| 12 -webkit-flow-into: flow; |
| 13 } |
| 14 .region { |
| 15 float: left; |
| 16 margin-right: 10px; |
| 17 width: 300px; |
| 18 height: 300px; |
| 19 background-color: yellow; |
| 20 overflow: hidden; |
| 21 border: 1px solid black; |
| 22 -webkit-flow-from: flow; |
| 23 } |
| 24 #shape_inside { |
| 25 -webkit-shape-inside: rectangle(50px, 0px, 250px, 300px); |
| 26 background-color: orange; |
| 27 } |
| 28 </style> |
| 29 </head> |
| 30 <body> |
| 31 |
| 32 <div class="region"></div> |
| 33 <div id="shape_inside" class="region"></div> |
| 34 <div class="region" style="float: none"></div> |
| 35 |
| 36 <div id="content"> |
| 37 <p>Despite the passage</p> of time, Major Quilan still suffers grief and ber
eavement from the death of his wife, killed during the Chelgrian civil war that
resulted from the Culture's interference. |
| 38 <p>Quilan is offered the chance to avenge the lost Chelgrians who died
in the civil war and is inducted into a plot to strike back at the Culture.</p> |
| 39 <p>As part of the plot, his |
| 40 <p>"soulkeeper"</p> |
| 41 (a device normally used to store its owner's personality upon their
death) is equipped with both the mind of a long-dead Chelgrian general and a dev
ice that can transport wormholes connected to weapons caches. Quilan is then sen
t to Masaq' Orbital, ostensibly to persuade Mahrai Ziller to return to his nativ
e Chel but is in reality on a suicide mission to destroy the Orbital's Hub Mind.
To protect him from detection at Masaq', Quilan's memory is selectively blanked
until he reaches his target. |
| 42 </p> |
| 43 </p> |
| 44 </div> |
| 45 |
| 46 <p>Requires Ahem font.The block content - contains multiple nested blocks - flow
s into three regions, a 250x300px rectangle shape-inside property with 50px left
offset is applied to the second (orange) region. The content should have a 50px
left offset in the orange rectangle and should flow into the third rectangle wi
thout any offset.<br/> |
| 47 <p>Bug <a href="http://webkit.org/b/115456">115456</a>: [CSS Regions][CSS Exclus
ions] Shape-inside on regions should respect region borders and paddings</p> |
| 48 |
| 49 </body> |
| 50 </html> |
OLD | NEW |