| OLD | NEW |
| (Empty) |
| 1 <!doctype html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <style> | |
| 5 .flowContent { -webkit-font-smoothing: none; font-size: 50px; color:
green; font-family: Ahem; } | |
| 6 | |
| 7 .regionSize { margin: 0; padding: 0; width: 260px; border: none; } | |
| 8 #region { margin-left: 8px; top: 150px; } | |
| 9 #region2 { top: 150px; left: 300px; } | |
| 10 #region3 { top: 150px; left: 600px; } | |
| 11 | |
| 12 .redBox { position: absolute; height: 50px; background-color: red; } | |
| 13 #red { top: 200px; } | |
| 14 #red1 { top: 200px; left: 600px; } | |
| 15 #red2 { top: 200px; left: 300px; } | |
| 16 </style> | |
| 17 </head> | |
| 18 <body> | |
| 19 <p>The three regions in the region chain all have auto-height. Their hei
ght is computed taking regions breaks into account.</p> | |
| 20 <p>On success, you should see 3 horizontal green lines.</p> | |
| 21 <div id="red" class="redBox regionSize"></div> | |
| 22 <div id="red1" class="redBox regionSize"></div> | |
| 23 <div id="red2" class="redBox regionSize"></div> | |
| 24 | |
| 25 <dialog open id="region" class="regionSize"> | |
| 26 <p class="flowContent">aaaaa</p> | |
| 27 </dialog> | |
| 28 <dialog open id="region2" class="regionSize"> | |
| 29 <p class="flowContent">aaaaa</p> | |
| 30 </dialog> | |
| 31 <dialog open id="region3" class="regionSize"> | |
| 32 <p class="flowContent">aaaaa</p> | |
| 33 </dialog> | |
| 34 </body> | |
| 35 </html> | |
| OLD | NEW |