From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../standalone--auto-pct--pct-px--viewBox.svg | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--pct-px--viewBox.svg (limited to 'layout/reftests/svg/sizing/standalone--auto-pct--pct-px--viewBox.svg') diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--pct-px--viewBox.svg b/layout/reftests/svg/sizing/standalone--auto-pct--pct-px--viewBox.svg new file mode 100644 index 000000000..caf4a17d9 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--pct-px--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:auto; height:49%; width="10%" height="10" viewBox="0 0 1 1" + + + This testcase checks that the intrinsic ratio will be taken from the + 'viewBox' attribute when the CSS 'width' property is set to 'auto', the + 'height' property is set to some other value, and the 'width' and 'height' + attributes do not provide an intrinsic ratio. You should see a blue square + with sides 49% the height of the content area when viewing this file. + + + + + -- cgit v1.2.3