From 43a97878ce14b72f0981164f87f2e35e14151312 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 11:22:09 +0200 Subject: Adding upstream version 110.0.1. Signed-off-by: Daniel Baumann --- .../standalone--pct-auto--pct-pct--viewBox.svg | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--pct-pct--viewBox.svg (limited to 'layout/reftests/svg/sizing/standalone--pct-auto--pct-pct--viewBox.svg') diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--pct-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--pct-auto--pct-pct--viewBox.svg new file mode 100644 index 0000000000..f29e6fca75 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--pct-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:49%; height:auto; width="10%" height="20%" viewBox="0 0 1 1" + + + This testcase checks that the intrinsic ratio will be taken from the + 'viewBox' attribute when the CSS 'height' property is set to 'auto', the + 'width' 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