1
0
Fork 0
firefox/layout/reftests/font-inflation/fixed-width-viewport-inflation.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

23 lines
626 B
HTML

<!DOCTYPE html>
<!--
In a 450px container, the minimum font size at 15em per line is 30px.
This means we map 0px-45px into 30px-45px, so 12px gets mapped to 34px.
-->
<html>
<head>
<meta name="viewport" content="width=801"/>
<style>
:root { scrollbar-color: transparent transparent; }
div { width: 450px; font-size: 12px; line-height: 1.0; }
</style>
<script>
if (location.search)
document.documentElement.setAttribute("reftest-zoom", location.search.substr(1))
</script>
</head>
<body>
<div id="outer">
<div>Some inflated text.</div>
</div>
</body>
</html>