fune/testing/web-platform/tests/css/css-values/calc-ch-ex-lang-ref.html
Emilio Cobos Álvarez faddf94080 Bug 1431031: Tests for calc() on font-size on various situations. r=Manishearth
It makes no sense to pass a custom base size of zero in presence of rem, ex, or
ch units.

MozReview-Commit-ID: 7ZZwRzQKREX
2018-01-18 23:35:42 +01:00

12 lines
277 B
HTML

<!doctype html>
<meta charset="utf-8">
<title>CSS Test Reference</title>
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
<style>
div {
width: calc(1ex + 1ch + 1em);
height: calc(1ex + 1ch + 1em);
background: green;
}
</style>
<div></div>