inheritance.html (1189B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Inheritance of CSS Box Alignment properties</title> 6 <link rel="help" href="https://drafts.csswg.org/css-align-3/#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 <style> 18 #container { 19 justify-items: legacy center; 20 } 21 </style> 22 <script> 23 assert_not_inherited('align-content', 'normal', 'last baseline'); 24 assert_not_inherited('align-items', 'normal', 'last baseline'); 25 assert_not_inherited('align-self', 'auto', 'last baseline'); 26 assert_not_inherited('column-gap', 'normal', '10px'); 27 assert_not_inherited('justify-content', 'normal', 'space-evenly'); 28 assert_not_inherited('justify-items', 'legacy center', 'last baseline'); 29 assert_not_inherited('justify-self', 'auto', 'last baseline'); 30 assert_not_inherited('row-gap', 'normal', '10px'); 31 </script> 32 </body> 33 </html>