repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
compositing
/
overflow
/
non-reparented-overlay-scrollbars.html
blob
75ba8b88d192a659373488483d8ad5fdf1e193d6
1
<!DOCTYPE
HTML
>
2
<style>
3
#scroller {
4
overflow: scroll;
5
width:
300
px;
6
height:
300
px;
7
position: relative;
8
z-index:
0
;
9
top:
10
px;
10
}
11
12
#fixed {
13
position: fixed;
14
background: blue;
15
left:
90
px;
16
width:
10
px;
17
height:
10
px;
18
}
19
20
#scrolled {
21
position: relative;
22
background: green;
23
width:
80
px;
24
height:
500
px;
25
}
26
</style>
27
<script>
28
if
(
window
.
internals
) {
29
window
.
internals
.
settings
.
setOverlayScrollbarsEnabled
(
true
);
30
window
.
internals
.
settings
.
setPreferCompositingToLCDTextEnabled
(
true
);
31
}
32
</script>
33
<div
id='scroller'
>
34
<div
id='fixed'
></div>
35
<div
id='scrolled'
></div>
36
</div>