32 lines
955 B
HTML
32 lines
955 B
HTML
<!DOCTYPE html>
|
|
<html lang="en" class="reftest-wait">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>Bug 1055658 - Relative positioning for ruby</title>
|
|
<script type="text/javascript" src="utils.js"></script>
|
|
<link rel="stylesheet" href="common.css">
|
|
<style>
|
|
body {
|
|
font: 25px Ahem;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div style="height: 80px; line-height: 80px; width: 100px; text-align: center">
|
|
<span id="inline" style="position: relative">
|
|
<div id="annotation" style="position: absolute; width: 100px; top: -100%">
|
|
a<span style="position: relative; top: -10px;">b</span>c
|
|
</div>
|
|
base
|
|
</span>
|
|
</div>
|
|
<script type="text/javascript">
|
|
document.fonts.ready.then(() => {
|
|
makeBSizeMatchInlineBox(document.getElementById('annotation'),
|
|
document.getElementById('inline'));
|
|
document.documentElement.classList.remove("reftest-wait");
|
|
})
|
|
</script>
|
|
</body>
|
|
</html>
|