Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Side by Side Diff: LayoutTests/fast/regions/region-content-flown-into-region.html

Issue 15027005: [CSS Regions] Elements in a region should be assignable to a named flow (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Integrates all feedback. One of the tests causes an ASSERT in ContentShell because of Region Ranges. Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <title>74144 - [CSS Regions] Elements in a region should be assignable t o a named flow</title>
5 <style>
6 div {
7 padding: 1px;
8 }
9 .content {
10 -webkit-flow-into: flow;
11 }
12 .region {
13 -webkit-flow-from: flow;
14 border:solid 1px #bbb;
15 }
16
17 .redirectContent {
18 -webkit-flow-into: redirectFlow;
19 }
20 .redirectRegion {
21 -webkit-flow-from: redirectFlow;
22 border:solid 1px #bbb;
23 }
24
25 .redirectContent2 {
26 -webkit-flow-into: redirectFlow2;
27 }
28 .redirectRegion2 {
29 -webkit-flow-from: redirectFlow2;
30 border:solid 1px #bbb;
31 }
32
33 .redirectContentToNowhere {
34 -webkit-flow-into: redirectToNowhere;
35 }
36 </style>
37 <template class="content">PASS r0: content that goes in the region.</tem plate>
38 </head>
39
40 <body>
41 <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>
42 <div class="region">
43 FAIL: this should not be visible 1.
44
45 <span class="redirectContentToNowhere">FAIL: this should not be visi ble (redirected to nowhere) 1.</span>
46
47 <div class="redirectContent">PASS r1: content in the region that has flow-into. 1.</div>
48
49 FAIL: this should not be visible 2.
50
51 <div>
52 FAIL: this should not be visible 3.
53
54 <div class="redirectContent">PASS r1: (enclosed in a div) conten t in the region that has flow-into. 2.
55 <div class="redirectContentToNowhere">FAIL: this should not be visible (redirected to nowhere) 2.</div>
56 <b>PASS r1: (enclosed in a div) content in the region that h as flow-into. 3.</b>.
57 </div>
58
59 FAIL: this should not be visible 4.
60 </div>
61
62 <div>
63 FAIL: this should not be visible 5.
64
65 <div class="redirectContent">PASS r1: (enclosed in a div) conten t in the region that has flow-into. 4
66 <span class="redirectContent2">PASS r2: content that is alre ady in a flow goes to another flow
67 <span class="redirectContentToNowhere">FAIL: this should not be visible (redirected to nowhere) 3.</span>.
68 </span>
69 .
70 </div>
71
72 FAIL: this should not be visible 7.
73 </div>
74
75 FAIL: this should not be visible 8.
76
77 <span class="redirectContentToNowhere">FAIL: this should not be visi ble (redirected to nowhere) 4.</span>
78
79 <div class="redirectContent">PASS r1: content in the region that has flow-into. 5.</div>
80
81 FAIL: this should not be visible 9.
82
83 <div>
84 FAIL: this should not be visible 10.
85
86 <svg class="redirectContent" xmlns="http://www.w3.org/2000/svg" version="1.1" height="70">
87 <text x="0" y="15">PASS: SVG text</text>
88 <text x="0" y="30" class="redirectContentToNowhere">PASS: SV G text redirected to a flow without regions. only svg root elements are directly collected by a render flow thread.</text>
89 <text x="0" y="45" class="redirectContent2">PASS: SVG text r edirected to a flow with regions. only svg root elements are directly collected by a render flow thread.</text>
90 </svg>
91
92 FAIL: this should not be visible 11.
93 </div>
94 </div>
95
96 <div class="redirectRegion">
97 FAIL: this should not be visible 12.
98 </div>
99
100 <div class="redirectRegion2">
101 FAIL: this should not be visible 13.
102 </div>
103
104 <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>
105 </body>
106 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698