aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html/test-lineheight-verticalalign.html
diff options
context:
space:
mode:
authorJack Moffitt <jack@metajack.im>2014-08-28 09:34:23 -0600
committerJack Moffitt <jack@metajack.im>2014-09-08 20:21:42 -0600
commitc6ab60dbfc6da7b4f800c9e40893c8b58413960c (patch)
treed1d74076cf7fa20e4f77ec7cb82cae98b67362cb /tests/html/test-lineheight-verticalalign.html
parentdb2f642c32fc5bed445bb6f2e45b0f6f0b4342cf (diff)
downloadservo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.tar.gz
servo-c6ab60dbfc6da7b4f800c9e40893c8b58413960c.zip
Cargoify servo
Diffstat (limited to 'tests/html/test-lineheight-verticalalign.html')
-rw-r--r--tests/html/test-lineheight-verticalalign.html13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/html/test-lineheight-verticalalign.html b/tests/html/test-lineheight-verticalalign.html
new file mode 100644
index 00000000000..e9fcd0019f3
--- /dev/null
+++ b/tests/html/test-lineheight-verticalalign.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+ <div style="line-height: 10;">[line-height 10]
+ <span style="font-size: 15pt; line-height: 3; vertical-align: top">[line-height:3 + vertical-align:top]</span>
+ <span style="font-size: 15pt; line-height: 1; vertical-align: top">[line-height:1 + vertical-align:top]</span>
+ [Split inline, still line-height 5]
+ </div>
+ <div style="font-size: 30px; line-height: 3">New line, line-height 3</div>
+</body>
+</html>