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

Side by Side Diff: LayoutTests/fast/regions/counters/extract-list-items-008.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 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>CSS Test: flow-into only on specific list items from multiple lis ts</title>
5 <link rel="author" title="Mihai Balan" href="mibalan@adobe.com">
6 <link rel="help" href="http://www.w3.org/TR/css3-regions/#properties-and -rules" />
7 <link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into- property" />
8 <link rel="stylesheet" type="text/css" href="../resources/font-smoothing -disabler.css">
9 <meta name="flags" content="">
10 <meta name="assert" content="Test checks that extracting only certain li st items from a list into a named flow preseves their numbering and markings bot h in the region and outside the region.">
11 <style>
12 ul {
13 list-style-type: disc;
14 }
15 ul ul {
16 list-style-type: circle;
17 }
18 ol {
19 list-style-type: decimal;
20 }
21 ul ol {
22 list-style-type: upper-roman;
23 }
24
25 .extract {
26 -webkit-flow-into: f1;
27 color: blue;
28 }
29 .container {
30 color: #006400;
31 background-color: lightgreen;
32 margin: 2em;
33
34 }
35 .region {
36 margin: 2em;
37 background-color: lightblue;
38 }
39 #r1 {
40 -webkit-flow-from: f1;
41 }
42 </style>
43 </head>
44 <body>
45 <!-- Individual list items are extracted from ordered/unordered lists. S ome of them remain
46 in the normal document flow while others are rendered in a region. Both the items that remain
47 in the normal flow and items in the named flow should preserve their num ber/marks just as regions
48 were not applied at all. -->
49 <p>Test passes if you see two rectangles, one green and one blue, as des cribed below:<br>
50 The green rectangle should contain two lists, separated by a small verti cal space. The <strong>first list</strong> should be a numbered list starting wi th 2 that has 2 items; the <strong>second list</strong> should be a bullet list with 3 items, the last one being indented and with a different type of bullet.< br>
51 The blue rectangle should contain a list with items numbered/marked in d ifferent ways, as follows. Except where noted, the numbers/markers should be <em >outside</em> the the blue rectangle. The <strong>first item</strong> should be numbered with the number 1, in decimal. The <strong>second item</strong> should be bulleted. The <strong>third and fourth items</strong> should be numbered with 2 and 1 respectively, with roman numerals. Also, the <strong>third item</strong > should be indented (with the number inside the blue rectangle). The <strong>fo urth and fifth items</strong> should be bulleted, with the <strong>fourth item</ strong> having a different kind of bullet than the second and fifth item.
52 </p>
53 <div class="container">
54 <ol>
55 <li class="extract">Numbered list, item 1</li>
56 <li>Numbered list, item 2</li>
57 <li>Numbered list, item 3</li>
58 </ol>
59 <ul>
60 <li>Bullet list, item 1</li>
61 <li class="extract">Bullet list, item 2
62 <ol>
63 <li class="extract">Numbered sub-list, item I</li>
64 <li>Numbered sub-list, item II</li>
65 </ol>
66 </li>
67 <li>Bullet list, item 3
68 <ul>
69 <li class="extract">Bullet sub-list, item 1</li>
70 <li>Bullet sub-list, item 2</li>
71 </ul>
72 </li>
73 <li class="extract">Bullet list, item 4</li>
74 </ul>
75 </div>
76 <div class="region" id="r1"></div>
77 </body>
78 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698