blob: d67c6a38a9624d7aed1587c4571b1ee29e9a497b (
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
43
44
|
<!DOCTYPE html>
<html style="font-size: 16px">
<head>
<meta name="viewport" content="width=800">
<style>
body {
width: 800px;
margin: 0;
overflow-y: hidden;
}
</style>
<script src="resources/autosizingTest.js"></script>
</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>
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>
|