Bug 1350835 - Part 2. Reftest for loading a big image inside foreignObject.
MozReview-Commit-ID: 2dBmewsQsqf
new file mode 100644
--- /dev/null
+++ b/layout/reftests/svg/foreignObject-big-image.svg
@@ -0,0 +1,10 @@
+<svg xmlns="http://www.w3.org/2000/svg"
+ xmlns:html="http://www.w3.org/1999/xhtml" width="40" height="40">
+
+<foreignObject x="0" y="0" width="100%" height="100%">
+ <body xmlns="http://www.w3.org/1999/xhtml" style="margin:0px">
+ <img src="big-image.jpeg" width="10" height="10"/>
+ </body>
+</foreignObject>
+
+</svg>
\ No newline at end of file
--- a/layout/reftests/svg/reftest.list
+++ b/layout/reftests/svg/reftest.list
@@ -207,16 +207,17 @@ fuzzy(71,817) == filter-on-continuation-
fuzzy-if(skiaContent,1,500) == filter-scaled-02.html filter-scaled-02-ref.html
== filter-translated-01.svg filter-translated-01-ref.svg
== filter-use-element-01.svg pass.svg
fuzzy-if(skiaContent,1,800000) == filters-and-group-opacity-01.svg filters-and-group-opacity-01-ref.svg
== foreignObject-01.svg pass.svg
== foreignObject-02.svg foreignObject-02-ref.svg
== foreignObject-ancestor-style-change-01.svg foreignObject-ancestor-style-change-01-ref.svg
+!= foreignObject-big-image.svg about:blank
== foreignObject-change-transform-01.svg pass.svg
== foreignObject-display-01.svg pass.svg
pref(layout.css.moz-appearance.enabled,true) == foreignObject-form-theme.svg foreignObject-form-theme-ref.html
== foreignObject-img-form-theme.html foreignObject-img-form-theme-ref.html
== foreignObject-move-repaint-01.svg pass.svg
== foreignObject-overflow-01.svg pass.svg
== foreignObject-start-hidden-01.svg pass.svg # followup from Bug 596765
== foreignObject-start-hidden-02.svg pass.svg