summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/text-autosizing/header-links-autosizing-different-fontsize-expected.html
blob: baaf87123b091cc2d2ecfc154dd5b786530c5fbf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!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>