blob: b332c3599c4012b7a4af86b755530f9d40647954 (
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
45
46
47
|
<!DOCTYPE html>
<style>
body {
margin: 0;
}
section {
height: 250px;
width: 250px;
margin-top: 50px;
display: block;
}
div {
height: 200px;
width: 200px;
overflow: scroll;
}
div > div {
height: 1000px;
width: 1000px;
background: linear-gradient(to bottom, red, white);
}
iframe {
height: 211px;
width: 211px;
display: block;
border: none;
}
embed {
height: 222px;
width: 222px;
display: block;
border: none;
}
</style>
<!-- contains three types of non-fast scrollable objects: div, iframe, and plugin -->
<section>
<div>
<div></div>
</div>
</section>
<section>
<iframe src="data:text/html;charset=utf-8,<style>body {height:1000px; width:1000px; background: linear-gradient(to bottom, red, white);}</style>"></iframe>
</section>
<section>
<embed type="application/x-webkit-test-webplugin"></embed>
</section>
|