gecko-dev/layout/reftests/css-ruby/line-height-2-ref.html
Xidorn Quan 364fe61104 Bug 1069519 part 3 - Add reftests for ruby line height calculation. r=dholbert
--HG--
extra : source : 728da9f1603aea283356de9f69f678667514cc70
2015-01-08 16:02:41 +11:00

19 lines
570 B
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bug 1069519 - Ruby line height calculation</title>
<link rel="stylesheet" href="common.css">
<script type="text/javascript" src="utils.js"></script>
</head>
<body style="line-height: 1">
<div id="base" style="padding-bottom: .5em"><span id="inline">base</span></div>
next line
<script>
// Simulate the behavior of ruby layout.
makeHeightMatchInlineBox(document.getElementById('base'),
document.getElementById('inline'));
</script>
</body>
</html>