summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-ruby/intrinsic-isize-1.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/css-ruby/intrinsic-isize-1.html')
-rw-r--r--layout/reftests/css-ruby/intrinsic-isize-1.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/layout/reftests/css-ruby/intrinsic-isize-1.html b/layout/reftests/css-ruby/intrinsic-isize-1.html
new file mode 100644
index 000000000..dd900b4b7
--- /dev/null
+++ b/layout/reftests/css-ruby/intrinsic-isize-1.html
@@ -0,0 +1,46 @@
+<!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;
+ }
+ </style>
+</head>
+<body>
+ <div style="width: -moz-min-content">
+ <ruby><rb>ABC<rb>DEF</ruby>
+ </div>
+ <div style="width: -moz-max-content">
+ <ruby><rb>ABC<rb>DEF</ruby>
+ </div>
+ <br>
+
+ <div style="width: -moz-min-content">
+ XYZ<ruby><rb>ABC<rb>DEF</ruby>XYZ
+ </div>
+ <div style="width: -moz-max-content">
+ XYZ<ruby><rb>ABC<rb>DEF</ruby>XYZ
+ </div>
+ <br>
+
+ <div style="width: -moz-min-content">
+ <ruby><rb>あい<rb>うえ</ruby>
+ </div>
+ <div style="width: -moz-max-content">
+ <ruby><rb>あい<rb>うえ</ruby>
+ </div>
+ <br>
+
+ <div style="width: -moz-min-content">
+ お<ruby><rb>あい<rb>うえ</ruby>お
+ </div>
+ <div style="width: -moz-max-content">
+ お<ruby><rb>あい<rb>うえ</ruby>お
+ </div>
+ <br>
+</body>
+</html>