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

Side by Side Diff: LayoutTests/fast/regions/counters/extract-unordered-lists-in-regions.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 on unordered lists - single list in named flo w, multiple lists in a named flow, multiple lists with nested lists in a named f low</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="The flow-into property can be applied to un ordered lists. Multiple lists extracted in a named flow should render in regions just as without regions.">
11 <style>
12 ul {
13 margin-top: 0;
14 margin-bottom: 0;
15 }
16 ul ul {
17 color: blue;
18 }
19 #list1 {
20 -webkit-flow-into: flow1;
21 }
22 #list21, #list22 {
23 -webkit-flow-into: flow2;
24 }
25 #list31, #list32 {
26 -webkit-flow-into: flow3;
27 }
28 #list21, #list31 {
29 margin-bottom: 1em;
30 }
31
32 .region {
33 background-color: lightgray;
34 margin: 1em;
35 float: left;
36 width: 20em;
37 height: 15em;
38 }
39 #region1 {
40 -webkit-flow-from: flow1;
41 }
42 #region2 {
43 -webkit-flow-from: flow2;
44 }
45 #region3 {
46 -webkit-flow-from: flow3;
47 }
48 </style>
49 </head>
50 <body>
51 <p>The test passes if there are three gray rectangles: the left one with a 4 items list, the middle one with two 2 items lists, the right one with two 5 items lists. <br> The blue items in the right rectangle should be indented and have a different marker.</p>
52 <ul id="list1">
53 <li>Unordered list, item 1</li>
54 <li>Unordered list, item 2</li>
55 <li>Unordered list, item 3</li>
56 <li>Unordered list, item 4</li>
57 </ul>
58 <ul id="list21">
59 <li>Unordered list 2-1, item 1</li>
60 <li>Unordered list 2-1, item 2</li>
61 </ul>
62 <ul id="list22">
63 <li>Unordered list 2-2, item 1</li>
64 <li>Unordered list 2-2, item 2</li>
65 </ul>
66 <ul id="list31">
67 <li>Unordered list 3-1, item 1</li>
68 <li>Unordered list 3-1, item 2
69 <ul>
70 <li>First unordered inner list, item 1</li>
71 <li>First unordered inner list, item 2</li>
72 </ul>
73 </li>
74 <li>Unordered list 3-1, item 3</li>
75 </ul>
76 <ul id="list32">
77 <li>Unordered list 3-2, item 1</li>
78 <li>Unordered list 3-2, item 2</li>
79 <li>Unordered list 3-2, item 3
80 <ul>
81 <li>Second unordered inner list, item 1</li>
82 <li>Second unordered inner list, item 2</li>
83 </ul>
84 </li>
85 </ul>
86 <div class="region" id="region1"></div>
87 <div class="region" id="region2"></div>
88 <div class="region" id="region3"></div>
89 </body>
90 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698