Status: PASS | Duration: 8ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-viewport/zoom/font-size.html
<!DOCTYPE html> <title>CSS zoom applies to font-size when specified and inherited</title> <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://drafts.csswg.org/css-viewport/"> <link rel="match" href="font-size-ref.html"> <div style="font-size: 12px"> 12px text </div> <hr> <div style="font-size: 12px; zoom: 2"> 12px zoomed text </div> <hr> <div style="font-size: 12px"> <div style="zoom:2"> 12px zoomed inherited text </div> </div>
/css/css-viewport/zoom/font-size-ref.html
<!DOCTYPE html> <title>CSS Test reference</title> <div style="font-size: 12px"> 12px text </div> <hr> <div style="font-size: 24px;"> 12px zoomed text </div> <hr> <div style="font-size: 12px"> <div style="font-size: 24px"> 12px zoomed inherited text </div> </div>