1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/svg/nested-viewBox-01.svg Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!-- 1.5 + Any copyright is dedicated to the Public Domain. 1.6 + http://creativecommons.org/publicdomain/zero/1.0/ 1.7 +--> 1.8 +<svg xmlns="http://www.w3.org/2000/svg" version="1.1"> 1.9 + 1.10 + <title>Testcase for child <svg> with viewBox</title> 1.11 + 1.12 + <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=369402 1.13 + 1.14 + The presense of the viewBox attribute below should not be stopping the 1.15 + lime rect from rendering. (The preserveAspectRatio is only there to make 1.16 + the lime rect fully cover the red rect on success. It is not the problem.) 1.17 + --> 1.18 + 1.19 + <rect width="100%" height="100%" fill="red"/> 1.20 + <svg viewBox="0 0 100 100" preserveAspectRatio="none"> 1.21 + <rect width="100%" height="100%" fill="lime"/> 1.22 + </svg> 1.23 + 1.24 +</svg>