From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- .../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 0000000000..caf4a17d91 --- /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