OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <html style="direction:rtl"> | |
3 <link rel="stylesheet" href="resources/region-style.css"> | |
4 <style> | |
5 body { -webkit-font-smoothing: none; font: 16px/1.25 monospace; } | |
6 | |
7 .secondBox { | |
8 margin: 40px; | |
9 direction: ltr; | |
10 } | |
11 | |
12 #region1, #region2, #region3 { | |
13 border: 1px solid black; | |
14 -webkit-flow-from: flow1; | |
15 } | |
16 | |
17 #region1 { | |
18 width: 200px; | |
19 height: 100px; | |
20 } | |
21 | |
22 #region2 { | |
23 width: 300px; | |
24 height: 180px; | |
25 } | |
26 | |
27 #region3 { | |
28 width: 120px; | |
29 height: 120px; | |
30 } | |
31 </style> | |
32 <p style="direction:ltr">The first and last lines of text in the regions below s
hould be clipped to the green box. The overflow | |
33 section sizes itself independently in each region.</p> | |
34 | |
35 <div class="overflowContentFlow"> | |
36 <div class="overflowFirstBox"> | |
37 <div class="overflowSecondBox secondBox"> | |
38 <div style="width: 500px">Clipped line of text that should not be vi
sible.</div> | |
39 <p>These lines will not spill out of the regions. These lines will n
ot spill out of the regions. | |
40 These lines will not spill out of the regions. </p> | |
41 <div style="width: 500px">Clipped line of text that should not be vi
sible.</div> | |
42 </div> | |
43 </div> | |
44 </div> | |
45 | |
46 <div id="container"> | |
47 <div id="region1"></div> | |
48 <div id="region2"></div> | |
49 <div id="region3"></div> | |
50 </div> | |
51 </html> | |
OLD | NEW |