gecko/layout/reftests/position-sticky/inline-1-ref.html
Daniel Holbert df2805989e Bug 904197 followup: make reftests use Ahem font, to avoid pixel-alignment difference between block vs. inline elements. (test-only)
--HG--
rename : layout/reftests/flexbox/ahem.css => layout/reftests/position-sticky/ahem.css
2013-09-18 08:36:27 -07:00

31 lines
730 B
HTML

<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
- http://creativecommons.org/publicdomain/zero/1.0/ -->
<html>
<head>
<link rel="author" title="Corey Ford" href="mailto:cford@mozilla.com">
<link rel="stylesheet" type="text/css" href="ahem.css">
<style>
#scroll {
overflow: hidden;
height: 200px;
position: relative;
font: 10px/1 Ahem;
}
#sticky {
position: absolute;
top: 20px;
left: 20px;
}
#hidden {
visibility: hidden;
}
</style>
</head>
<body>
<div id="scroll">
hello <div id="sticky"><span id="hidden">hello </span>there<br>everyone</div>
</div>
</body>
</html>