summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/text-autosizing/header-li-links-autosizing-expected.html
blob: a2494be2808b6ff1bd0ada6ce4b56f94d38d064f (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
35
36
37
38
39
40
41
42
<!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>

<ul>
    <li style="display:inline">
        <a href="">These</a>
    </li>
    <li style="display:inline">
        <a href="">Links</a>
    </li>
    <li style="display:inline">
        <a href="">Should</a>
    </li>
    <li style="display:inline">
        <a href="">Not be</a>
    </li>
    <li style="display:inline">
        <a href="">Autosized</a>
    </li>
</ul>
<div style="font-size: 2.5rem">
    This paragraph should be autosized to 40px computed font-size (16 * 800/320),
    whereas the inline links in the header above should be detected as a row of links
    and hence rendered at their default size.
    Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
    incididunt ut labore et dolore magna aliqua.
</div>
</body>
</html>