inheritance.html (919B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Inheritance of CSS Lists properties</title> 6 <link rel="help" href="https://drafts.csswg.org/css-lists/#property-index"> 7 <meta name="assert" content="Properties inherit or not according to the spec."> 8 <meta name="assert" content="Properties have initial values according to the spec."> 9 <script src="/resources/testharness.js"></script> 10 <script src="/resources/testharnessreport.js"></script> 11 <script src="/css/support/inheritance-testcommon.js"></script> 12 </head> 13 <body> 14 <div id="container"> 15 <div id="target"></div> 16 </div> 17 <script> 18 assert_not_inherited('counter-increment', 'none', 'foo 123'); 19 assert_not_inherited('counter-reset', 'none', 'foo 123'); 20 assert_inherited('list-style-image', 'none', 'url("data:,a")'); 21 assert_inherited('list-style-position', 'outside', 'inside'); 22 assert_inherited('list-style-type', 'disc', 'square'); 23 </script> 24 </body> 25 </html>