Bug 1263472. Limit the height of svg embed in image/test/mochitest/test_svg_animatedGIF.html. r=xidorn

The extra height of the test element (the embed) versus the reference element (a div with height 40px) can cause the iframe the test is run in to overflow, thus causing a scrollbar in the test but not the reference. But we are only interested in testing the frame of the contained animated gif.
This commit is contained in:
Timothy Nikkel 2016-05-10 22:57:53 -05:00
parent 5c2d03855b
commit e68880b733

View File

@ -28,7 +28,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=666446
the VectorImage class for SVG, whereas in this test, we are testing
RasterImage.
-->
<embed id="embeddedSVG" src="animation.svg" type="image/svg+xml" style="display: none;"/>
<embed id="embeddedSVG" src="animation.svg" type="image/svg+xml"
style="height: 40px; width: 40px; display: none;"/>
</div>
<div id="debug" style="display:none"></div>
<pre id="test">