summaryrefslogtreecommitdiffstats
path: root/layout/reftests/inline
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/inline')
-rw-r--r--layout/reftests/inline/inline-block-margin.html6
-rw-r--r--layout/reftests/inline/inline-block-padding.html6
-rw-r--r--layout/reftests/inline/inline-block-width.html6
-rw-r--r--layout/reftests/inline/inline-block-zero.html3
-rw-r--r--layout/reftests/inline/reftest-stylo.list8
-rw-r--r--layout/reftests/inline/reftest.list7
-rw-r--r--layout/reftests/inline/zero-inline-block-margin-left.html6
-rw-r--r--layout/reftests/inline/zero-inline-block-margin-ref.html6
-rw-r--r--layout/reftests/inline/zero-inline-block-margin-ref2.html6
-rw-r--r--layout/reftests/inline/zero-inline-block-margin-right.html6
10 files changed, 60 insertions, 0 deletions
diff --git a/layout/reftests/inline/inline-block-margin.html b/layout/reftests/inline/inline-block-margin.html
new file mode 100644
index 000000000..476f13df7
--- /dev/null
+++ b/layout/reftests/inline/inline-block-margin.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+<style>
+span { display: inline-block; height: 0; padding-right: 100px }
+</style>
+<span>hello&nbsp;</span>world
diff --git a/layout/reftests/inline/inline-block-padding.html b/layout/reftests/inline/inline-block-padding.html
new file mode 100644
index 000000000..476f13df7
--- /dev/null
+++ b/layout/reftests/inline/inline-block-padding.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+<style>
+span { display: inline-block; height: 0; padding-right: 100px }
+</style>
+<span>hello&nbsp;</span>world
diff --git a/layout/reftests/inline/inline-block-width.html b/layout/reftests/inline/inline-block-width.html
new file mode 100644
index 000000000..e0ebb9b08
--- /dev/null
+++ b/layout/reftests/inline/inline-block-width.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+<style>
+span { display: inline-block; height: 0; width: 100px }
+</style>
+hello <span></span>world
diff --git a/layout/reftests/inline/inline-block-zero.html b/layout/reftests/inline/inline-block-zero.html
new file mode 100644
index 000000000..ec0166be4
--- /dev/null
+++ b/layout/reftests/inline/inline-block-zero.html
@@ -0,0 +1,3 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+hello world
diff --git a/layout/reftests/inline/reftest-stylo.list b/layout/reftests/inline/reftest-stylo.list
new file mode 100644
index 000000000..ac47cff55
--- /dev/null
+++ b/layout/reftests/inline/reftest-stylo.list
@@ -0,0 +1,8 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== zero-inline-block-margin-left.html zero-inline-block-margin-left.html
+== zero-inline-block-margin-right.html zero-inline-block-margin-right.html
+== zero-inline-block-margin-ref.html zero-inline-block-margin-ref.html
+== inline-block-width.html inline-block-width.html
+== inline-block-padding.html inline-block-padding.html
+== inline-block-margin.html inline-block-margin.html
+== inline-block-width.html inline-block-width.html
diff --git a/layout/reftests/inline/reftest.list b/layout/reftests/inline/reftest.list
new file mode 100644
index 000000000..2ae90d620
--- /dev/null
+++ b/layout/reftests/inline/reftest.list
@@ -0,0 +1,7 @@
+== zero-inline-block-margin-left.html zero-inline-block-margin-ref.html
+== zero-inline-block-margin-right.html zero-inline-block-margin-ref.html
+== zero-inline-block-margin-ref.html zero-inline-block-margin-ref2.html
+== inline-block-width.html zero-inline-block-margin-ref.html
+== inline-block-padding.html inline-block-width.html
+== inline-block-margin.html inline-block-width.html
+!= inline-block-width.html inline-block-zero.html
diff --git a/layout/reftests/inline/zero-inline-block-margin-left.html b/layout/reftests/inline/zero-inline-block-margin-left.html
new file mode 100644
index 000000000..ac13d0b39
--- /dev/null
+++ b/layout/reftests/inline/zero-inline-block-margin-left.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+<style>
+span { display: inline-block; height: 0; width: 0; margin-left: 100px }
+</style>
+hello <span></span>world
diff --git a/layout/reftests/inline/zero-inline-block-margin-ref.html b/layout/reftests/inline/zero-inline-block-margin-ref.html
new file mode 100644
index 000000000..ac4edb346
--- /dev/null
+++ b/layout/reftests/inline/zero-inline-block-margin-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+<style>
+span { margin-left: 100px }
+</style>
+hello <span>world</span>
diff --git a/layout/reftests/inline/zero-inline-block-margin-ref2.html b/layout/reftests/inline/zero-inline-block-margin-ref2.html
new file mode 100644
index 000000000..24b69ba9d
--- /dev/null
+++ b/layout/reftests/inline/zero-inline-block-margin-ref2.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+<style>
+span { margin-right: 100px }
+</style>
+<span>hello</span> world
diff --git a/layout/reftests/inline/zero-inline-block-margin-right.html b/layout/reftests/inline/zero-inline-block-margin-right.html
new file mode 100644
index 000000000..542649a4a
--- /dev/null
+++ b/layout/reftests/inline/zero-inline-block-margin-right.html
@@ -0,0 +1,6 @@
+<!DOCTYPE HTML>
+<title>margin-left on zero-sized inline-block</title>
+<style>
+span { display: inline-block; height: 0; width: 0; margin-right: 100px }
+</style>
+hello <span></span>world