From 26a029d407be480d791972afb5975cf62c9360a6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 02:47:55 +0200 Subject: Adding upstream version 124.0.1. Signed-off-by: Daniel Baumann --- .../standalone--auto-pct--pct-pct--viewBox.svg | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--pct-pct--viewBox.svg (limited to 'layout/reftests/svg/sizing/standalone--auto-pct--pct-pct--viewBox.svg') diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--pct-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--auto-pct--pct-pct--viewBox.svg new file mode 100644 index 0000000000..c7262a5ebd --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--pct-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:auto; height:49%; width="20%" 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