Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-viewport/zoom/relative-units-from-parent.html
<!doctype html> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> <link rel="author" title="Mozilla" href="https://mozilla.org"> <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1892676"> <link rel="help" href="https://drafts.csswg.org/css-viewport/#zoom-property"> <link rel="match" href="relative-units-from-parent-ref.html"> <!-- The font-size and line-height use the parent sizes, but should still multiply by our own zoom. --> <div style="zoom: 2; font-size: 2em; line-height: 2lh">ABC</div>
/css/css-viewport/zoom/relative-units-from-parent-ref.html
<!doctype html> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <div style="font-size: 4em; line-height: 4lh">ABC</div>