mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 11:45:37 +00:00
96db36c21e
--HG-- extra : rebase_source : 51c27b69f29ce299954ddafc6140a91fc508b917 extra : source : 5cb02c09512316d63f6a3fbda81d04a081cf2907 extra : histedit_source : 01eccfaa0faf1d92e45324e3bb296334fbd53449
36 lines
1004 B
HTML
36 lines
1004 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Bug 1055665 - Test for ruby-position</title>
|
|
<link rel="stylesheet" href="common.css">
|
|
<script type="text/javascript" src="utils.js"></script>
|
|
<style>
|
|
body {
|
|
font-family: monospace;
|
|
}
|
|
.annotation, .annotation > div {
|
|
position: absolute;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div style="height: 8em; line-height: 8em;">
|
|
<div style="display: inline-block;">
|
|
<div class="annotation">
|
|
<div style="top: -100%;"><span>over##</span></div>
|
|
<div style="top: 100%;"><span>under#</span></div>
|
|
<div style="top: -200%;"><span>over2#</span></div>
|
|
<div style="top: 200%;"><span>under2</span></div>
|
|
<!-- to give container the proper block-axis size -->
|
|
<span> </span>
|
|
</div>
|
|
<span>base##</span>
|
|
</div>
|
|
</div>
|
|
<script type="text/javascript">
|
|
makeBSizeOfParentMatch(document.getElementsByTagName('span'));
|
|
</script>
|
|
</body>
|
|
</html>
|