inheritance.html (981B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Inheritance of CSS Motion Path properties</title> 6 <link rel="help" href="https://drafts.fxtf.org/motion-1/#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('offset-anchor', 'auto', '2px 3px'); 19 assert_not_inherited('offset-distance', '0px', '4px'); 20 assert_not_inherited('offset-path', 'none', 'path("M 5 6 H 7")'); 21 assert_not_inherited('offset-position', 'normal', '8px 9px'); 22 // https://github.com/w3c/fxtf-drafts/issues/340 23 assert_not_inherited('offset-rotate', ['auto 0deg', 'auto'], '90deg'); 24 </script> 25 </body> 26 </html>