OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 <html> | |
3 <head> | |
4 <style> | |
5 html { -webkit-writing-mode: vertical-rl; } | |
6 | |
7 #content { | |
8 -webkit-flow-into: flow1; | |
9 padding: 5px; | |
10 font: 12px/16px monospace; | |
11 } | |
12 | |
13 #first-box { | |
14 border: 1px solid blue; | |
15 } | |
16 | |
17 #second-box { | |
18 margin:10px; | |
19 border: 1px solid green; | |
20 } | |
21 | |
22 #second-box > p { margin: 0; } | |
23 | |
24 #region1, #region2, #region3 { | |
25 border: 1px solid black; | |
26 -webkit-flow-from: flow1; | |
27 } | |
28 | |
29 #region1 { | |
30 width: 200px; | |
31 height: 100px; | |
32 } | |
33 | |
34 #region2 { | |
35 width: 300px; | |
36 height: 180px; | |
37 } | |
38 | |
39 #region3 { | |
40 width: 120px; | |
41 height: 120px; | |
42 } | |
43 </style> | |
44 </head> | |
45 <body> | |
46 <div id="content"> | |
47 <div id="first-box"> | |
48 <div id="second-box"> | |
49 <p>This line of text should not get out of the region. This
line of text should not get out of the region. This line of text should not get
out of the region. This line of text should not get out of the region.</p> | |
50 <p>This line of text should not get out of the region. This
line of text should not get out of the region. This line of text should not get
out of the region. This line of text should not get out of the region.</p> | |
51 <p>This line of text should not get out of the region.</p> | |
52 </div> | |
53 </div> | |
54 </div> | |
55 | |
56 <div id="container"> | |
57 <div id="region1"></div> | |
58 <div id="region2"></div> | |
59 <div id="region3"></div> | |
60 </div> | |
61 </body> | |
62 </html> | |
OLD | NEW |