OLD | NEW |
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>li element</title> | 5 <title>li 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-li-elemen
t"> | 7 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-li-elemen
t"> |
8 <link rel="match" href="grouping-li-reftest-002-ref.html" /> | |
9 <meta name="assert" content="li elements with ol parents have ordinal values
." /> | 8 <meta name="assert" content="li elements with ol parents have ordinal values
." /> |
10 <style type="text/css"> | 9 <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;} | 10 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 span p {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-le
ft: 5em; padding-top: 0; padding-bottom: 0; font-family: monospace;} | 11 span span p {margin-left: 0; margin-top: 0; margin-bottom: 0; padding-le
ft: 5em; padding-top: 0; padding-bottom: 0; font-family: monospace;} |
13 </style> | 12 </style> |
14 </head> | 13 </head> |
15 <body> | 14 <body> |
16 <h1>Description</h1> | 15 <h1>Description</h1> |
17 <p>This test continues to validate the li element.</p> | 16 <p>This test continues to validate the li element.</p> |
18 | 17 |
19 <p>The spec states:</p> | 18 <p>The spec states:</p> |
20 <blockquote>"If the parent element is an ol element, then the li element has
an ordinal value. The value attribute is processed relative to the element's pa
rent ol element (q.v.), if there is one. If there is not, the attribute has no e
ffect."</blockquote> | 19 <blockquote>"If the parent element is an ol element, then the li element has
an ordinal value. The value attribute is processed relative to the element's pa
rent ol element (q.v.), if there is one. If there is not, the attribute has no e
ffect."</blockquote> |
21 <p>This reftest verifies that the value attribute has an effect when applied
to a list item with an ol parent.</p> | 20 <p>This reftest verifies that the value attribute has an effect when applied
to a list item with an ol parent.</p> |
22 <p>A reftest is necessary because the values of li elements as calculated by
the user agent are NOT available programatically. Only explicitly-set values a
re then available programatically.</p> | 21 <p>A reftest is necessary because the values of li elements as calculated by
the user agent are NOT available programatically. Only explicitly-set values a
re then available programatically.</p> |
23 <p>This reftest passes if you see the numbers 1. 2. 3. below the words "Orde
red List"</p> | 22 <p>This reftest passes if you see the numbers 1. 2. 3. below the words "Orde
red List"</p> |
24 | 23 |
25 <span> | 24 <span> |
26 <p>Ordered List</p> | 25 <p>Ordered List</p> |
27 <span> | 26 <span> |
28 <p>1.</p> | 27 <p>1.</p> |
29 <p>2.</p> | 28 <p>2.</p> |
30 <p>3.</p> | 29 <p>3.</p> |
31 </span> | 30 </span> |
32 </span> | 31 </span> |
33 | 32 |
34 </body> | 33 </body> |
35 </html> | 34 </html> |
OLD | NEW |