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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/grouping-content/the-ol-element/grouping-ol-rev-reftest-001.html

Issue 2502433002: Import wpt@8dc7bfef80f5df47e14509d1496bdbc5ec24c91c (Closed)
Patch Set: Modify TestExpectations or download new baselines for tests. Created 4 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title>ol element</title> 5 <title>ol element</title>
6 <link rel="author" title="dzenana" href="mailto:dzenana.trenutak@gmail.com"> 6 <link rel="author" title="dzenana" href="mailto:dzenana.trenutak@gmail.com">
7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ol-elemen t"> 7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-ol-elemen t">
8 <link rel="match" href="grouping-ol-rev-reftest-001-ref.html" /> 8 <link rel="match" href="grouping-ol-rev-reftest-001-ref.html" />
9 <meta name="assert" content="OL's reversed attribute creates a descending li st." /> 9 <meta name="assert" content="OL's reversed attribute creates a descending li st." />
10 <style type="text/css"> 10 <style type="text/css">
11 span p {display:list-item; margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-top: 0; padding-bottom: 0;} 11 span p {display:list-item; margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-top: 0; padding-bottom: 0;}
12 span li {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-top: 0; padding-bottom: 0; font-family: monospace;} 12 span li {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 0; padding-top: 0; padding-bottom: 0; font-family: monospace;}
13 span ol {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 5em; padding-top: 0; padding-bottom: 0; font-family: monospace; 13 span ol {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-left: 5em; padding-top: 0; padding-bottom: 0; font-family: monospace;
14 list-style-position: inside; list-style-type: decimal; } 14 list-style-position: inside; list-style-type: decimal; }
15 </style> 15 </style>
16 </head> 16 </head>
17 <body> 17 <body>
18 <h1>Description</h1> 18 <h1>Description</h1>
19 <p>This test continues to validate the ol element.</p> 19 <p>This test continues to validate the ol element.</p>
20 20
21 <p>These reftests are necessary because the values of the ol's li children a s calculated by the user agent are NOT available programatically. Only explicitl y-set values are available programatically. Therefore, we need to check actual r endering against expected rendering.</p> 21 <p>These reftests are necessary because the values of the ol's li children a s calculated by the user agent are NOT available programatically. Only explicitl y-set values are available programatically. Therefore, we need to check actual r endering against expected rendering.</p>
22 22
23 <p>The spec states:</p>
24 <blockquote>"The reversed attribute is a boolean attribute. If present, it i ndicates that the list is a descending list (..., 3, 2, 1). If the attribute is omitted, the list is an ascending list (1, 2, 3, ...)."</blockquote>
25
26 <p><strong>This reftest passes if you see an ascending list followed by two descending lists.</strong></p> 23 <p><strong>This reftest passes if you see an ascending list followed by two descending lists.</strong></p>
27 <p>(Note: each list item has no content; only the sequencing should appear.) </p> 24 <p>(Note: each list item has no content; only the sequencing should appear.) </p>
28 25
29 <span> 26 <span>
30 27
31 <p>Ordered List</p> 28 <p>Ordered List</p>
32 <ol> 29 <ol>
33 <li></li> 30 <li></li>
34 <li></li> 31 <li></li>
35 <li></li> 32 <li></li>
(...skipping 14 matching lines...) Expand all
50 </ol> 47 </ol>
51 48
52 </span> 49 </span>
53 50
54 <script> 51 <script>
55 document.getElementById("reverse_me").reversed = true; 52 document.getElementById("reverse_me").reversed = true;
56 </script> 53 </script>
57 54
58 </body> 55 </body>
59 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698