Chromium Code Reviews| Index: LayoutTests/fast/regions/region-content-flown-into-region.html |
| diff --git a/LayoutTests/fast/regions/region-content-flown-into-region.html b/LayoutTests/fast/regions/region-content-flown-into-region.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ca732367ba30edcb677324d3a665cea514ba1e75 |
| --- /dev/null |
| +++ b/LayoutTests/fast/regions/region-content-flown-into-region.html |
| @@ -0,0 +1,108 @@ |
| +<html> |
| + <head> |
| + <title>228566 - [CSS Regions] Elements in a region should be assignable to a named flow</title> |
| + <style type="text/css"> |
| + div { |
| + padding: 1; |
| + } |
| + .content { |
| + -webkit-flow-into: flow; |
| + } |
| + .region { |
| + -webkit-flow-from: flow; |
| + border:solid 1px red; |
| + } |
| + |
| + .redirectContent { |
| + -webkit-flow-into: redirectFlow; |
| + } |
| + .redirectRegion { |
| + -webkit-flow-from: redirectFlow; |
| + border:solid 1px blue; |
| + margin-top: 10px; |
| + margin-bottom: 10px; |
| + } |
| + |
| + .redirectContent2 { |
| + -webkit-flow-into: redirectFlow2; |
| + } |
| + .redirectRegion2 { |
| + -webkit-flow-from: redirectFlow2; |
| + border:solid 1px green; |
| + } |
| + |
| + .redirectContentToNowhere { |
| + -webkit-flow-into: redirectToNowhere; |
| + } |
| + |
| + .displayNone { |
| + display: none; |
| + } |
| + </style> |
| + <template class="content">PASS r0: content that goes in the region.</template> |
|
esprehn
2013/06/28 20:29:36
Same thing, this is the same as an empty <div>. If
|
| + </head> |
| + |
| + <body> |
| + <div class="region"> |
| + FAIL: this should not be visible 1. |
| + |
| + <span class="redirectContentToNowhere">FAIL: this should not be visible (redirected to nowhere) 1.</span> |
| + |
| + <div class="redirectContent">PASS r1: content in the region that has flow-into. 1.</div> |
| + |
| + FAIL: this should not be visible 2. |
| + |
| + <div> |
| + FAIL: this should not be visible 3. |
| + |
| + <div class="redirectContent">PASS r1: (enclosed in a div) content in the region that has flow-into. 2. |
| + <div class="redirectContentToNowhere">FAIL: this should not be visible (redirected to nowhere) 2.</div> |
| + <b><br/>PASS r1: (b enclosed in the div above) content in the region that has flow-into. 3.</b> |
| + </div> |
| + |
| + FAIL: this should not be visible 4. |
| + </div> |
| + |
| + <div> |
| + FAIL: this should not be visible 5. |
| + |
| + <div class="redirectContent">PASS r1: (enclosed in a div) content in the region that has flow-into. 4. |
| + <span class="redirectContent2">PASS r2: content that is already in a flow goes to another flow |
| + <span class="redirectContentToNowhere">FAIL: this should not be visible (redirected to nowhere) 3.</span>. |
| + </span> |
| + </div> |
| + |
| + FAIL: this should not be visible 7. |
| + </div> |
| + |
| + FAIL: this should not be visible 8. |
| + |
| + <span class="redirectContentToNowhere">FAIL: this should not be visible (redirected to nowhere) 4.</span> |
| + |
| + <div class="redirectContent">PASS r1: content in the region that has flow-into. 5.</div> |
| + |
| + FAIL: this should not be visible 9. |
| + |
| + <div class="displayNone"> |
| + FAIL: this should not be visible 10. |
| + |
| + <div class="redirectContent">FAIL r1: (enclosed in a div) content in the region that has flow-into but display:none |
| + <div class="redirectContentToNowhere">FAIL: this should not be visible (redirected to nowhere AND display:none)</div> |
| + <b><br/>FAIL r1: (b enclosed in the div above) content in the region that has flow-into but display:none</b> |
| + </div> |
| + |
| + FAIL: this should not be visible 4. |
| + </div> |
| + </div> |
| + |
| + <div class="redirectRegion"> |
| + FAIL: this should not be visible 10. |
| + </div> |
| + |
| + <div class="redirectRegion2"> |
| + FAIL: this should not be visible 11. |
| + </div> |
| + |
| + <p><a href="http://code.google.com/p/chromium/issues/detail?id=228566">Bug 228566</a> - [CSS Regions] Elements in a region should be assignable to a named flow</p> |
| + </body> |
| +</html> |