summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2.html')
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2.html b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2.html
new file mode 100644
index 000000000..5b5aaa594
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<title>CSS Test: font-size: 0</title>
+<link rel="author" title="L. David Baron" href="https://dbaron.org/">
+<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
+<link rel="help" href="http://www.w3.org/TR/css3-fonts/#font-size-prop">
+<link rel="help" href="http://www.w3.org/TR/CSS21/box.html#collapsing-margins">
+<link rel="match" href="font-size-zero-2-ref.html">
+<meta name="flags" content="">
+<style>
+/* spec ambiguous whether font-size-adjust influences line-height: normal */
+body { line-height: 1.2 }
+
+p { margin: 1em 0 }
+span.zero { font-size: 0 }
+</style>
+
+<p>before</p>
+<p><span class="zero">zero</span></p>
+<p>after</p>