| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE HTML> | |
| 2 | |
| 3 <html> | |
| 4 <head> | |
| 5 <link href="resources/region-style.css" rel="stylesheet" type="text/css"/> | |
| 6 <style type="text/css"> | |
| 7 html { | |
| 8 -webkit-writing-mode: vertical-lr; | |
| 9 -webkit-font-smoothing: none; | |
| 10 } | |
| 11 | |
| 12 .region{ | |
| 13 width: 100px; | |
| 14 height: 300px; | |
| 15 border: solid 1px #888; /* to stop the margin collapsing */ | |
| 16 } | |
| 17 </style> | |
| 18 </head> | |
| 19 <body> | |
| 20 <div> | |
| 21 The words "flow content" in green should display after this div, | |
| 22 and there should be two copies of this content that match. | |
| 23 </div> | |
| 24 <div id="region1" class="region forcedStackingContext"> | |
| 25 <div id="source" class="pass"> | |
| 26 <p>flow content</p> | |
| 27 </div> | |
| 28 </div> | |
| 29 <div> | |
| 30 The words "flow content" in green should display after this div, | |
| 31 and there should be two copies of this content that match. | |
| 32 </div> | |
| 33 <div class="pass"> | |
| 34 <p>flow content</p> | |
| 35 </div> | |
| 36 | |
| 37 <p>This test checks that content can be redirected to a region. It also | |
| 38 tries out a validation strategy that recreates the intended display | |
| 39 using non-region markup. If top does not match the bottom then the | |
| 40 result should be rejected.</p> | |
| 41 </body> | |
| 42 </html> | |
| OLD | NEW |