gecko-dev/layout/reftests/css-ruby/intrinsic-isize-1-ref.html

52 строки
1.2 KiB
HTML

<!DOCTYPE html>
<html lang="ja">
<head>
<meta charset="UTF-8">
<title>Bug 1134432 - Intrinsic ISize calculation of ruby</title>
<style>
div {
display: inline-block;
border: 1px solid black;
font-kerning: none; /* disable kerning, because in the reference file
it might occur across <span> boundaries */
}
span {
white-space: nowrap;
}
</style>
</head>
<body>
<div style="width: min-content">
<span>ABC</span><span>DEF</span>
</div>
<div style="width: max-content">
<span>ABC</span><span>DEF</span>
</div>
<br>
<div style="width: min-content">
XYZ<span>ABC</span><span>DEF</span>XYZ
</div>
<div style="width: max-content">
XYZ<span>ABC</span><span>DEF</span>XYZ
</div>
<br>
<div style="width: min-content">
<span>あい</span><span>うえ</span>
</div>
<div style="width: max-content">
<span>あい</span><span>うえ</span>
</div>
<br>
<div style="width: min-content">
<span>あい</span><span>うえ</span>
</div>
<div style="width: max-content">
<span>あい</span><span>うえ</span>
</div>
<br>
</body>
</html>