inheritance.html (1141B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Inheritance of CSS Overflow properties</title> 6 <link rel="help" href="https://drafts.csswg.org/css-overflow/#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_inherited('block-ellipsis', 'no-ellipsis', 'auto'); 19 assert_not_inherited('continue', 'auto', 'collapse'); 20 assert_not_inherited('max-lines', 'none', '2'); 21 assert_not_inherited('overflow-block', 'visible', 'scroll'); 22 assert_not_inherited('overflow-inline', 'visible', 'scroll'); 23 assert_not_inherited('overflow-x', 'visible', 'scroll'); 24 assert_not_inherited('overflow-y', 'visible', 'scroll'); 25 assert_not_inherited('text-overflow', 'clip', 'ellipsis'); 26 assert_not_inherited('scrollbar-gutter', 'auto', 'stable'); 27 </script> 28 </body> 29 </html>