comparison: layout/reftests/position-sticky/inline-3-ref.html
layout/reftests/position-sticky/inline-3-ref.html
- branch
- TOR_BUG_9701
- changeset 12
- 7540298fafa1
equal
deleted
inserted
replaced
|
1 <!DOCTYPE html> |
|
2 <!-- Any copyright is dedicated to the Public Domain. |
|
3 - http://creativecommons.org/publicdomain/zero/1.0/ --> |
|
4 <html> |
|
5 <head> |
|
6 <link rel="author" title="Corey Ford" href="mailto:corey@coreyford.name"> |
|
7 <link rel="stylesheet" type="text/css" href="ahem.css"> |
|
8 <style> |
|
9 #scroll { |
|
10 overflow: hidden; |
|
11 height: 200px; |
|
12 position: relative; |
|
13 font: 10px/1 Ahem; |
|
14 } |
|
15 #sticky { |
|
16 position: absolute; |
|
17 top: 0; |
|
18 left: 10px; |
|
19 } |
|
20 #hidden { |
|
21 visibility: hidden; |
|
22 } |
|
23 </style> |
|
24 </head> |
|
25 <body> |
|
26 <div id="scroll"> |
|
27 test <span id="sticky"><span id="hidden">test </span>test<br>test</span> |
|
28 </div> |
|
29 </body> |
|
30 </html> |