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-001.html" /> | |
9 <meta name="assert" content="The value attribute has no effect when applied
to a li element whose parent is a non-ol element." /> | 8 <meta name="assert" content="The value attribute has no effect when applied
to a li element whose parent is a non-ol element." /> |
10 </head> | 9 </head> |
11 <body> | 10 <body> |
12 <h1>Description</h1> | 11 <h1>Description</h1> |
13 <p>This test continues to validate the li element.</p> | 12 <p>This test continues to validate the li element.</p> |
14 | 13 |
15 <p>The spec states:</p> | 14 <p>The spec states:</p> |
16 <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> | 15 <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> |
17 <p>This reftest verifies that the value attribute has no effect when applied
to a list item NOT having an ol parent.</p> | 16 <p>This reftest verifies that the value attribute has no effect when applied
to a list item NOT having an ol parent.</p> |
18 <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 ar
e then available programatically.</p> | 17 <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 ar
e then available programatically.</p> |
(...skipping 21 matching lines...) Expand all Loading... |
40 <li> | 39 <li> |
41 <menu label="ToolbarLabel"> | 40 <menu label="ToolbarLabel"> |
42 <li><a>Toolbar Menu Item</a></li> | 41 <li><a>Toolbar Menu Item</a></li> |
43 <li><a>Toolbar Menu Item</a></li> | 42 <li><a>Toolbar Menu Item</a></li> |
44 </menu> | 43 </menu> |
45 </li> | 44 </li> |
46 </menu> | 45 </menu> |
47 | 46 |
48 </body> | 47 </body> |
49 </html> | 48 </html> |
OLD | NEW |