+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
+
+
+
text
+
text
+
+
+
diff --git a/layout/reftests/bugs/163504-1-ref.html b/layout/reftests/bugs/163504-1-ref.html
new file mode 100644
index 000000000000..2bb2c3c1a6e3
--- /dev/null
+++ b/layout/reftests/bugs/163504-1-ref.html
@@ -0,0 +1,13 @@
+
+
+
+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/163504-1a.html b/layout/reftests/bugs/163504-1a.html
new file mode 100644
index 000000000000..a8db85184eb5
--- /dev/null
+++ b/layout/reftests/bugs/163504-1a.html
@@ -0,0 +1,20 @@
+
+
+
+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/163504-1b.html b/layout/reftests/bugs/163504-1b.html
new file mode 100644
index 000000000000..3a372c4cb92a
--- /dev/null
+++ b/layout/reftests/bugs/163504-1b.html
@@ -0,0 +1,20 @@
+
+
+
+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/163504-2-inner.html b/layout/reftests/bugs/163504-2-inner.html
new file mode 100644
index 000000000000..991b70ced09d
--- /dev/null
+++ b/layout/reftests/bugs/163504-2-inner.html
@@ -0,0 +1,20 @@
+
+
+
+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
+
+
+
text
+
text
+
+
+
diff --git a/layout/reftests/bugs/163504-2-ref.html b/layout/reftests/bugs/163504-2-ref.html
new file mode 100644
index 000000000000..07858dcd3307
--- /dev/null
+++ b/layout/reftests/bugs/163504-2-ref.html
@@ -0,0 +1,13 @@
+
+
+
+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/163504-2a.html b/layout/reftests/bugs/163504-2a.html
new file mode 100644
index 000000000000..e562faa424a4
--- /dev/null
+++ b/layout/reftests/bugs/163504-2a.html
@@ -0,0 +1,20 @@
+
+
+
+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/163504-2b.html b/layout/reftests/bugs/163504-2b.html
new file mode 100644
index 000000000000..37f529412b5d
--- /dev/null
+++ b/layout/reftests/bugs/163504-2b.html
@@ -0,0 +1,20 @@
+
+
+
+Testcase for resizing elements that depend on containing block height
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/28811-1-inner.html b/layout/reftests/bugs/28811-1-inner.html
new file mode 100644
index 000000000000..625fdc8a0b3b
--- /dev/null
+++ b/layout/reftests/bugs/28811-1-inner.html
@@ -0,0 +1,34 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
text
+
text
+
+
+
+
+
+
text
+
text
+
text
+
text
+
+
+
+
+
+
This is an inline-block that contains enough text that its shrink-wrap width will be based on the available size in its container. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
+
+
+
+
text in a span
+
text in a span
+
+
+
diff --git a/layout/reftests/bugs/28811-1-ref.html b/layout/reftests/bugs/28811-1-ref.html
new file mode 100644
index 000000000000..99c806f9501c
--- /dev/null
+++ b/layout/reftests/bugs/28811-1-ref.html
@@ -0,0 +1,12 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/28811-1a.html b/layout/reftests/bugs/28811-1a.html
new file mode 100644
index 000000000000..14d77d024994
--- /dev/null
+++ b/layout/reftests/bugs/28811-1a.html
@@ -0,0 +1,19 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/28811-1b.html b/layout/reftests/bugs/28811-1b.html
new file mode 100644
index 000000000000..ee854c18f26f
--- /dev/null
+++ b/layout/reftests/bugs/28811-1b.html
@@ -0,0 +1,19 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/28811-2-inner.html b/layout/reftests/bugs/28811-2-inner.html
new file mode 100644
index 000000000000..c39e3611be0a
--- /dev/null
+++ b/layout/reftests/bugs/28811-2-inner.html
@@ -0,0 +1,34 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
text
+
text
+
+
+
+
+
+
text
+
text
+
text
+
text
+
+
+
+
+
+
This is an inline-block that contains enough text that its shrink-wrap width will be based on the available size in its container. Blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
+
+
+
+
text in a span
+
text in a span
+
+
+
diff --git a/layout/reftests/bugs/28811-2-ref.html b/layout/reftests/bugs/28811-2-ref.html
new file mode 100644
index 000000000000..e9d22646855a
--- /dev/null
+++ b/layout/reftests/bugs/28811-2-ref.html
@@ -0,0 +1,12 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/28811-2a.html b/layout/reftests/bugs/28811-2a.html
new file mode 100644
index 000000000000..b1fc1166d6ee
--- /dev/null
+++ b/layout/reftests/bugs/28811-2a.html
@@ -0,0 +1,19 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
+
+
diff --git a/layout/reftests/bugs/28811-2b.html b/layout/reftests/bugs/28811-2b.html
new file mode 100644
index 000000000000..a66b9305d20a
--- /dev/null
+++ b/layout/reftests/bugs/28811-2b.html
@@ -0,0 +1,19 @@
+
+
+
+Testcase for resizing elements that depend on containing block width
+
+
+
+
+
+
+
diff --git a/layout/reftests/reftest.list b/layout/reftests/reftest.list
index 92ad30f917d4..cf57bf4d54a5 100644
--- a/layout/reftests/reftest.list
+++ b/layout/reftests/reftest.list
@@ -33,7 +33,15 @@
== bugs/18217-zorder-3.html bugs/18217-zorder-ref-inline.html
== bugs/18217-zorder-4.html bugs/18217-zorder-ref-inline.html
== bugs/18217-zorder-5.html bugs/18217-zorder-ref-inline.html
+== bugs/28811-1a.html bugs/28811-1-ref.html
+== bugs/28811-1b.html bugs/28811-1-ref.html
+== bugs/28811-2a.html bugs/28811-2-ref.html
+== bugs/28811-2b.html bugs/28811-2-ref.html
== bugs/142233-1.html bugs/142233-1-ref.html
+== bugs/163504-1a.html bugs/163504-1-ref.html
+== bugs/163504-1b.html bugs/163504-1-ref.html
+== bugs/163504-2a.html bugs/163504-2-ref.html
+== bugs/163504-2b.html bugs/163504-2-ref.html
== bugs/328829-1.xhtml bugs/328829-1-ref.xhtml
== bugs/328829-2.xhtml bugs/328829-2-ref.xhtml
== bugs/339289-1.html bugs/339289-1-ref.html