blob: aec7b58ac825a10b4f93614c8fbfb30751ae0e0c [file] [log] [blame]
hyatt@apple.com5c5ae5c2013-02-20 19:58:16 +00001<html>
2<head>
3<style>
4.container { display:inline-block; width:220px; }
commit-queue@webkit.org5e0c9452013-10-15 18:45:29 +00005.multicol { -moz-column-width:100px; -moz-column-gap:10px; -webkit-column-width:100px; -webkit-column-gap:10px; -webkit-column-fill:auto; column-width:100px; column-gap:10px; column-fill:auto; height:300px; border:5px solid black; }
hyatt@apple.com5c5ae5c2013-02-20 19:58:16 +00006.block { width:100px; height:100px }
7.block:hover { background-color: maroon !important; }
8.layer { height:400px; width:100px }
9</style>
hyatt@apple.com5c5ae5c2013-02-20 19:58:16 +000010<body style="overflow:hidden">
11
12<div class="container">
13Overflow:
14<div class="multicol">
15<div class="block" style="display:inline-block; background-color:black"></div>
16<div style="overflow:hidden;" class="layer">
17<div class="block" style="background-color: #0000f0"></div>
18<div class="block" style="background-color: #0000d0"></div>
19<div class="block" style="background-color: #0000b0"></div>
20<div class="block" style="background-color: #000090"></div>
21</div>
22<div class="block" style="display:inline-block; background-color:black"></div>
23</div>
24</div>
25
26<div class="container">
27Transforms:
28
29<div class="multicol">
30<div class="block" style="display:inline-block; background-color:black"></div>
31<div style="margin-left: -100px; -webkit-transform: translate(100px, 0);" class="layer">
32<div class="block" style="background-color: #0000f0"></div>
33<div class="block" style="background-color: #0000d0"></div>
34<div class="block" style="background-color: #0000b0"></div>
35<div class="block" style="background-color: #000090"></div>
36</div>
37<div class="block" style="display:inline-block; background-color:black"></div>
38</div>
39</div>
40</div>
41
42<div class="container">
43Relative Positioning:
44<div class="multicol">
45<div class="block" style="display:inline-block; background-color:black"></div>
46<div style="position:relative; margin-left:-100px; left:100px" class="layer">
47<div class="block" style="background-color: #0000f0"></div>
48<div class="block" style="background-color: #0000d0"></div>
49<div class="block" style="background-color: #0000b0"></div>
50<div class="block" style="background-color: #000090"></div>
51</div>
52<div class="block" style="display:inline-block; background-color:black"></div>
53</div>
54</div>
55
56<div class="container">
57Opacity:
58
59<div class="multicol">
60<div class="block" style="display:inline-block; background-color:black"></div>
61<div style="opacity:0.99;" class="layer">
62<div class="block" style="background-color: #0000f0"></div>
63<div class="block" style="background-color: #0000d0"></div>
64<div class="block" style="background-color: #0000b0"></div>
65<div class="block" style="background-color: #000090"></div>
66</div>
67<div class="block" style="display:inline-block; background-color:black"></div>
68</div>
commit-queue@webkit.org5e0c9452013-10-15 18:45:29 +000069</div>