| <!DOCTYPE HTML> |
| |
| <html> |
| <head> |
| |
| <!-- This test checks that content can be redirected to a region. It also |
| tries out a validation strategy that recreates the intended display |
| using non-region markup. If top does not match the bottom then the |
| result should be rejected. --> |
| |
| <style type="text/css"> |
| html { |
| -webkit-font-smoothing: none; |
| } |
| |
| #source{ |
| -webkit-flow-into: main-thread; |
| } |
| |
| .region{ |
| -webkit-flow-from: main-thread; |
| height:100px; |
| width:300px; |
| border: solid 1px #888; |
| } |
| |
| .pass{ |
| color: green; |
| } |
| |
| .error{ |
| color: red; |
| } |
| </style> |
| </head> |
| <body> |
| <div id="source" class="pass"> |
| <p>flow content</p> |
| </div> |
| <div> |
| The words "flow content" in green should display after this div, |
| and there should be two copies of this content that match. |
| </div> |
| <div id="region1" class="region"> |
| <div class="error">FAIL if this text is displayed.</div> |
| </div> |
| <div> |
| The words "flow content" in green should display after this div, |
| and there should be two copies of this content that match. |
| </div> |
| <div class="pass"> |
| <p>flow content</p> |
| </div> |
| </body> |
| </html> |