gecko-dev/layout/reftests/css-ruby/ruby-position-vertical-lr.html
Xidorn Quan 96db36c21e Bug 1112474 part 2 - Fix ruby-position reftests with bsize adjustment. r=dholbert
--HG--
extra : rebase_source : 51c27b69f29ce299954ddafc6140a91fc508b917
extra : source : 5cb02c09512316d63f6a3fbda81d04a081cf2907
extra : histedit_source : 01eccfaa0faf1d92e45324e3bb296334fbd53449
2015-03-19 19:04:50 +11:00

32 lines
775 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">
<style>
html {
writing-mode: vertical-lr;
}
body {
font-family: monospace;
/* use a large line-height here to avoid additional leadings */
line-height: 8em;
}
rtc, rt {
font-size: 100% !important;
line-height: normal !important;
}
</style>
</head>
<body>
<ruby>
<rb>base##</rb>
<rtc style="ruby-position: under"><rt>left##</rt></rtc>
<rtc style="ruby-position: over"><rt>right#</rt></rtc>
<rtc style="ruby-position: under"><rt>left2#</rt></rtc>
<rtc style="ruby-position: over"><rt>right2</rt></rtc>
</ruby>
</body>
</html>