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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/grouping-content/the-ol-element/grouping-ol-start-reftest-002-ref-expected.html

Issue 2303013002: Add UMA metric to track usage of sending a mousedown to select elements. (Closed)
Patch Set: W3C auto test import CL. Created 4 years, 3 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 <meta charset="utf-8">
5 <title>ol element</title>
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">
8 <link rel="match" href="grouping-ol-start-reftest-002-ref.html" />
9 <meta name="assert" content="Sequences produced by calculated values for LI elements within OL match spec's expectations. (part two)" />
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;}
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;
14 list-style-position: inside; list-style-type: decimal; }
15 </style>
16 </head>
17 <body>
18 <p>This test continues to validate the ol element. This reftest is necessary because the values of the ol's li children as calculated and displayed by the u ser agent are NOT systematically available programatically. Only explicitly-set values are available programatically. Therefore, we need to check actual renderi ng against expected rendering.</p>
19
20 <p>The spec states:</p>
21 <blockquote><p>The first item in the list has the ordinal value given by the ol element's start attribute, unless that li element has a value attribute with a value that can be successfully parsed, in which case it has the ordinal value given by that value attribute.</p>
22 <p>Each subsequent item in the list has the ordinal value given by its value attribute, if it has one, or, if it doesn't, the ordinal value of t he previous item, plus one if the reversed is absent, or minus one if it is pres ent.</p></blockquote>
23
24 <p><strong>This reftest passes if each list's items are numbered identically to the horizontal sequence immediately above those list items.</strong></p>
25 <p>(Note: each list item has no content; only the sequencing should appear.) </p>
26
27 <span>
28
29 <p>4, 5, 6 (ol has start attribute of 2 which is overridden by first list it em's value attribute of 4)</p>
30 <ol start="2">
31 <li value="4"></li>
32 <li></li>
33 <li></li>
34 </ol>
35
36 <p>4, 5, 6 (ol has start attribute of -10 which is overridden by first list item's value attribute of 4)</p>
37 <ol start="-10">
38 <li value="4"></li>
39 <li></li>
40 <li></li>
41 </ol>
42
43 <p>1, 5, 6 (2nd list item has value attribute of 5)</p>
44 <ol>
45 <li></li>
46 <li value="5"></li>
47 <li></li>
48 </ol>
49
50 <p>-1, -5, -4 (list has a start attribute of -1, and 2nd list item has value attribute of -5)</p>
51 <ol start="-1">
52 <li></li>
53 <li value="-5"></li>
54 <li></li>
55 </ol>
56
57 </span>
58
59
60 </body>
61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698