blob: 99539f5e125bb4afeb94d4ab8ba4caf67f7a836b (
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
|
<!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>
<div>
<a href="">These</a>
>
<a href="" style="font-size: 24px">Links</a>
>
<a href="">Should</a>
>
<a href="">Be</a>
>
<a href="">Autosized</a>
</div>
<div>
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>
|