blob: baaf87123b091cc2d2ecfc154dd5b786530c5fbf [file] [log] [blame]
<!DOCTYPE html>
<html style="font-size: 16px">
<head>
<meta name="viewport" content="width=800">
<style>
body {
width: 800px;
margin: 0;
overflow-y: hidden;
}
</style>
</head>
<body>
<div style="font-size: 2.5rem">
<a href="">These</a>
&gt;
<a href="" style="font-size: 44px">Links</a>
&gt;
<a href="">Should</a>
&gt;
<a href="">Be</a>
&gt;
<a href="">Autosized</a>
</div>
<div style="font-size: 2.5rem">
This paragraph should be autosized to 40px computed font-size (16 * 800/320),
and the inline links above should not be detected as a row of links because the
links have different font sizes, and hence they should be rendered at their default size.
</div>
</body>
</html>