Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-variables/wide-keyword-fallback-001.html - WPT Dashboard Interop Dashboard
<!doctype html>
<title>CSS Test: Wide keyword can be used as a fallback variable value</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<link rel="match" href="wide-keyword-fallback-001-ref.html">
<style>
/* Should see a 10px border of the initial color */
#outer {
color: transparent;
border: 10px solid;
}
#inner {
color: var(--unknown, initial);
border-width: 10px;
border-style: var(--unknown, inherit);
}
</style>
<div id="outer"><div id="inner"></div></div>