Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-values/calc-ch-ex-lang.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>CSS Test: Calc in font-size with ch / ex units across lang changes</title>
<link rel="match" href="calc-ch-ex-lang-ref.html">
<style>
div[lang] {
font-size: calc(1ex + 1ch + 1em);
}
</style>
<div lang="en">
<div style="width: 1em; height: 1em; background: green;"></div>
</div>