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--pct-auto--pct-px--viewBox.svg | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--pct-px--viewBox.svg (limited to 'layout/reftests/svg/sizing/standalone--pct-auto--pct-px--viewBox.svg') diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--pct-px--viewBox.svg b/layout/reftests/svg/sizing/standalone--pct-auto--pct-px--viewBox.svg new file mode 100644 index 0000000000..6622bd6f75 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--pct-px--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:49%; height:auto; width="10%" height="70" 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