File: scrollbars-in-composited-layers.html

package info (click to toggle)
qtwebkit 2.3.4.dfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 290,116 kB
  • ctags: 272,544
  • sloc: cpp: 1,417,496; python: 85,048; ansic: 39,353; perl: 38,858; ruby: 10,313; objc: 9,505; xml: 8,679; asm: 3,864; yacc: 2,458; sh: 1,237; lex: 813; makefile: 592; java: 228; php: 79
file content (45 lines) | stat: -rw-r--r-- 1,150 bytes parent folder | download | duplicates (4)
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
<!DOCTYPE html>

<html>
<head>
    <style>
    .scroll {
        width: 200px;
        height: 200px;
        border: 1px solid black;
        margin: 15px;
        padding: 5px;
        overflow-y: scroll;
        -webkit-transform: translateZ(0);
        box-shadow: 0 0 15px black;
    }

    .rotated {
        -webkit-transform: rotate3d(0, 0, 1, 45deg);
    }
    .scroll > div {
        background-color: silver;
        width: 500px;
        height: 1000px;
    }
    </style>
</head>
<body>

    <p>Overlay scrollbars (on Mac) should show in the correct place when scrolling.</p>
    <div class="scroll">
        <div></div>
    </div>

    <p>Overlay scrollbars (on Mac) should show in the correct place when scrolling, and the resize corner should show in the correct place.</p>
    <div class="scroll" style="resize: both; overflow:hiddens">
        <div></div>
    </div>

    <p>Overlay scrollbars (on Mac) should show in the correct place when scrolling, and the resize corner should show in the correct place.</p>
    <div class="rotated scroll" style="resize: both; overflow:hiddens">
        <div></div>
    </div>

</body>
</html>