forked from WebKit/WebKit-http
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubpixel-overflow.html
54 lines (47 loc) · 1.16 KB
/
subpixel-overflow.html
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
45
46
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<style>
html {
-webkit-overflow-scrolling: touch;
}
.container {
margin: 10px;
width: 200px;
border: 1px solid black;
overflow: auto;
display: inline-block;
}
.contents {
width: 100%;
}
</style>
<script>
if (window.testRunner)
testRunner.dumpAsText();
window.addEventListener('load', function() {
if (window.testRunner)
document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
}, true);
</script>
</head>
<body>
<!-- None of these should be scrollable -->
<div class="container">
<div class="contents" style="height: 200.25px">
Content
</div>
</div>
<div class="container">
<div class="contents" style="height: 200.5px">
Content
</div>
</div>
<div class="container">
<div class="contents" style="height: 200.75px">
Content
</div>
</div>
<pre id="layers"></pre>
</body>
</html>