summaryrefslogtreecommitdiffstats
path: root/layout/reftests/w3c-css/submitted/fonts3
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/w3c-css/submitted/fonts3')
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-1.html19
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-2.html20
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-notref.html13
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-ref.html16
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1.html19
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2-ref.html13
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2.html19
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/reftest-stylo.list6
-rw-r--r--layout/reftests/w3c-css/submitted/fonts3/reftest.list5
9 files changed, 130 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-1.html b/layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-1.html
new file mode 100644
index 000000000..ea1e57453
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-1.html
@@ -0,0 +1,19 @@
+<!DOCTYPE HTML>
+<title>CSS Test: font-size-adjust: 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-adjust-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 }
+p.zero { font-size-adjust: 0 }
+</style>
+
+<p>before</p>
+<p class="zero">zero</p>
+<p>after</p>
diff --git a/layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-2.html b/layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-2.html
new file mode 100644
index 000000000..0fadcd458
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/font-size-adjust-zero-2.html
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML>
+<title>CSS Test: font-size-adjust: 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-adjust-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 }
+span { line-height: 0 }
+
+p { margin: 1em 0 }
+span.zero { font-size-adjust: 0 }
+</style>
+
+<p>before</p>
+<p><span class="zero">zero</span></p>
+<p>after</p>
diff --git a/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-notref.html b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-notref.html
new file mode 100644
index 000000000..9e95ca66e
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-notref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML>
+<title>CSS Test Reference</title>
+<link rel="author" title="L. David Baron" href="https://dbaron.org/">
+<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
+<meta name="flags" content="">
+<style>
+/* spec ambiguous whether font-size-adjust influences line-height: normal */
+body { line-height: 1.2 }
+</style>
+
+<p>before</p>
+<p>zero</p>
+<p>after</p>
diff --git a/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-ref.html b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-ref.html
new file mode 100644
index 000000000..f3bdd53d7
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1-ref.html
@@ -0,0 +1,16 @@
+<!DOCTYPE HTML>
+<title>CSS Test Reference</title>
+<link rel="author" title="L. David Baron" href="https://dbaron.org/">
+<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
+<link rel="mismatch" href="font-size-zero-1-notref.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 }
+p.first { margin-bottom: 2em }
+</style>
+
+<p class="first">before</p>
+<p>after</p>
diff --git a/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1.html b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1.html
new file mode 100644
index 000000000..9b7b3e6d7
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-1.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-1-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 }
+p.zero { font-size: 0 }
+</style>
+
+<p>before</p>
+<p class="zero">zero</p>
+<p>after</p>
diff --git a/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2-ref.html b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2-ref.html
new file mode 100644
index 000000000..2aea76d74
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/font-size-zero-2-ref.html
@@ -0,0 +1,13 @@
+<!DOCTYPE HTML>
+<title>CSS Test Reference</title>
+<link rel="author" title="L. David Baron" href="https://dbaron.org/">
+<link rel="author" title="Mozilla" href="http://www.mozilla.org/">
+<meta name="flags" content="">
+<style>
+/* spec ambiguous whether font-size-adjust influences line-height: normal */
+body { line-height: 1.2 }
+</style>
+
+<p>before</p>
+<p>&nbsp;</p>
+<p>after</p>
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>
diff --git a/layout/reftests/w3c-css/submitted/fonts3/reftest-stylo.list b/layout/reftests/w3c-css/submitted/fonts3/reftest-stylo.list
new file mode 100644
index 000000000..c8224dcab
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/reftest-stylo.list
@@ -0,0 +1,6 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== font-size-zero-1.html font-size-zero-1.html
+== font-size-zero-1-ref.html font-size-zero-1-ref.html
+== font-size-zero-2.html font-size-zero-2.html
+== font-size-adjust-zero-1.html font-size-adjust-zero-1.html
+== font-size-adjust-zero-2.html font-size-adjust-zero-2.html
diff --git a/layout/reftests/w3c-css/submitted/fonts3/reftest.list b/layout/reftests/w3c-css/submitted/fonts3/reftest.list
new file mode 100644
index 000000000..b8900e86a
--- /dev/null
+++ b/layout/reftests/w3c-css/submitted/fonts3/reftest.list
@@ -0,0 +1,5 @@
+== font-size-zero-1.html font-size-zero-1-ref.html
+!= font-size-zero-1-ref.html font-size-zero-1-notref.html
+== font-size-zero-2.html font-size-zero-2-ref.html
+== font-size-adjust-zero-1.html font-size-zero-2-ref.html
+== font-size-adjust-zero-2.html font-size-zero-2-ref.html