wide-keyword-fallback-001.html (758B)
1 <!doctype html> 2 <title>CSS Test: Wide keyword can be used as a fallback variable value</title> 3 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 4 <link rel="author" title="Mozilla" href="https://mozilla.org"> 5 <link rel="help" href="https://drafts.csswg.org/css-variables/#substitute-a-var"> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1544886"> 7 <link rel="match" href="wide-keyword-fallback-001-ref.html"> 8 <style> 9 /* Should see a 10px border of the initial color */ 10 #outer { 11 color: transparent; 12 border: 10px solid; 13 } 14 15 #inner { 16 color: var(--unknown, initial); 17 border-width: 10px; 18 border-style: var(--unknown, inherit); 19 } 20 </style> 21 <div id="outer"><div id="inner"></div></div>