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
/
fast
/
block
/
positioning
/
vertical-rl
/
fixed-positioning.html
blob
2e28a7cc578b63b145ddb2d34ea5655df896cef6
1
<!doctype
html
>
2
<html
dir
=
"rtl"
>
3
<head>
4
<style>
5
.container {
6
background-color: #
0
f0;
7
height:
2000
px;
8
width:
2000
px;
9
}
10
.floater {
11
background-color: #f0f;
12
height:
100
px;
13
left:
0
;
14
position: fixed;
15
top:
0
;
16
width:
100
px;
17
}
18
body {
19
overflow:hidden;
20
-webkit-writing-mode: vertical-rl;
21
}
22
</style>
23
</head>
24
<body>
25
26
<div
class
=
"container"
>
27
<div
class
=
"floater"
dir
=
"ltr"
>
This box should be fixed to the top-left of the window.
28
</div>
29
</div>
30
31
<script>
32
window
.
scrollBy
(-
100
, -
100
);
33
</script>