summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/linebox/vertical-align-nested-top-001.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/linebox/vertical-align-nested-top-001.html')
-rw-r--r--testing/web-platform/tests/css/CSS2/linebox/vertical-align-nested-top-001.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/linebox/vertical-align-nested-top-001.html b/testing/web-platform/tests/css/CSS2/linebox/vertical-align-nested-top-001.html
new file mode 100644
index 0000000000..3667ced2ca
--- /dev/null
+++ b/testing/web-platform/tests/css/CSS2/linebox/vertical-align-nested-top-001.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<link rel="match" href="vertical-align-nested-top-001-ref.html">
+<link rel="help" href="https://drafts.csswg.org/css2/visudet.html#propdef-vertical-align" />
+<link rel="author" href="kojii@chromium.org">
+<style>
+body {
+ font-size: 18px;
+ line-height: 20px;
+}
+.hb {
+ font-size: 12px;
+ vertical-align: top;
+}
+.g2 {
+ vertical-align: top;
+}
+</style>
+<body>
+ <span class="hb">X<span class="g2">X</span></span>
+</body>