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..4a37d8de007ae06d2137c4c85d3a4461058e3122 |
| --- /dev/null |
| +++ b/LayoutTests/fast/regions/region-content-flown-into-region.html |
| @@ -0,0 +1,92 @@ |
| +<html> |
| + <head> |
| + <title>74144 - [CSS Regions] Elements in a region should be assignable to a named flow</title> |
| + <style type="text/css"> |
| + div { |
| + padding: 1px; |
| + } |
| + .content { |
| + -webkit-flow-into: flow; |
| + } |
| + .region { |
| + -webkit-flow-from: flow; |
| + border:solid 1px #bbb; |
| + } |
| + |
| + .redirectContent { |
| + -webkit-flow-into: redirectFlow; |
| + } |
| + .redirectRegion { |
| + -webkit-flow-from: redirectFlow; |
| + border:solid 1px #bbb; |
| + } |
| + |
| + .redirectContent2 { |
| + -webkit-flow-into: redirectFlow2; |
| + } |
| + .redirectRegion2 { |
| + -webkit-flow-from: redirectFlow2; |
| + border:solid 1px #bbb; |
| + } |
| + |
| + .redirectContentToNowhere { |
| + -webkit-flow-into: redirectToNowhere; |
| + } |
| + </style> |
| + <template class="content">PASS r0: content that goes in the region.</template> |
| + </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>PASS r1: (enclosed in a div) 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> |
| + |
| + <div class="redirectRegion"> |
| + FAIL: this should not be visible 10. |
| + </div> |
| + |
| + <div class="redirectRegion2"> |
| + FAIL: this should not be visible 11. |
| + </div> |
| + |
|
Julien - ping for review
2013/05/09 15:30:18
The SVG case, though handled in the code, is never
Mihai Maerean
2013/05/09 16:25:55
Ok, will do.
|
| + <p><a href="https://bugs.webkit.org/show_bug.cgi?id=74144">Bug 74144</a> - [CSS Regions] Elements in a region should be assignable to a named flow</p> |
| + </body> |
| +</html> |