From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- layout/reftests/svg/sizing/ahem.css | 4 + .../svg/sizing/dynamic--inline-css-height.xhtml | 49 ++++ .../svg/sizing/dynamic--inline-css-width.xhtml | 49 ++++ .../dynamic--inline-resize-window-height.xhtml | 52 ++++ .../dynamic--inline-resize-window-width.xhtml | 52 ++++ .../sizing/dynamic--object--auto-auto--pct-px.html | 43 +++ .../svg/sizing/dynamic--object-svg-unloaded-a.svg | 40 +++ .../sizing/dynamic--object-svg-unloaded-b.xhtml | 37 +++ .../svg/sizing/dynamic--object-svg-unloaded.xhtml | 48 ++++ .../svg/sizing/inline--display-block--01-ref.xhtml | 40 +++ .../svg/sizing/inline--display-block--01.xhtml | 47 ++++ .../sizing/inline--display-inline--01-ref.xhtml | 40 +++ .../svg/sizing/inline--display-inline--01.xhtml | 47 ++++ .../inline--display-inline-block--01-ref.xhtml | 40 +++ .../sizing/inline--display-inline-block--01.xhtml | 47 ++++ .../svg/sizing/inline--float-left--01-ref.xhtml | 39 +++ .../svg/sizing/inline--float-left--01.xhtml | 46 +++ .../svg/sizing/inline--float-right--01-ref.xhtml | 39 +++ .../svg/sizing/inline--float-right--01.xhtml | 46 +++ .../sizing/inline--position-absolute--01-ref.xhtml | 39 +++ .../svg/sizing/inline--position-absolute--01.xhtml | 46 +++ .../svg/sizing/inline--position-absolute--02.xhtml | 50 ++++ .../sizing/inline--position-relative--01-ref.xhtml | 40 +++ .../svg/sizing/inline--position-relative--01.xhtml | 47 ++++ .../svg/sizing/object--auto-auto--0-0.html | 42 +++ .../reftests/svg/sizing/object--auto-auto--0-0.svg | 13 + .../svg/sizing/object--auto-auto--0-pct--ref.html | 37 +++ .../svg/sizing/object--auto-auto--0-pct.html | 44 +++ .../svg/sizing/object--auto-auto--0-pct.svg | 13 + .../svg/sizing/object--auto-auto--0-px--ref.html | 37 +++ .../svg/sizing/object--auto-auto--0-px.html | 44 +++ .../svg/sizing/object--auto-auto--0-px.svg | 13 + .../svg/sizing/object--auto-auto--pct-0--ref.html | 37 +++ .../svg/sizing/object--auto-auto--pct-0.html | 44 +++ .../svg/sizing/object--auto-auto--pct-0.svg | 13 + .../sizing/object--auto-auto--pct-pct--ref.html | 38 +++ .../svg/sizing/object--auto-auto--pct-pct.html | 42 +++ .../svg/sizing/object--auto-auto--pct-pct.svg | 13 + .../svg/sizing/object--auto-auto--pct-px--ref.html | 38 +++ .../svg/sizing/object--auto-auto--pct-px.html | 42 +++ .../svg/sizing/object--auto-auto--pct-px.svg | 13 + .../svg/sizing/object--auto-auto--px-0--ref.html | 37 +++ .../svg/sizing/object--auto-auto--px-0.html | 42 +++ .../svg/sizing/object--auto-auto--px-0.svg | 13 + .../svg/sizing/object--auto-auto--px-pct--ref.html | 38 +++ .../svg/sizing/object--auto-auto--px-pct.html | 42 +++ .../svg/sizing/object--auto-auto--px-pct.svg | 13 + .../svg/sizing/object--auto-auto--px-px--ref.html | 38 +++ .../svg/sizing/object--auto-auto--px-px.html | 42 +++ .../svg/sizing/object--auto-auto--px-px.svg | 13 + .../reftests/svg/sizing/object--pct-pct--0-0.html | 30 ++ layout/reftests/svg/sizing/pass-empty.svg | 8 + .../svg/sizing/pass-pct-height-square.xhtml | 26 ++ layout/reftests/svg/sizing/pass-pct-pct.xhtml | 30 ++ layout/reftests/svg/sizing/pass-pct-px.xhtml | 30 ++ .../svg/sizing/pass-pct-width-square.xhtml | 22 ++ layout/reftests/svg/sizing/pass-px-pct.xhtml | 30 ++ layout/reftests/svg/sizing/pass-px-px.xhtml | 30 ++ layout/reftests/svg/sizing/pass.svg | 8 + layout/reftests/svg/sizing/reftest.list | 311 +++++++++++++++++++++ .../reftests/svg/sizing/scrollbars-01-anti-ref.svg | 11 + layout/reftests/svg/sizing/scrollbars-01.svg | 13 + layout/reftests/svg/sizing/scrollbars-02.svg | 13 + .../reftests/svg/sizing/standalone--0-0--0-0.svg | 20 ++ .../reftests/svg/sizing/standalone--0-0--0-pct.svg | 20 ++ .../reftests/svg/sizing/standalone--0-0--0-px.svg | 20 ++ .../reftests/svg/sizing/standalone--0-0--pct-0.svg | 20 ++ .../svg/sizing/standalone--0-0--pct-pct.svg | 20 ++ .../svg/sizing/standalone--0-0--pct-px.svg | 20 ++ .../reftests/svg/sizing/standalone--0-0--px-0.svg | 20 ++ .../svg/sizing/standalone--0-0--px-pct.svg | 20 ++ .../reftests/svg/sizing/standalone--0-0--px-px.svg | 20 ++ .../svg/sizing/standalone--0-auto--0-0.svg | 20 ++ .../svg/sizing/standalone--0-auto--0-pct.svg | 20 ++ .../svg/sizing/standalone--0-auto--0-px.svg | 20 ++ .../svg/sizing/standalone--0-auto--pct-0.svg | 20 ++ .../svg/sizing/standalone--0-auto--pct-pct.svg | 20 ++ .../svg/sizing/standalone--0-auto--pct-px.svg | 20 ++ .../svg/sizing/standalone--0-auto--px-0.svg | 20 ++ .../svg/sizing/standalone--0-auto--px-pct.svg | 20 ++ .../svg/sizing/standalone--0-auto--px-px.svg | 20 ++ .../reftests/svg/sizing/standalone--0-pct--0-0.svg | 20 ++ .../svg/sizing/standalone--0-pct--0-pct.svg | 20 ++ .../svg/sizing/standalone--0-pct--0-px.svg | 20 ++ .../svg/sizing/standalone--0-pct--pct-0.svg | 20 ++ .../svg/sizing/standalone--0-pct--pct-pct.svg | 20 ++ .../svg/sizing/standalone--0-pct--pct-px.svg | 20 ++ .../svg/sizing/standalone--0-pct--px-0.svg | 20 ++ .../svg/sizing/standalone--0-pct--px-pct.svg | 20 ++ .../svg/sizing/standalone--0-pct--px-px.svg | 20 ++ .../reftests/svg/sizing/standalone--0-px--0-0.svg | 20 ++ .../svg/sizing/standalone--0-px--0-pct.svg | 20 ++ .../reftests/svg/sizing/standalone--0-px--0-px.svg | 20 ++ .../svg/sizing/standalone--0-px--pct-0.svg | 20 ++ .../svg/sizing/standalone--0-px--pct-pct.svg | 20 ++ .../svg/sizing/standalone--0-px--pct-px.svg | 20 ++ .../reftests/svg/sizing/standalone--0-px--px-0.svg | 20 ++ .../svg/sizing/standalone--0-px--px-pct.svg | 20 ++ .../svg/sizing/standalone--0-px--px-px.svg | 20 ++ .../svg/sizing/standalone--auto-0--0-0.svg | 20 ++ .../svg/sizing/standalone--auto-0--0-pct.svg | 20 ++ .../svg/sizing/standalone--auto-0--0-px.svg | 20 ++ .../svg/sizing/standalone--auto-0--pct-0.svg | 20 ++ .../svg/sizing/standalone--auto-0--pct-pct.svg | 20 ++ .../svg/sizing/standalone--auto-0--pct-px.svg | 20 ++ .../svg/sizing/standalone--auto-0--px-0.svg | 20 ++ .../svg/sizing/standalone--auto-0--px-pct.svg | 20 ++ .../svg/sizing/standalone--auto-0--px-px.svg | 20 ++ .../svg/sizing/standalone--auto-auto--0-0.svg | 21 ++ .../svg/sizing/standalone--auto-auto--0-pct.svg | 21 ++ .../svg/sizing/standalone--auto-auto--0-px.svg | 21 ++ .../svg/sizing/standalone--auto-auto--pct-0.svg | 21 ++ .../svg/sizing/standalone--auto-auto--pct-pct.svg | 20 ++ .../svg/sizing/standalone--auto-auto--pct-px.svg | 20 ++ .../svg/sizing/standalone--auto-auto--px-0.svg | 21 ++ .../svg/sizing/standalone--auto-auto--px-pct.svg | 20 ++ .../svg/sizing/standalone--auto-auto--px-px.svg | 20 ++ .../svg/sizing/standalone--auto-pct--0-0.svg | 22 ++ .../svg/sizing/standalone--auto-pct--0-pct.svg | 22 ++ .../svg/sizing/standalone--auto-pct--0-px.svg | 22 ++ .../svg/sizing/standalone--auto-pct--pct-0.svg | 21 ++ .../standalone--auto-pct--pct-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--auto-pct--pct-pct.svg | 21 ++ .../standalone--auto-pct--pct-px--viewBox.svg | 23 ++ .../svg/sizing/standalone--auto-pct--pct-px.svg | 21 ++ .../svg/sizing/standalone--auto-pct--px-0.svg | 21 ++ .../standalone--auto-pct--px-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--auto-pct--px-pct.svg | 21 ++ .../svg/sizing/standalone--auto-pct--px-px.svg | 20 ++ .../svg/sizing/standalone--auto-px--0-0.svg | 22 ++ .../svg/sizing/standalone--auto-px--0-pct.svg | 22 ++ .../svg/sizing/standalone--auto-px--0-px.svg | 22 ++ .../svg/sizing/standalone--auto-px--pct-0.svg | 21 ++ .../standalone--auto-px--pct-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--auto-px--pct-pct.svg | 21 ++ .../standalone--auto-px--pct-px--viewBox.svg | 23 ++ .../svg/sizing/standalone--auto-px--pct-px.svg | 21 ++ .../svg/sizing/standalone--auto-px--px-0.svg | 21 ++ .../standalone--auto-px--px-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--auto-px--px-pct.svg | 21 ++ .../svg/sizing/standalone--auto-px--px-px.svg | 20 ++ .../reftests/svg/sizing/standalone--pct-0--0-0.svg | 20 ++ .../svg/sizing/standalone--pct-0--0-pct.svg | 20 ++ .../svg/sizing/standalone--pct-0--0-px.svg | 20 ++ .../svg/sizing/standalone--pct-0--pct-0.svg | 20 ++ .../svg/sizing/standalone--pct-0--pct-pct.svg | 20 ++ .../svg/sizing/standalone--pct-0--pct-px.svg | 20 ++ .../svg/sizing/standalone--pct-0--px-0.svg | 20 ++ .../svg/sizing/standalone--pct-0--px-pct.svg | 20 ++ .../svg/sizing/standalone--pct-0--px-px.svg | 20 ++ .../svg/sizing/standalone--pct-auto--0-0.svg | 22 ++ .../svg/sizing/standalone--pct-auto--0-pct.svg | 21 ++ .../svg/sizing/standalone--pct-auto--0-px.svg | 21 ++ .../svg/sizing/standalone--pct-auto--pct-0.svg | 22 ++ .../standalone--pct-auto--pct-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--pct-auto--pct-pct.svg | 21 ++ .../standalone--pct-auto--pct-px--viewBox.svg | 23 ++ .../svg/sizing/standalone--pct-auto--pct-px.svg | 21 ++ .../svg/sizing/standalone--pct-auto--px-0.svg | 22 ++ .../standalone--pct-auto--px-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--pct-auto--px-pct.svg | 21 ++ .../svg/sizing/standalone--pct-auto--px-px.svg | 20 ++ .../svg/sizing/standalone--pct-pct--0-0.svg | 20 ++ .../svg/sizing/standalone--pct-pct--0-pct.svg | 20 ++ .../svg/sizing/standalone--pct-pct--0-px.svg | 20 ++ .../svg/sizing/standalone--pct-pct--pct-0.svg | 20 ++ .../svg/sizing/standalone--pct-pct--pct-pct.svg | 20 ++ .../svg/sizing/standalone--pct-pct--pct-px.svg | 20 ++ .../svg/sizing/standalone--pct-pct--px-0.svg | 20 ++ .../svg/sizing/standalone--pct-pct--px-pct.svg | 20 ++ .../svg/sizing/standalone--pct-pct--px-px.svg | 20 ++ .../svg/sizing/standalone--pct-px--0-0.svg | 20 ++ .../svg/sizing/standalone--pct-px--0-pct.svg | 20 ++ .../svg/sizing/standalone--pct-px--0-px.svg | 20 ++ .../svg/sizing/standalone--pct-px--pct-0.svg | 20 ++ .../svg/sizing/standalone--pct-px--pct-pct.svg | 20 ++ .../svg/sizing/standalone--pct-px--pct-px.svg | 20 ++ .../svg/sizing/standalone--pct-px--px-0.svg | 20 ++ .../svg/sizing/standalone--pct-px--px-pct.svg | 20 ++ .../svg/sizing/standalone--pct-px--px-px.svg | 20 ++ .../reftests/svg/sizing/standalone--px-0--0-0.svg | 20 ++ .../svg/sizing/standalone--px-0--0-pct.svg | 20 ++ .../reftests/svg/sizing/standalone--px-0--0-px.svg | 20 ++ .../svg/sizing/standalone--px-0--pct-0.svg | 20 ++ .../svg/sizing/standalone--px-0--pct-pct.svg | 20 ++ .../svg/sizing/standalone--px-0--pct-px.svg | 20 ++ .../reftests/svg/sizing/standalone--px-0--px-0.svg | 20 ++ .../svg/sizing/standalone--px-0--px-pct.svg | 20 ++ .../svg/sizing/standalone--px-0--px-px.svg | 20 ++ .../svg/sizing/standalone--px-auto--0-0.svg | 22 ++ .../svg/sizing/standalone--px-auto--0-pct.svg | 21 ++ .../svg/sizing/standalone--px-auto--0-px.svg | 21 ++ .../svg/sizing/standalone--px-auto--pct-0.svg | 22 ++ .../standalone--px-auto--pct-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--px-auto--pct-pct.svg | 21 ++ .../standalone--px-auto--pct-px--viewBox.svg | 23 ++ .../svg/sizing/standalone--px-auto--pct-px.svg | 21 ++ .../svg/sizing/standalone--px-auto--px-0.svg | 22 ++ .../standalone--px-auto--px-pct--viewBox.svg | 23 ++ .../svg/sizing/standalone--px-auto--px-pct.svg | 21 ++ .../svg/sizing/standalone--px-auto--px-px.svg | 20 ++ .../svg/sizing/standalone--px-pct--0-0.svg | 20 ++ .../svg/sizing/standalone--px-pct--0-pct.svg | 20 ++ .../svg/sizing/standalone--px-pct--0-px.svg | 20 ++ .../svg/sizing/standalone--px-pct--pct-0.svg | 20 ++ .../svg/sizing/standalone--px-pct--pct-pct.svg | 20 ++ .../svg/sizing/standalone--px-pct--pct-px.svg | 20 ++ .../svg/sizing/standalone--px-pct--px-0.svg | 20 ++ .../svg/sizing/standalone--px-pct--px-pct.svg | 20 ++ .../svg/sizing/standalone--px-pct--px-px.svg | 20 ++ .../reftests/svg/sizing/standalone--px-px--0-0.svg | 20 ++ .../svg/sizing/standalone--px-px--0-pct.svg | 20 ++ .../svg/sizing/standalone--px-px--0-px.svg | 20 ++ .../svg/sizing/standalone--px-px--pct-0.svg | 20 ++ .../svg/sizing/standalone--px-px--pct-pct.svg | 20 ++ .../svg/sizing/standalone--px-px--pct-px.svg | 20 ++ .../svg/sizing/standalone--px-px--px-0.svg | 20 ++ .../svg/sizing/standalone--px-px--px-pct.svg | 20 ++ .../svg/sizing/standalone--px-px--px-px.svg | 20 ++ .../svg/sizing/standalone-sanity-height-150px.svg | 8 + .../svg/sizing/standalone-sanity-height-pct.svg | 8 + .../svg/sizing/standalone-sanity-height-px.svg | 8 + .../svg/sizing/standalone-sanity-width-300px.svg | 8 + .../svg/sizing/standalone-sanity-width-pct.svg | 8 + .../svg/sizing/standalone-sanity-width-px.svg | 8 + 225 files changed, 5643 insertions(+) create mode 100644 layout/reftests/svg/sizing/ahem.css create mode 100644 layout/reftests/svg/sizing/dynamic--inline-css-height.xhtml create mode 100644 layout/reftests/svg/sizing/dynamic--inline-css-width.xhtml create mode 100644 layout/reftests/svg/sizing/dynamic--inline-resize-window-height.xhtml create mode 100644 layout/reftests/svg/sizing/dynamic--inline-resize-window-width.xhtml create mode 100644 layout/reftests/svg/sizing/dynamic--object--auto-auto--pct-px.html create mode 100644 layout/reftests/svg/sizing/dynamic--object-svg-unloaded-a.svg create mode 100644 layout/reftests/svg/sizing/dynamic--object-svg-unloaded-b.xhtml create mode 100644 layout/reftests/svg/sizing/dynamic--object-svg-unloaded.xhtml create mode 100644 layout/reftests/svg/sizing/inline--display-block--01-ref.xhtml create mode 100644 layout/reftests/svg/sizing/inline--display-block--01.xhtml create mode 100644 layout/reftests/svg/sizing/inline--display-inline--01-ref.xhtml create mode 100644 layout/reftests/svg/sizing/inline--display-inline--01.xhtml create mode 100644 layout/reftests/svg/sizing/inline--display-inline-block--01-ref.xhtml create mode 100644 layout/reftests/svg/sizing/inline--display-inline-block--01.xhtml create mode 100644 layout/reftests/svg/sizing/inline--float-left--01-ref.xhtml create mode 100644 layout/reftests/svg/sizing/inline--float-left--01.xhtml create mode 100644 layout/reftests/svg/sizing/inline--float-right--01-ref.xhtml create mode 100644 layout/reftests/svg/sizing/inline--float-right--01.xhtml create mode 100644 layout/reftests/svg/sizing/inline--position-absolute--01-ref.xhtml create mode 100644 layout/reftests/svg/sizing/inline--position-absolute--01.xhtml create mode 100644 layout/reftests/svg/sizing/inline--position-absolute--02.xhtml create mode 100644 layout/reftests/svg/sizing/inline--position-relative--01-ref.xhtml create mode 100644 layout/reftests/svg/sizing/inline--position-relative--01.xhtml create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-0.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-0.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-pct--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-pct.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-pct.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-px--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-px.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--0-px.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-0--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-0.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-0.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-pct--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-pct.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-px--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-px.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--pct-px.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-0--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-0.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-0.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-pct--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-pct.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-pct.svg create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-px--ref.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-px.html create mode 100644 layout/reftests/svg/sizing/object--auto-auto--px-px.svg create mode 100644 layout/reftests/svg/sizing/object--pct-pct--0-0.html create mode 100644 layout/reftests/svg/sizing/pass-empty.svg create mode 100644 layout/reftests/svg/sizing/pass-pct-height-square.xhtml create mode 100644 layout/reftests/svg/sizing/pass-pct-pct.xhtml create mode 100644 layout/reftests/svg/sizing/pass-pct-px.xhtml create mode 100644 layout/reftests/svg/sizing/pass-pct-width-square.xhtml create mode 100644 layout/reftests/svg/sizing/pass-px-pct.xhtml create mode 100644 layout/reftests/svg/sizing/pass-px-px.xhtml create mode 100644 layout/reftests/svg/sizing/pass.svg create mode 100644 layout/reftests/svg/sizing/reftest.list create mode 100644 layout/reftests/svg/sizing/scrollbars-01-anti-ref.svg create mode 100644 layout/reftests/svg/sizing/scrollbars-01.svg create mode 100644 layout/reftests/svg/sizing/scrollbars-02.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-0--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-auto--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-pct--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--0-px--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-0--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-auto--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--pct-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--pct-px--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--px-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-pct--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--pct-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--pct-px--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--px-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--auto-px--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-0--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--pct-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--pct-px--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--px-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-auto--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-pct--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--pct-px--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-0--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--pct-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--pct-px--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--px-pct--viewBox.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-auto--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-pct--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--0-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--0-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--0-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--pct-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--pct-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--pct-px.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--px-0.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--px-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone--px-px--px-px.svg create mode 100644 layout/reftests/svg/sizing/standalone-sanity-height-150px.svg create mode 100644 layout/reftests/svg/sizing/standalone-sanity-height-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone-sanity-height-px.svg create mode 100644 layout/reftests/svg/sizing/standalone-sanity-width-300px.svg create mode 100644 layout/reftests/svg/sizing/standalone-sanity-width-pct.svg create mode 100644 layout/reftests/svg/sizing/standalone-sanity-width-px.svg (limited to 'layout/reftests/svg/sizing') diff --git a/layout/reftests/svg/sizing/ahem.css b/layout/reftests/svg/sizing/ahem.css new file mode 100644 index 0000000000..5cea74d04f --- /dev/null +++ b/layout/reftests/svg/sizing/ahem.css @@ -0,0 +1,4 @@ +@font-face { + font-family: "Ahem"; + src: url(../../fonts/Ahem.ttf); +} diff --git a/layout/reftests/svg/sizing/dynamic--inline-css-height.xhtml b/layout/reftests/svg/sizing/dynamic--inline-css-height.xhtml new file mode 100644 index 0000000000..2abf3a32b1 --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--inline-css-height.xhtml @@ -0,0 +1,49 @@ + + + + + + + Test: change CSS 'height' property on inline SVG + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/sizing/dynamic--inline-css-width.xhtml b/layout/reftests/svg/sizing/dynamic--inline-css-width.xhtml new file mode 100644 index 0000000000..b23407b6dc --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--inline-css-width.xhtml @@ -0,0 +1,49 @@ + + + + + + + Test: change CSS 'width' property on inline SVG + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/sizing/dynamic--inline-resize-window-height.xhtml b/layout/reftests/svg/sizing/dynamic--inline-resize-window-height.xhtml new file mode 100644 index 0000000000..3091947d88 --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--inline-resize-window-height.xhtml @@ -0,0 +1,52 @@ + + + + + + + Test: resize of window height + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/sizing/dynamic--inline-resize-window-width.xhtml b/layout/reftests/svg/sizing/dynamic--inline-resize-window-width.xhtml new file mode 100644 index 0000000000..dbf0c87620 --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--inline-resize-window-width.xhtml @@ -0,0 +1,52 @@ + + + + + + + Test: resize of window width + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/sizing/dynamic--object--auto-auto--pct-px.html b/layout/reftests/svg/sizing/dynamic--object--auto-auto--pct-px.html new file mode 100644 index 0000000000..1fbecb0dc7 --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--object--auto-auto--pct-px.html @@ -0,0 +1,43 @@ + + + + + + + Test: width:auto; height:auto; width="49%" height="70px" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/dynamic--object-svg-unloaded-a.svg b/layout/reftests/svg/sizing/dynamic--object-svg-unloaded-a.svg new file mode 100644 index 0000000000..8ee8e25709 --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--object-svg-unloaded-a.svg @@ -0,0 +1,40 @@ + + + + + + SVG embedded by reference by dynamic--object-svg-unloaded.xhtml + + + + + + diff --git a/layout/reftests/svg/sizing/dynamic--object-svg-unloaded-b.xhtml b/layout/reftests/svg/sizing/dynamic--object-svg-unloaded-b.xhtml new file mode 100644 index 0000000000..7ed4c539ce --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--object-svg-unloaded-b.xhtml @@ -0,0 +1,37 @@ + + + + + + + SVG embedded by reference by dynamic--object-svg-unloaded.xhtml + + + + + + + + diff --git a/layout/reftests/svg/sizing/dynamic--object-svg-unloaded.xhtml b/layout/reftests/svg/sizing/dynamic--object-svg-unloaded.xhtml new file mode 100644 index 0000000000..6095e7cb18 --- /dev/null +++ b/layout/reftests/svg/sizing/dynamic--object-svg-unloaded.xhtml @@ -0,0 +1,48 @@ + + + + + + + Test: object should resize when SVG is unloaded + + + + + + + +
+ + + FAIL + + + + diff --git a/layout/reftests/svg/sizing/inline--display-block--01-ref.xhtml b/layout/reftests/svg/sizing/inline--display-block--01-ref.xhtml new file mode 100644 index 0000000000..f258873729 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--display-block--01-ref.xhtml @@ -0,0 +1,40 @@ + + + + + + + Reference for test inline--display-block--01.xhtml + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + +
+
+ + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--display-block--01.xhtml b/layout/reftests/svg/sizing/inline--display-block--01.xhtml new file mode 100644 index 0000000000..4b8cbe4266 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--display-block--01.xhtml @@ -0,0 +1,47 @@ + + + + + + + Test: display:block with width="51" height="51" + + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--display-inline--01-ref.xhtml b/layout/reftests/svg/sizing/inline--display-inline--01-ref.xhtml new file mode 100644 index 0000000000..65cb6542ba --- /dev/null +++ b/layout/reftests/svg/sizing/inline--display-inline--01-ref.xhtml @@ -0,0 +1,40 @@ + + + + + + + Reference for test inline--display-inline--01.xhtml + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--display-inline--01.xhtml b/layout/reftests/svg/sizing/inline--display-inline--01.xhtml new file mode 100644 index 0000000000..5139f6e477 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--display-inline--01.xhtml @@ -0,0 +1,47 @@ + + + + + + + Test: display:inline with width="51" height="51" + + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--display-inline-block--01-ref.xhtml b/layout/reftests/svg/sizing/inline--display-inline-block--01-ref.xhtml new file mode 100644 index 0000000000..93cb2d1ddf --- /dev/null +++ b/layout/reftests/svg/sizing/inline--display-inline-block--01-ref.xhtml @@ -0,0 +1,40 @@ + + + + + + + Reference for test inline--display-inline-block--01.xhtml + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + +
+
+ + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--display-inline-block--01.xhtml b/layout/reftests/svg/sizing/inline--display-inline-block--01.xhtml new file mode 100644 index 0000000000..f2f9a84812 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--display-inline-block--01.xhtml @@ -0,0 +1,47 @@ + + + + + + + Test: display:inline-block with width="51" height="51" + + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--float-left--01-ref.xhtml b/layout/reftests/svg/sizing/inline--float-left--01-ref.xhtml new file mode 100644 index 0000000000..f46dc85919 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--float-left--01-ref.xhtml @@ -0,0 +1,39 @@ + + + + + + + Reference for test inline--float-left--01.xhtml + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + +
+
+ + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--float-left--01.xhtml b/layout/reftests/svg/sizing/inline--float-left--01.xhtml new file mode 100644 index 0000000000..f575db2e74 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--float-left--01.xhtml @@ -0,0 +1,46 @@ + + + + + + + Test: float:left with width="51" height="51" + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--float-right--01-ref.xhtml b/layout/reftests/svg/sizing/inline--float-right--01-ref.xhtml new file mode 100644 index 0000000000..1803862f9e --- /dev/null +++ b/layout/reftests/svg/sizing/inline--float-right--01-ref.xhtml @@ -0,0 +1,39 @@ + + + + + + + Reference for test inline--float-right--01.xhtml + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + +
+
+ + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--float-right--01.xhtml b/layout/reftests/svg/sizing/inline--float-right--01.xhtml new file mode 100644 index 0000000000..1054c1b62f --- /dev/null +++ b/layout/reftests/svg/sizing/inline--float-right--01.xhtml @@ -0,0 +1,46 @@ + + + + + + + Test: float:right with width="51" height="51" + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--position-absolute--01-ref.xhtml b/layout/reftests/svg/sizing/inline--position-absolute--01-ref.xhtml new file mode 100644 index 0000000000..24464c520a --- /dev/null +++ b/layout/reftests/svg/sizing/inline--position-absolute--01-ref.xhtml @@ -0,0 +1,39 @@ + + + + + + + Reference for test inline--position-absolute--01.xhtml + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + +
+
+ + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--position-absolute--01.xhtml b/layout/reftests/svg/sizing/inline--position-absolute--01.xhtml new file mode 100644 index 0000000000..370a9bc438 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--position-absolute--01.xhtml @@ -0,0 +1,46 @@ + + + + + + + Test: position:absolute with width="51" height="51" + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--position-absolute--02.xhtml b/layout/reftests/svg/sizing/inline--position-absolute--02.xhtml new file mode 100644 index 0000000000..a9f7a2b7ed --- /dev/null +++ b/layout/reftests/svg/sizing/inline--position-absolute--02.xhtml @@ -0,0 +1,50 @@ + + + + + + + Test: percentage height on absolutely positioned SVG + + + + + + + + +
+ + +
+ + + + + + + +
+ + + diff --git a/layout/reftests/svg/sizing/inline--position-relative--01-ref.xhtml b/layout/reftests/svg/sizing/inline--position-relative--01-ref.xhtml new file mode 100644 index 0000000000..dd7cff1e18 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--position-relative--01-ref.xhtml @@ -0,0 +1,40 @@ + + + + + + + Reference for test inline--position-relative--01.xhtml + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/inline--position-relative--01.xhtml b/layout/reftests/svg/sizing/inline--position-relative--01.xhtml new file mode 100644 index 0000000000..0e4c334fd1 --- /dev/null +++ b/layout/reftests/svg/sizing/inline--position-relative--01.xhtml @@ -0,0 +1,47 @@ + + + + + + + Test: position:relative with width="51" height="51" + + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + + + + + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + Padding text. Padding text. Padding text. Padding text. Padding text. + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-0.html b/layout/reftests/svg/sizing/object--auto-auto--0-0.html new file mode 100644 index 0000000000..4601a0c37a --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-0.html @@ -0,0 +1,42 @@ + + + + + + + Test: width:auto; height:auto; width="0" height="0" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-0.svg b/layout/reftests/svg/sizing/object--auto-auto--0-0.svg new file mode 100644 index 0000000000..fa0eddd82c --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-0.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--0-0.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-pct--ref.html b/layout/reftests/svg/sizing/object--auto-auto--0-pct--ref.html new file mode 100644 index 0000000000..1dff62fda5 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-pct--ref.html @@ -0,0 +1,37 @@ + + + + + + + Reference for test object--auto-auto--0-pct.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-pct.html b/layout/reftests/svg/sizing/object--auto-auto--0-pct.html new file mode 100644 index 0000000000..92e266e5fd --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-pct.html @@ -0,0 +1,44 @@ + + + + + + + Test: width:auto; height:auto; width="0" height="49%" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-pct.svg b/layout/reftests/svg/sizing/object--auto-auto--0-pct.svg new file mode 100644 index 0000000000..e955c400f0 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-pct.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--0-pct.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-px--ref.html b/layout/reftests/svg/sizing/object--auto-auto--0-px--ref.html new file mode 100644 index 0000000000..5c44bf52b6 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-px--ref.html @@ -0,0 +1,37 @@ + + + + + + + Reference for test object--auto-auto--0-px.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-px.html b/layout/reftests/svg/sizing/object--auto-auto--0-px.html new file mode 100644 index 0000000000..ec0d8d694e --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-px.html @@ -0,0 +1,44 @@ + + + + + + + Test: width:auto; height:auto; width="0" height="70px" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--0-px.svg b/layout/reftests/svg/sizing/object--auto-auto--0-px.svg new file mode 100644 index 0000000000..0b4b0984d4 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--0-px.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--0-px.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-0--ref.html b/layout/reftests/svg/sizing/object--auto-auto--pct-0--ref.html new file mode 100644 index 0000000000..257ff52684 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-0--ref.html @@ -0,0 +1,37 @@ + + + + + + + Reference for test object--auto-auto--pct-0.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-0.html b/layout/reftests/svg/sizing/object--auto-auto--pct-0.html new file mode 100644 index 0000000000..231d4e4b3c --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-0.html @@ -0,0 +1,44 @@ + + + + + + + Test: width:auto; height:auto; width="49%" height="0" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-0.svg b/layout/reftests/svg/sizing/object--auto-auto--pct-0.svg new file mode 100644 index 0000000000..d460c2fa69 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-0.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--pct-0.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-pct--ref.html b/layout/reftests/svg/sizing/object--auto-auto--pct-pct--ref.html new file mode 100644 index 0000000000..8e9ae6f878 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-pct--ref.html @@ -0,0 +1,38 @@ + + + + + + + Reference for test object--auto-auto--pct-pct.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-pct.html b/layout/reftests/svg/sizing/object--auto-auto--pct-pct.html new file mode 100644 index 0000000000..3d05e12c41 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-pct.html @@ -0,0 +1,42 @@ + + + + + + + Test: width:auto; height:auto; width="49%" height="49%" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-pct.svg b/layout/reftests/svg/sizing/object--auto-auto--pct-pct.svg new file mode 100644 index 0000000000..c96b04a738 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-pct.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--pct-pct.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-px--ref.html b/layout/reftests/svg/sizing/object--auto-auto--pct-px--ref.html new file mode 100644 index 0000000000..af3fa39a7d --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-px--ref.html @@ -0,0 +1,38 @@ + + + + + + + Reference for test object--auto-auto--pct-px.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-px.html b/layout/reftests/svg/sizing/object--auto-auto--pct-px.html new file mode 100644 index 0000000000..d711e1bda1 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-px.html @@ -0,0 +1,42 @@ + + + + + + + Test: width:auto; height:auto; width="49%" height="70px" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--pct-px.svg b/layout/reftests/svg/sizing/object--auto-auto--pct-px.svg new file mode 100644 index 0000000000..41fe8bd1d7 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--pct-px.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--pct-px.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-0--ref.html b/layout/reftests/svg/sizing/object--auto-auto--px-0--ref.html new file mode 100644 index 0000000000..19a3ac08a6 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-0--ref.html @@ -0,0 +1,37 @@ + + + + + + + Reference for test object--auto-auto--px-0.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-0.html b/layout/reftests/svg/sizing/object--auto-auto--px-0.html new file mode 100644 index 0000000000..9bdd4ed4a1 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-0.html @@ -0,0 +1,42 @@ + + + + + + + Test: width:auto; height:auto; width="70px" height="0" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-0.svg b/layout/reftests/svg/sizing/object--auto-auto--px-0.svg new file mode 100644 index 0000000000..9e0c2b1cf7 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-0.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--px-0.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-pct--ref.html b/layout/reftests/svg/sizing/object--auto-auto--px-pct--ref.html new file mode 100644 index 0000000000..7464351dd5 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-pct--ref.html @@ -0,0 +1,38 @@ + + + + + + + Reference for test object--auto-auto--px-pct.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-pct.html b/layout/reftests/svg/sizing/object--auto-auto--px-pct.html new file mode 100644 index 0000000000..3d1591077e --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-pct.html @@ -0,0 +1,42 @@ + + + + + + + Test: width:auto; height:auto; width="70px" height="49%" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-pct.svg b/layout/reftests/svg/sizing/object--auto-auto--px-pct.svg new file mode 100644 index 0000000000..b409562ac3 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-pct.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--px-pct.html + + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-px--ref.html b/layout/reftests/svg/sizing/object--auto-auto--px-px--ref.html new file mode 100644 index 0000000000..8f7b4ff769 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-px--ref.html @@ -0,0 +1,38 @@ + + + + + + + Reference for test object--auto-auto--px-px.html + + + + +
+ + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-px.html b/layout/reftests/svg/sizing/object--auto-auto--px-px.html new file mode 100644 index 0000000000..7cb3011b4a --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-px.html @@ -0,0 +1,42 @@ + + + + + + + Test: width:auto; height:auto; width="70px" height="70px" + + + + + + + + FAIL + + + diff --git a/layout/reftests/svg/sizing/object--auto-auto--px-px.svg b/layout/reftests/svg/sizing/object--auto-auto--px-px.svg new file mode 100644 index 0000000000..6721898076 --- /dev/null +++ b/layout/reftests/svg/sizing/object--auto-auto--px-px.svg @@ -0,0 +1,13 @@ + + + + + + SVG embedded by reference by object--auto-auto--px-px.html + + + + diff --git a/layout/reftests/svg/sizing/object--pct-pct--0-0.html b/layout/reftests/svg/sizing/object--pct-pct--0-0.html new file mode 100644 index 0000000000..22b287df62 --- /dev/null +++ b/layout/reftests/svg/sizing/object--pct-pct--0-0.html @@ -0,0 +1,30 @@ + + + + + + + Test: the width/height of SVG embedded by reference must be overridden + + + + + + + FAILED TO LOAD + + diff --git a/layout/reftests/svg/sizing/pass-empty.svg b/layout/reftests/svg/sizing/pass-empty.svg new file mode 100644 index 0000000000..67be674dc3 --- /dev/null +++ b/layout/reftests/svg/sizing/pass-empty.svg @@ -0,0 +1,8 @@ + + + Reference SVG for comparisons + + diff --git a/layout/reftests/svg/sizing/pass-pct-height-square.xhtml b/layout/reftests/svg/sizing/pass-pct-height-square.xhtml new file mode 100644 index 0000000000..ac6a60d1b4 --- /dev/null +++ b/layout/reftests/svg/sizing/pass-pct-height-square.xhtml @@ -0,0 +1,26 @@ + + + + Reference file for comparisons + + + + + + diff --git a/layout/reftests/svg/sizing/pass-pct-pct.xhtml b/layout/reftests/svg/sizing/pass-pct-pct.xhtml new file mode 100644 index 0000000000..e53d3e5fda --- /dev/null +++ b/layout/reftests/svg/sizing/pass-pct-pct.xhtml @@ -0,0 +1,30 @@ + + + + Reference file for comparisons + + +
+ diff --git a/layout/reftests/svg/sizing/pass-pct-px.xhtml b/layout/reftests/svg/sizing/pass-pct-px.xhtml new file mode 100644 index 0000000000..e1f5b4f7ae --- /dev/null +++ b/layout/reftests/svg/sizing/pass-pct-px.xhtml @@ -0,0 +1,30 @@ + + + + Reference file for comparisons + + +
+ diff --git a/layout/reftests/svg/sizing/pass-pct-width-square.xhtml b/layout/reftests/svg/sizing/pass-pct-width-square.xhtml new file mode 100644 index 0000000000..e257bde4aa --- /dev/null +++ b/layout/reftests/svg/sizing/pass-pct-width-square.xhtml @@ -0,0 +1,22 @@ + + + + Reference file for comparisons + + + + + + diff --git a/layout/reftests/svg/sizing/pass-px-pct.xhtml b/layout/reftests/svg/sizing/pass-px-pct.xhtml new file mode 100644 index 0000000000..73f92e2adc --- /dev/null +++ b/layout/reftests/svg/sizing/pass-px-pct.xhtml @@ -0,0 +1,30 @@ + + + + Reference file for comparisons + + +
+ diff --git a/layout/reftests/svg/sizing/pass-px-px.xhtml b/layout/reftests/svg/sizing/pass-px-px.xhtml new file mode 100644 index 0000000000..5e2f598d53 --- /dev/null +++ b/layout/reftests/svg/sizing/pass-px-px.xhtml @@ -0,0 +1,30 @@ + + + + Reference file for comparisons + + +
+ diff --git a/layout/reftests/svg/sizing/pass.svg b/layout/reftests/svg/sizing/pass.svg new file mode 100644 index 0000000000..c09c6601e8 --- /dev/null +++ b/layout/reftests/svg/sizing/pass.svg @@ -0,0 +1,8 @@ + + + Testcase reference file for generic pass condition + + diff --git a/layout/reftests/svg/sizing/reftest.list b/layout/reftests/svg/sizing/reftest.list new file mode 100644 index 0000000000..4437da4299 --- /dev/null +++ b/layout/reftests/svg/sizing/reftest.list @@ -0,0 +1,311 @@ + +# This directory contains tests that test the sizing of the SVG viewport into +# which SVG is rendered. It includes tests for standalone SVG, SVG embedded by +# reference using the HTML element, and SVG rendered inline within +# XHTML. +# +# SVG's element is a "replaced element". The main specification texts +# covering how the element is sized are: +# +# http://www.w3.org/TR/SVGMobile12/coords.html#InitialViewport +# http://www.w3.org/TR/SVGMobile12/coords.html#IntrinsicSizing +# http://www.w3.org/TR/CSS21/visudet.html + +!= scrollbars-01.svg scrollbars-01-anti-ref.svg +!= scrollbars-02.svg scrollbars-01-anti-ref.svg + +# Standalone tests +# +# To get reasonable test coverage of the implementation of the replaced element +# algorythm we test all permutations of the CSS 'width' and 'height' properties +# having the values zero, auto, a px value or a percentage value, and of the +# intrinsic width and height (the 'width' and 'height' attributes) having the +# values zero, a px value or a percentage value. This gives us 4*4*3*3 == 144 +# tests. On top of that, there are 12 cases from the 144 permutations for which +# the 'viewBox' attribute should have an affect (see below). +# +# In the file names for the standalone tests that follow, the first two fields +# denote the type of value specified for the CSS 'width' and 'height' +# properties, and the third and four fields denote the type of value used for +# the intrinsic width and height (i.e. the 'width' and 'height' attributes). +# +# Note that the standalone SVG testcases can't test defaulting to 300x150 px +# because SVG always has an intrinsic width and height. To get the size of an +# SVG to default to 300x150 px the SVG will need to have a containing block +# that depends on the SVG's size (e.g. a floating containing block). Again, see +# below for those tests. + +== standalone--0-0--0-0.svg pass-empty.svg +== standalone--0-0--0-pct.svg pass-empty.svg +== standalone--0-0--0-px.svg pass-empty.svg +== standalone--0-0--pct-0.svg pass-empty.svg +== standalone--0-0--pct-pct.svg pass-empty.svg +== standalone--0-0--pct-px.svg pass-empty.svg +== standalone--0-0--px-0.svg pass-empty.svg +== standalone--0-0--px-pct.svg pass-empty.svg +== standalone--0-0--px-px.svg pass-empty.svg + +== standalone--0-auto--0-0.svg pass-empty.svg +== standalone--0-auto--0-pct.svg pass-empty.svg +== standalone--0-auto--0-px.svg pass-empty.svg +== standalone--0-auto--pct-0.svg pass-empty.svg +== standalone--0-auto--pct-pct.svg pass-empty.svg +== standalone--0-auto--pct-px.svg pass-empty.svg +== standalone--0-auto--px-0.svg pass-empty.svg +== standalone--0-auto--px-pct.svg pass-empty.svg +== standalone--0-auto--px-px.svg pass-empty.svg + +== standalone--0-pct--0-0.svg pass-empty.svg +== standalone--0-pct--0-pct.svg pass-empty.svg +== standalone--0-pct--0-px.svg pass-empty.svg +== standalone--0-pct--pct-0.svg pass-empty.svg +== standalone--0-pct--pct-pct.svg pass-empty.svg +== standalone--0-pct--pct-px.svg pass-empty.svg +== standalone--0-pct--px-0.svg pass-empty.svg +== standalone--0-pct--px-pct.svg pass-empty.svg +== standalone--0-pct--px-px.svg pass-empty.svg + +== standalone--0-px--0-0.svg pass-empty.svg +== standalone--0-px--0-pct.svg pass-empty.svg +== standalone--0-px--0-px.svg pass-empty.svg +== standalone--0-px--pct-0.svg pass-empty.svg +== standalone--0-px--pct-pct.svg pass-empty.svg +== standalone--0-px--pct-px.svg pass-empty.svg +== standalone--0-px--px-0.svg pass-empty.svg +== standalone--0-px--px-pct.svg pass-empty.svg +== standalone--0-px--px-px.svg pass-empty.svg + +== standalone--auto-0--0-0.svg pass-empty.svg +== standalone--auto-0--0-pct.svg pass-empty.svg +== standalone--auto-0--0-px.svg pass-empty.svg +== standalone--auto-0--pct-0.svg pass-empty.svg +== standalone--auto-0--pct-pct.svg pass-empty.svg +== standalone--auto-0--pct-px.svg pass-empty.svg +== standalone--auto-0--px-0.svg pass-empty.svg +== standalone--auto-0--px-pct.svg pass-empty.svg +== standalone--auto-0--px-px.svg pass-empty.svg + +== standalone--auto-auto--0-0.svg pass-empty.svg +== standalone--auto-auto--0-pct.svg pass-empty.svg +== standalone--auto-auto--0-px.svg pass-empty.svg +== standalone--auto-auto--pct-0.svg pass-empty.svg +fuzzy-if(d2d,0-1,0-400) == standalone--auto-auto--pct-pct.svg pass-pct-pct.xhtml +== standalone--auto-auto--pct-px.svg pass-pct-px.xhtml +== standalone--auto-auto--px-0.svg pass-empty.svg +== standalone--auto-auto--px-pct.svg pass-px-pct.xhtml +== standalone--auto-auto--px-px.svg pass-px-px.xhtml + +== standalone--auto-pct--0-0.svg pass-empty.svg +== standalone--auto-pct--0-pct.svg pass-empty.svg +== standalone--auto-pct--0-px.svg pass-empty.svg +fuzzy-if(d2d,0-1,0-400) == standalone--auto-pct--pct-0.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--auto-pct--pct-pct.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--auto-pct--pct-px.svg pass-pct-pct.xhtml +== standalone--auto-pct--px-0.svg pass-px-pct.xhtml +== standalone--auto-pct--px-pct.svg pass-px-pct.xhtml +fuzzy-if(d2d,0-1,0-1000) == standalone--auto-pct--px-px.svg pass-pct-height-square.xhtml # intrinsic ratio! + +== standalone--auto-px--0-0.svg pass-empty.svg +== standalone--auto-px--0-pct.svg pass-empty.svg +== standalone--auto-px--0-px.svg pass-empty.svg +== standalone--auto-px--pct-0.svg pass-pct-px.xhtml +== standalone--auto-px--pct-pct.svg pass-pct-px.xhtml +== standalone--auto-px--pct-px.svg pass-pct-px.xhtml +== standalone--auto-px--px-0.svg pass-px-px.xhtml +== standalone--auto-px--px-pct.svg pass-px-px.xhtml +== standalone--auto-px--px-px.svg pass-px-px.xhtml # intrinsic ratio! + +== standalone--pct-0--0-0.svg pass-empty.svg +== standalone--pct-0--0-pct.svg pass-empty.svg +== standalone--pct-0--0-px.svg pass-empty.svg +== standalone--pct-0--pct-0.svg pass-empty.svg +== standalone--pct-0--pct-pct.svg pass-empty.svg +== standalone--pct-0--pct-px.svg pass-empty.svg +== standalone--pct-0--px-0.svg pass-empty.svg +== standalone--pct-0--px-pct.svg pass-empty.svg +== standalone--pct-0--px-px.svg pass-empty.svg + +== standalone--pct-auto--0-0.svg pass-empty.svg +fuzzy-if(d2d,0-1,0-400) == standalone--pct-auto--0-pct.svg pass-pct-pct.xhtml +== standalone--pct-auto--0-px.svg pass-pct-px.xhtml +== standalone--pct-auto--pct-0.svg pass-empty.svg +fuzzy-if(d2d,0-1,0-400) == standalone--pct-auto--pct-pct.svg pass-pct-pct.xhtml +== standalone--pct-auto--pct-px.svg pass-pct-px.xhtml +== standalone--pct-auto--px-0.svg pass-empty.svg +fuzzy-if(d2d,0-1,0-400) == standalone--pct-auto--px-pct.svg pass-pct-pct.xhtml +== standalone--pct-auto--px-px.svg pass-pct-width-square.xhtml # intrinsic ratio! + +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--0-0.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--0-pct.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--0-px.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--pct-0.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--pct-pct.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--pct-px.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--px-0.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--px-pct.svg pass-pct-pct.xhtml +fuzzy-if(d2d,0-1,0-400) == standalone--pct-pct--px-px.svg pass-pct-pct.xhtml + +== standalone--pct-px--0-0.svg pass-pct-px.xhtml +== standalone--pct-px--0-pct.svg pass-pct-px.xhtml +== standalone--pct-px--0-px.svg pass-pct-px.xhtml +== standalone--pct-px--pct-0.svg pass-pct-px.xhtml +== standalone--pct-px--pct-pct.svg pass-pct-px.xhtml +== standalone--pct-px--pct-px.svg pass-pct-px.xhtml +== standalone--pct-px--px-0.svg pass-pct-px.xhtml +== standalone--pct-px--px-pct.svg pass-pct-px.xhtml +== standalone--pct-px--px-px.svg pass-pct-px.xhtml + +== standalone--px-0--0-0.svg pass-empty.svg +== standalone--px-0--0-pct.svg pass-empty.svg +== standalone--px-0--0-px.svg pass-empty.svg +== standalone--px-0--pct-0.svg pass-empty.svg +== standalone--px-0--pct-pct.svg pass-empty.svg +== standalone--px-0--pct-px.svg pass-empty.svg +== standalone--px-0--px-0.svg pass-empty.svg +== standalone--px-0--px-pct.svg pass-empty.svg +== standalone--px-0--px-px.svg pass-empty.svg + +== standalone--px-auto--0-0.svg pass-empty.svg +== standalone--px-auto--0-pct.svg pass-px-pct.xhtml +== standalone--px-auto--0-px.svg pass-px-px.xhtml +== standalone--px-auto--pct-0.svg pass-empty.svg +== standalone--px-auto--pct-pct.svg pass-px-pct.xhtml +== standalone--px-auto--pct-px.svg pass-px-px.xhtml +== standalone--px-auto--px-0.svg pass-empty.svg +== standalone--px-auto--px-pct.svg pass-px-pct.xhtml +== standalone--px-auto--px-px.svg pass-px-px.xhtml # intrinsic ratio! + +== standalone--px-pct--0-0.svg pass-px-pct.xhtml +== standalone--px-pct--0-pct.svg pass-px-pct.xhtml +== standalone--px-pct--0-px.svg pass-px-pct.xhtml +== standalone--px-pct--pct-0.svg pass-px-pct.xhtml +== standalone--px-pct--pct-pct.svg pass-px-pct.xhtml +== standalone--px-pct--pct-px.svg pass-px-pct.xhtml +== standalone--px-pct--px-0.svg pass-px-pct.xhtml +== standalone--px-pct--px-pct.svg pass-px-pct.xhtml +== standalone--px-pct--px-px.svg pass-px-pct.xhtml + +== standalone--px-px--0-0.svg pass-px-px.xhtml +== standalone--px-px--0-pct.svg pass-px-px.xhtml +== standalone--px-px--0-px.svg pass-px-px.xhtml +== standalone--px-px--pct-0.svg pass-px-px.xhtml +== standalone--px-px--pct-pct.svg pass-px-px.xhtml +== standalone--px-px--pct-px.svg pass-px-px.xhtml +== standalone--px-px--px-0.svg pass-px-px.xhtml +== standalone--px-px--px-pct.svg pass-px-px.xhtml +== standalone--px-px--px-px.svg pass-px-px.xhtml + + +# As mentioned above, the 'viewBox' attribute may play a part in the sizing of +# the SVG viewport in 12 of the 144 standalone tests above. The 'viewBox' +# attribute only affects the replaced element sizing algorithm (by providing an +# intrinsic ratio) when the SVG 'width' and 'height' attributes don't provide +# an intrinsic ratio but the algorithm says the intrinsic ratio should be used +# if avaliable. In other words, this is when one of the CSS properties 'width' +# or 'height' has the value 'auto' and the other has a non-zero value, while +# one or both of the SVG 'width' and 'height' attributes has a percentage +# value. For the standalone tests above that means the value of the 'viewBox' +# attribute matters in the 12 cases that follow. +# +# XXX We could also check that 'viewBox' does NOT have an affect in the other +# cases. +# +# XXX What about cases like standalone--auto-pct--0-px--viewBox.svg? Is the +# intrinsic ratio zero and not used, or should we use the viewBox ratio? + +== standalone--auto-pct--pct-pct--viewBox.svg pass-pct-height-square.xhtml +== standalone--auto-pct--pct-px--viewBox.svg pass-pct-height-square.xhtml +== standalone--auto-pct--px-pct--viewBox.svg pass-pct-height-square.xhtml +== standalone--auto-px--pct-pct--viewBox.svg pass-px-px.xhtml +== standalone--auto-px--pct-px--viewBox.svg pass-px-px.xhtml +== standalone--auto-px--px-pct--viewBox.svg pass-px-px.xhtml +== standalone--pct-auto--pct-pct--viewBox.svg pass-pct-width-square.xhtml +== standalone--pct-auto--pct-px--viewBox.svg pass-pct-width-square.xhtml +== standalone--pct-auto--px-pct--viewBox.svg pass-pct-width-square.xhtml +== standalone--px-auto--pct-pct--viewBox.svg pass-px-px.xhtml +== standalone--px-auto--pct-px--viewBox.svg pass-px-px.xhtml +== standalone--px-auto--px-pct--viewBox.svg pass-px-px.xhtml + + +# Sanity tests. These tests check that our choice of percentage width (49%) +# doesn't coincidently result in the same width as our choice of px width +# (70px) or the fall back width (300 px), and that our choice of percentage +# height (49%) doesn't coincidently result in the same height as our choice of +# px height (70px) or the fall back height (150 px). This ensures that we won't +# miss false positives for the tests: +# +# standalone--pct-xxx--px-xxx.svg +# standalone--xxx-pct--xxx-px.svg +# standalone--px-xxx--pct-xxx.svg +# standalone--xxx-px--xxx-pct.svg +# +# if the user agent ignores the CSS property and uses the attribute instead. +# This will happen if the content area width is 612 px or the content height is +# 306 px. Hopefully it's unlikely testers will encounter this. + +!= standalone-sanity-width-pct.svg standalone-sanity-width-px.svg +!= standalone-sanity-width-pct.svg standalone-sanity-width-300px.svg +!= standalone-sanity-height-pct.svg standalone-sanity-height-px.svg +!= standalone-sanity-height-pct.svg standalone-sanity-height-150px.svg + + +# Embedded inline tests +# +# The standalone tests provide a reasonable workout for replaced element +# algorithm sizing, but we also want to test that SVG embedded inline is +# positioned correctly when the properties 'display', 'float' and 'position' +# are set to different values. +# +# We could certainly expand on these tests, but they provide reasonable base +# coverage. + +== inline--display-block--01.xhtml inline--display-block--01-ref.xhtml +fuzzy-if(OSX,0-1,0-10) == inline--display-inline--01.xhtml inline--display-inline--01-ref.xhtml +== inline--display-inline-block--01.xhtml inline--display-inline-block--01-ref.xhtml +== inline--float-left--01.xhtml inline--float-left--01-ref.xhtml +== inline--float-right--01.xhtml inline--float-right--01-ref.xhtml +== inline--position-absolute--01.xhtml inline--position-absolute--01-ref.xhtml +== inline--position-absolute--02.xhtml pass.svg +== inline--position-relative--01.xhtml inline--position-relative--01-ref.xhtml + + +# Embedded by reference tests +# +# One issue when it comes to documents embedded by reference is whether +# non-'auto' values for the CSS 'width' and 'height' properties on the +# _embedded_ document's root element should be used as intrinsic values by +# replaced elements like HTML . For the sake of simplicity we will +# ignore this case for now, but it's certainly worth revisiting at some point +# in the future. +# +# Since we have given the replaced element algorithm a reasonable workout in +# the standalone tests, for the embedded by reference tests we will simply +# check that the embedded SVG's intrinsic dimensions are used. The following +# tests do not have any width or height on the element so they should +# be sized purely by the embedded SVG's intrinsic size. + +random-if(Android) == object--auto-auto--0-0.html pass-empty.svg # XXX add border +random-if(Android) == object--auto-auto--0-pct.html object--auto-auto--0-pct--ref.html +random-if(Android) == object--auto-auto--0-px.html object--auto-auto--0-px--ref.html +random-if(Android) == object--auto-auto--pct-0.html object--auto-auto--pct-0--ref.html +# The following four commented out tests fail post bug 428023: +#== object--auto-auto--pct-pct.html object--auto-auto--pct-pct--ref.html +#== object--auto-auto--pct-px.html object--auto-auto--pct-px--ref.html +random-if(Android) == object--auto-auto--px-0.html object--auto-auto--px-0--ref.html +#== object--auto-auto--px-pct.html object--auto-auto--px-pct--ref.html +random-if(Android) == object--auto-auto--px-px.html object--auto-auto--px-px--ref.html +#== object--pct-pct--0-0.html pass.svg + + +# Assorted tests to check that dynamic changes work correctly +# +# Here we have an assortment of different tests to check that updates occur +# correctly when changes are made that should result in a change in the size +# or position of the SVG. + +== dynamic--inline-css-height.xhtml pass.svg +== dynamic--inline-css-width.xhtml pass.svg +skip == dynamic--inline-resize-window-height.xhtml pass.svg # XXX breaks the reftest run as the window height somehow is not restored +skip == dynamic--inline-resize-window-width.xhtml pass.svg # Fails way too much +random-if(Android) == dynamic--object-svg-unloaded.xhtml pass.svg +# == dynamic--object--auto-auto--pct-px.html diff --git a/layout/reftests/svg/sizing/scrollbars-01-anti-ref.svg b/layout/reftests/svg/sizing/scrollbars-01-anti-ref.svg new file mode 100644 index 0000000000..a8d92e0847 --- /dev/null +++ b/layout/reftests/svg/sizing/scrollbars-01-anti-ref.svg @@ -0,0 +1,11 @@ + + + + + + + + diff --git a/layout/reftests/svg/sizing/scrollbars-01.svg b/layout/reftests/svg/sizing/scrollbars-01.svg new file mode 100644 index 0000000000..4433307db4 --- /dev/null +++ b/layout/reftests/svg/sizing/scrollbars-01.svg @@ -0,0 +1,13 @@ + + + + + + Test that we're given scrollbars if wider than the browser's content area + + + + diff --git a/layout/reftests/svg/sizing/scrollbars-02.svg b/layout/reftests/svg/sizing/scrollbars-02.svg new file mode 100644 index 0000000000..9f9bc4af4e --- /dev/null +++ b/layout/reftests/svg/sizing/scrollbars-02.svg @@ -0,0 +1,13 @@ + + + + + + Test that we're given scrollbars if wider than the browser's content area + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--0-0.svg b/layout/reftests/svg/sizing/standalone--0-0--0-0.svg new file mode 100644 index 0000000000..06ee1b22b8 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="0" height="0" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--0-pct.svg b/layout/reftests/svg/sizing/standalone--0-0--0-pct.svg new file mode 100644 index 0000000000..e5a9a9f777 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="0" height="49%" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--0-px.svg b/layout/reftests/svg/sizing/standalone--0-0--0-px.svg new file mode 100644 index 0000000000..5fa9391ad6 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="0" height="70" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--pct-0.svg b/layout/reftests/svg/sizing/standalone--0-0--pct-0.svg new file mode 100644 index 0000000000..a017d7d66a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="49%" height="0" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--pct-pct.svg b/layout/reftests/svg/sizing/standalone--0-0--pct-pct.svg new file mode 100644 index 0000000000..8f50583adf --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="49%" height="49%" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--pct-px.svg b/layout/reftests/svg/sizing/standalone--0-0--pct-px.svg new file mode 100644 index 0000000000..5ceba989bf --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="49%" height="70" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--px-0.svg b/layout/reftests/svg/sizing/standalone--0-0--px-0.svg new file mode 100644 index 0000000000..3bcf767095 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="70" height="0" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--px-pct.svg b/layout/reftests/svg/sizing/standalone--0-0--px-pct.svg new file mode 100644 index 0000000000..c414d1301a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="70" height="49%" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-0--px-px.svg b/layout/reftests/svg/sizing/standalone--0-0--px-px.svg new file mode 100644 index 0000000000..8bb0391948 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-0--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:0; width="70" height="70" + + + This testcase checks that setting the CSS 'width' and 'height' properties + to zero prevents the SVG from being displayed. You should not see any red + when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--0-0.svg b/layout/reftests/svg/sizing/standalone--0-auto--0-0.svg new file mode 100644 index 0000000000..a7f9833d75 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="0" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--0-pct.svg b/layout/reftests/svg/sizing/standalone--0-auto--0-pct.svg new file mode 100644 index 0000000000..206b4111cf --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="0" height="49%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--0-px.svg b/layout/reftests/svg/sizing/standalone--0-auto--0-px.svg new file mode 100644 index 0000000000..e130c8ffc1 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="0" height="70" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--pct-0.svg b/layout/reftests/svg/sizing/standalone--0-auto--pct-0.svg new file mode 100644 index 0000000000..25f4e4dd9e --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="49%" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--pct-pct.svg b/layout/reftests/svg/sizing/standalone--0-auto--pct-pct.svg new file mode 100644 index 0000000000..c9bfd7ac3f --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="49%" height="49%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--pct-px.svg b/layout/reftests/svg/sizing/standalone--0-auto--pct-px.svg new file mode 100644 index 0000000000..c86f758553 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="49%" height="70" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--px-0.svg b/layout/reftests/svg/sizing/standalone--0-auto--px-0.svg new file mode 100644 index 0000000000..38fca0bd7f --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="70" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--px-pct.svg b/layout/reftests/svg/sizing/standalone--0-auto--px-pct.svg new file mode 100644 index 0000000000..7fc50a5b6a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="70" height="49%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-auto--px-px.svg b/layout/reftests/svg/sizing/standalone--0-auto--px-px.svg new file mode 100644 index 0000000000..a7d132473d --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-auto--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:auto; width="70" height="70" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--0-0.svg b/layout/reftests/svg/sizing/standalone--0-pct--0-0.svg new file mode 100644 index 0000000000..9938ee6892 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="0" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--0-pct.svg b/layout/reftests/svg/sizing/standalone--0-pct--0-pct.svg new file mode 100644 index 0000000000..8917bf10fe --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="0" height="10%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--0-px.svg b/layout/reftests/svg/sizing/standalone--0-pct--0-px.svg new file mode 100644 index 0000000000..5d1ccdc873 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="0" height="10" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--pct-0.svg b/layout/reftests/svg/sizing/standalone--0-pct--pct-0.svg new file mode 100644 index 0000000000..8df3fa2c79 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="10%" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--pct-pct.svg b/layout/reftests/svg/sizing/standalone--0-pct--pct-pct.svg new file mode 100644 index 0000000000..22c6a8f817 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="10%" height="10%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--pct-px.svg b/layout/reftests/svg/sizing/standalone--0-pct--pct-px.svg new file mode 100644 index 0000000000..99e317c310 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="10%" height="10" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--px-0.svg b/layout/reftests/svg/sizing/standalone--0-pct--px-0.svg new file mode 100644 index 0000000000..98e1a83803 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="10" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--px-pct.svg b/layout/reftests/svg/sizing/standalone--0-pct--px-pct.svg new file mode 100644 index 0000000000..cb06033245 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="10" height="10%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-pct--px-px.svg b/layout/reftests/svg/sizing/standalone--0-pct--px-px.svg new file mode 100644 index 0000000000..80e9c1ac88 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-pct--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:49%; width="10" height="10" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--0-0.svg b/layout/reftests/svg/sizing/standalone--0-px--0-0.svg new file mode 100644 index 0000000000..6ee5a3b425 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="0" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--0-pct.svg b/layout/reftests/svg/sizing/standalone--0-px--0-pct.svg new file mode 100644 index 0000000000..9b62bac9dd --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="0" height="49%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--0-px.svg b/layout/reftests/svg/sizing/standalone--0-px--0-px.svg new file mode 100644 index 0000000000..a324130290 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="0" height="10" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--pct-0.svg b/layout/reftests/svg/sizing/standalone--0-px--pct-0.svg new file mode 100644 index 0000000000..c9179e12ed --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="49%" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--pct-pct.svg b/layout/reftests/svg/sizing/standalone--0-px--pct-pct.svg new file mode 100644 index 0000000000..c4d82009cb --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="49%" height="49%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--pct-px.svg b/layout/reftests/svg/sizing/standalone--0-px--pct-px.svg new file mode 100644 index 0000000000..df2055df87 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="49%" height="10" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--px-0.svg b/layout/reftests/svg/sizing/standalone--0-px--px-0.svg new file mode 100644 index 0000000000..920cf6ef27 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="10" height="0" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--px-pct.svg b/layout/reftests/svg/sizing/standalone--0-px--px-pct.svg new file mode 100644 index 0000000000..bf9200e159 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="10" height="49%" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--0-px--px-px.svg b/layout/reftests/svg/sizing/standalone--0-px--px-px.svg new file mode 100644 index 0000000000..7a62c3f633 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--0-px--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:0; height:70px; width="10" height="10" + + + This testcase checks that setting the CSS 'width' property to zero prevents + the SVG from being displayed. You should not see any red when viewing this + file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--0-0.svg b/layout/reftests/svg/sizing/standalone--auto-0--0-0.svg new file mode 100644 index 0000000000..4dd222ddc1 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="0" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--0-pct.svg b/layout/reftests/svg/sizing/standalone--auto-0--0-pct.svg new file mode 100644 index 0000000000..c564b9fd0d --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="0" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--0-px.svg b/layout/reftests/svg/sizing/standalone--auto-0--0-px.svg new file mode 100644 index 0000000000..44defae6b6 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="0" height="10" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--pct-0.svg b/layout/reftests/svg/sizing/standalone--auto-0--pct-0.svg new file mode 100644 index 0000000000..649b8224cc --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="49%" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--pct-pct.svg b/layout/reftests/svg/sizing/standalone--auto-0--pct-pct.svg new file mode 100644 index 0000000000..8c9b139b7b --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="49%" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--pct-px.svg b/layout/reftests/svg/sizing/standalone--auto-0--pct-px.svg new file mode 100644 index 0000000000..f62c14757d --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="49%" height="10" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--px-0.svg b/layout/reftests/svg/sizing/standalone--auto-0--px-0.svg new file mode 100644 index 0000000000..5e38222fca --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="70" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--px-pct.svg b/layout/reftests/svg/sizing/standalone--auto-0--px-pct.svg new file mode 100644 index 0000000000..cb77527312 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="70" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-0--px-px.svg b/layout/reftests/svg/sizing/standalone--auto-0--px-px.svg new file mode 100644 index 0000000000..f4b0539ba9 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-0--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:0; width="70" height="70" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--0-0.svg b/layout/reftests/svg/sizing/standalone--auto-auto--0-0.svg new file mode 100644 index 0000000000..4156c11b41 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--0-0.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:auto; width="0" height="0" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. Setting the + 'width' and 'height' attributes to zero should prevent the SVG from being + displayed. You should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--0-pct.svg b/layout/reftests/svg/sizing/standalone--auto-auto--0-pct.svg new file mode 100644 index 0000000000..b72fafff85 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--0-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:auto; width="0" height="49%" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. Setting the + 'width' attributes to zero should prevent the SVG from being displayed. You + should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--0-px.svg b/layout/reftests/svg/sizing/standalone--auto-auto--0-px.svg new file mode 100644 index 0000000000..284d422bad --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--0-px.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:auto; width="0" height="70" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. Setting the + 'width' attributes to zero should prevent the SVG from being displayed. You + should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--pct-0.svg b/layout/reftests/svg/sizing/standalone--auto-auto--pct-0.svg new file mode 100644 index 0000000000..fb93cccc8a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--pct-0.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:auto; width="49%" height="0" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. Setting the + 'height' attributes to zero should prevent the SVG from being displayed. + You should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--pct-pct.svg b/layout/reftests/svg/sizing/standalone--auto-auto--pct-pct.svg new file mode 100644 index 0000000000..4692dfc6fa --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:auto; width="49%" height="49%" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. You should see + a blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--pct-px.svg b/layout/reftests/svg/sizing/standalone--auto-auto--pct-px.svg new file mode 100644 index 0000000000..be7d7736c5 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:auto; width="49%" height="70" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. You should see + a blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--px-0.svg b/layout/reftests/svg/sizing/standalone--auto-auto--px-0.svg new file mode 100644 index 0000000000..1ee6488d68 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--px-0.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:auto; width="70" height="0" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. Setting the + 'height' attributes to zero should prevent the SVG from being displayed. + You should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--px-pct.svg b/layout/reftests/svg/sizing/standalone--auto-auto--px-pct.svg new file mode 100644 index 0000000000..97efb10be5 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:auto; width="70" height="49%" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. You should see + a blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-auto--px-px.svg b/layout/reftests/svg/sizing/standalone--auto-auto--px-px.svg new file mode 100644 index 0000000000..20c2717b55 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-auto--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:auto; width="70" height="70" + + + This test checks that the 'width' and 'height' attributes are used when the + CSS 'width' and 'height' properties are both set to 'auto'. You should see + a blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--0-0.svg b/layout/reftests/svg/sizing/standalone--auto-pct--0-0.svg new file mode 100644 index 0000000000..8b76885e1c --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--0-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:auto; height:49%; width="0" height="0" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. Since the + 'width' attribute is set to zero, nothing should be displayed. You should + not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--0-pct.svg b/layout/reftests/svg/sizing/standalone--auto-pct--0-pct.svg new file mode 100644 index 0000000000..6409627b4c --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--0-pct.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:auto; height:49%; width="0" height="10%" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. Since the + 'width' attribute is set to zero, nothing should be displayed. You should + not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--0-px.svg b/layout/reftests/svg/sizing/standalone--auto-pct--0-px.svg new file mode 100644 index 0000000000..0e1edda2ed --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--0-px.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:auto; height:49%; width="0" height="10" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. Since the + 'width' attribute is set to zero, nothing should be displayed. You should + not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--pct-0.svg b/layout/reftests/svg/sizing/standalone--auto-pct--pct-0.svg new file mode 100644 index 0000000000..85c961c788 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--pct-0.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:49%; width="49%" height="0" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 49% wide and 49% high when viewing this file. + + + + + 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. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--pct-pct.svg b/layout/reftests/svg/sizing/standalone--auto-pct--pct-pct.svg new file mode 100644 index 0000000000..4c3e98c00e --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--pct-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:49%; width="49%" height="10%" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 49% wide and 49% high when viewing this file. + + + + + 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. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--pct-px.svg b/layout/reftests/svg/sizing/standalone--auto-pct--pct-px.svg new file mode 100644 index 0000000000..d6c789f7e1 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--pct-px.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:49%; width="49%" height="10" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--px-0.svg b/layout/reftests/svg/sizing/standalone--auto-pct--px-0.svg new file mode 100644 index 0000000000..c2fd1e603b --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--px-0.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:49%; width="70" height="0" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--px-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--auto-pct--px-pct--viewBox.svg new file mode 100644 index 0000000000..f2a789684a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--px-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:auto; height:49%; width="70" 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. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--px-pct.svg b/layout/reftests/svg/sizing/standalone--auto-pct--px-pct.svg new file mode 100644 index 0000000000..4c601494a9 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--px-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:49%; width="70" height="10%" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-pct--px-px.svg b/layout/reftests/svg/sizing/standalone--auto-pct--px-px.svg new file mode 100644 index 0000000000..ffe7fd570d --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-pct--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:49%; width="70" height="70" + + + This testcase checks that the intrinsic ratio (1:1) will be used since the + CSS 'width' property is set to auto. You should see a blue square with + sides 49% the height of the content area when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--0-0.svg b/layout/reftests/svg/sizing/standalone--auto-px--0-0.svg new file mode 100644 index 0000000000..df1800ec28 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--0-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:auto; height:70px; width="0" height="0" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. Since the + 'width' attribute is set to zero, nothing should be displayed. You should + not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--0-pct.svg b/layout/reftests/svg/sizing/standalone--auto-px--0-pct.svg new file mode 100644 index 0000000000..ffb2400a62 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--0-pct.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:auto; height:70px; width="0" height="49%" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. Since the + 'width' attribute is set to zero, nothing should be displayed. You should + not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--0-px.svg b/layout/reftests/svg/sizing/standalone--auto-px--0-px.svg new file mode 100644 index 0000000000..72809a1305 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--0-px.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:auto; height:70px; width="0" height="10" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. Since the + 'width' attribute is set to zero, nothing should be displayed. You should + not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--pct-0.svg b/layout/reftests/svg/sizing/standalone--auto-px--pct-0.svg new file mode 100644 index 0000000000..efdab07b21 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--pct-0.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:70px; width="49%" height="0" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--pct-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--auto-px--pct-pct--viewBox.svg new file mode 100644 index 0000000000..f98e2b9d68 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--pct-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:auto; height:70px; width="10%" height="49%" 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 of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--pct-pct.svg b/layout/reftests/svg/sizing/standalone--auto-px--pct-pct.svg new file mode 100644 index 0000000000..c5783ca175 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--pct-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:70px; width="49%" height="49%" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--pct-px--viewBox.svg b/layout/reftests/svg/sizing/standalone--auto-px--pct-px--viewBox.svg new file mode 100644 index 0000000000..1327012dca --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--pct-px--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:auto; height:70px; width="49%" 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 of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--pct-px.svg b/layout/reftests/svg/sizing/standalone--auto-px--pct-px.svg new file mode 100644 index 0000000000..91c62bb28c --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--pct-px.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:70px; width="49%" height="10" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--px-0.svg b/layout/reftests/svg/sizing/standalone--auto-px--px-0.svg new file mode 100644 index 0000000000..32c113b429 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--px-0.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:70px; width="70" height="0" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--px-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--auto-px--px-pct--viewBox.svg new file mode 100644 index 0000000000..32151187a9 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--px-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:auto; height:70px; width="10" height="49%" 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 of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--px-pct.svg b/layout/reftests/svg/sizing/standalone--auto-px--px-pct.svg new file mode 100644 index 0000000000..fe35b2b1a0 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--px-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:auto; height:70px; width="70" height="49%" + + + This testcase checks that the intrinsic width will be taken as the used + width when the CSS 'width' property is set to 'auto', the 'height' property + is set to some other value, and there is no intrinsic ratio. You should see + a blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--auto-px--px-px.svg b/layout/reftests/svg/sizing/standalone--auto-px--px-px.svg new file mode 100644 index 0000000000..f7cfc6f9e4 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--auto-px--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:auto; height:70px; width="1" height="1" + + + This testcase checks that the intrinsic ratio (1:1) will be used since the + CSS 'width' property is set to auto. You should see a blue square with + sides of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--0-0.svg b/layout/reftests/svg/sizing/standalone--pct-0--0-0.svg new file mode 100644 index 0000000000..788019e256 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="0" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--0-pct.svg b/layout/reftests/svg/sizing/standalone--pct-0--0-pct.svg new file mode 100644 index 0000000000..b9734786bc --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="0" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--0-px.svg b/layout/reftests/svg/sizing/standalone--pct-0--0-px.svg new file mode 100644 index 0000000000..f092b9a038 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="0" height="70" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--pct-0.svg b/layout/reftests/svg/sizing/standalone--pct-0--pct-0.svg new file mode 100644 index 0000000000..bc29ce6a3e --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="49%" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--pct-pct.svg b/layout/reftests/svg/sizing/standalone--pct-0--pct-pct.svg new file mode 100644 index 0000000000..0cc62c5049 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="49%" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--pct-px.svg b/layout/reftests/svg/sizing/standalone--pct-0--pct-px.svg new file mode 100644 index 0000000000..c65ed72dca --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="49%" height="70" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--px-0.svg b/layout/reftests/svg/sizing/standalone--pct-0--px-0.svg new file mode 100644 index 0000000000..2fb91a78d7 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="70" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--px-pct.svg b/layout/reftests/svg/sizing/standalone--pct-0--px-pct.svg new file mode 100644 index 0000000000..32d8c31738 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="70" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-0--px-px.svg b/layout/reftests/svg/sizing/standalone--pct-0--px-px.svg new file mode 100644 index 0000000000..99d685c106 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-0--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:0; width="70" height="70" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--0-0.svg b/layout/reftests/svg/sizing/standalone--pct-auto--0-0.svg new file mode 100644 index 0000000000..1615ea6d37 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--0-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:49%; height:auto; width="0" height="0" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. Since + the 'height' attribute is set to zero, nothing should be displayed. You + should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--0-pct.svg b/layout/reftests/svg/sizing/standalone--pct-auto--0-pct.svg new file mode 100644 index 0000000000..46b14f432c --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--0-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:49%; height:auto; width="0" height="49%" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--0-px.svg b/layout/reftests/svg/sizing/standalone--pct-auto--0-px.svg new file mode 100644 index 0000000000..44e82d75ad --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--0-px.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:49%; height:auto; width="0" height="70" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--pct-0.svg b/layout/reftests/svg/sizing/standalone--pct-auto--pct-0.svg new file mode 100644 index 0000000000..bc9917af28 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--pct-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:49%; height:auto; width="10%" height="0" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. Since + the 'height' attribute is set to zero, nothing should be displayed. You + should not see any red when viewing this file. + + + + + 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. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--pct-pct.svg b/layout/reftests/svg/sizing/standalone--pct-auto--pct-pct.svg new file mode 100644 index 0000000000..6c0dae659d --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--pct-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:49%; height:auto; width="10%" height="49%" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 49% wide and 49% high when viewing this file. + + + + + 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. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--pct-px.svg b/layout/reftests/svg/sizing/standalone--pct-auto--pct-px.svg new file mode 100644 index 0000000000..c3bacfdff0 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--pct-px.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:49%; height:auto; width="10%" height="70" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--px-0.svg b/layout/reftests/svg/sizing/standalone--pct-auto--px-0.svg new file mode 100644 index 0000000000..058d60b0cd --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--px-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:49%; height:auto; width="70" height="0" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. Since + the 'height' attribute is set to zero, nothing should be displayed. You + should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--px-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--pct-auto--px-pct--viewBox.svg new file mode 100644 index 0000000000..9e5d41bf8a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--px-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:49%; height:auto; width="70" 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. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--px-pct.svg b/layout/reftests/svg/sizing/standalone--pct-auto--px-pct.svg new file mode 100644 index 0000000000..141fa273ff --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--px-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:49%; height:auto; width="70" height="49%" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-auto--px-px.svg b/layout/reftests/svg/sizing/standalone--pct-auto--px-px.svg new file mode 100644 index 0000000000..ef19a9be11 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-auto--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:auto; width="70" height="70" + + + This testcase checks that the intrinsic ratio (1:1) will be used since the + CSS 'height' property is set to auto. You should see a blue square with + sides 49% the width of the content area when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--0-0.svg b/layout/reftests/svg/sizing/standalone--pct-pct--0-0.svg new file mode 100644 index 0000000000..d13cb402eb --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="0" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--0-pct.svg b/layout/reftests/svg/sizing/standalone--pct-pct--0-pct.svg new file mode 100644 index 0000000000..42f674f1c7 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="0" height="10%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--0-px.svg b/layout/reftests/svg/sizing/standalone--pct-pct--0-px.svg new file mode 100644 index 0000000000..31c2d0f917 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="0" height="70" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--pct-0.svg b/layout/reftests/svg/sizing/standalone--pct-pct--pct-0.svg new file mode 100644 index 0000000000..6ebadb5fed --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="10%" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--pct-pct.svg b/layout/reftests/svg/sizing/standalone--pct-pct--pct-pct.svg new file mode 100644 index 0000000000..85ff4a96bd --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="10%" height="10%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--pct-px.svg b/layout/reftests/svg/sizing/standalone--pct-pct--pct-px.svg new file mode 100644 index 0000000000..7c5c13d7a8 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="10%" height="70" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--px-0.svg b/layout/reftests/svg/sizing/standalone--pct-pct--px-0.svg new file mode 100644 index 0000000000..08b549457d --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="70" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--px-pct.svg b/layout/reftests/svg/sizing/standalone--pct-pct--px-pct.svg new file mode 100644 index 0000000000..9c7cff9dac --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="70" height="10%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-pct--px-px.svg b/layout/reftests/svg/sizing/standalone--pct-pct--px-px.svg new file mode 100644 index 0000000000..131719ec99 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-pct--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:49%; width="70" height="70" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--0-0.svg b/layout/reftests/svg/sizing/standalone--pct-px--0-0.svg new file mode 100644 index 0000000000..7de487cc27 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="0" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--0-pct.svg b/layout/reftests/svg/sizing/standalone--pct-px--0-pct.svg new file mode 100644 index 0000000000..82e8c58ebe --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="0" height="49%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--0-px.svg b/layout/reftests/svg/sizing/standalone--pct-px--0-px.svg new file mode 100644 index 0000000000..165613e31a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="0" height="10" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--pct-0.svg b/layout/reftests/svg/sizing/standalone--pct-px--pct-0.svg new file mode 100644 index 0000000000..e194b61893 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="10%" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--pct-pct.svg b/layout/reftests/svg/sizing/standalone--pct-px--pct-pct.svg new file mode 100644 index 0000000000..47a36ddbd9 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="10%" height="49%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--pct-px.svg b/layout/reftests/svg/sizing/standalone--pct-px--pct-px.svg new file mode 100644 index 0000000000..0c90cf5fbc --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="10%" height="10" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--px-0.svg b/layout/reftests/svg/sizing/standalone--pct-px--px-0.svg new file mode 100644 index 0000000000..892cd41ed3 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="70" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--px-pct.svg b/layout/reftests/svg/sizing/standalone--pct-px--px-pct.svg new file mode 100644 index 0000000000..bb95c9b6f0 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="70" height="49%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--pct-px--px-px.svg b/layout/reftests/svg/sizing/standalone--pct-px--px-px.svg new file mode 100644 index 0000000000..c846ffda9c --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--pct-px--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:49%; height:70px; width="70" height="10" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 49% wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--0-0.svg b/layout/reftests/svg/sizing/standalone--px-0--0-0.svg new file mode 100644 index 0000000000..16f26042ab --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="0" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--0-pct.svg b/layout/reftests/svg/sizing/standalone--px-0--0-pct.svg new file mode 100644 index 0000000000..ba8566af7a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="0" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--0-px.svg b/layout/reftests/svg/sizing/standalone--px-0--0-px.svg new file mode 100644 index 0000000000..c227eb9887 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="0" height="70" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--pct-0.svg b/layout/reftests/svg/sizing/standalone--px-0--pct-0.svg new file mode 100644 index 0000000000..af2e327bc5 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="49%" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--pct-pct.svg b/layout/reftests/svg/sizing/standalone--px-0--pct-pct.svg new file mode 100644 index 0000000000..014341caa9 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="49%" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--pct-px.svg b/layout/reftests/svg/sizing/standalone--px-0--pct-px.svg new file mode 100644 index 0000000000..89d5a4725b --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="49%" height="70" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--px-0.svg b/layout/reftests/svg/sizing/standalone--px-0--px-0.svg new file mode 100644 index 0000000000..d9cded74b0 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="10" height="0" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--px-pct.svg b/layout/reftests/svg/sizing/standalone--px-0--px-pct.svg new file mode 100644 index 0000000000..ae3f2e83a3 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="10" height="49%" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-0--px-px.svg b/layout/reftests/svg/sizing/standalone--px-0--px-px.svg new file mode 100644 index 0000000000..9fd20fe474 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-0--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:0; width="10" height="70" + + + This testcase checks that setting the CSS 'height' property to zero + prevents the SVG from being displayed. You should not see any red when + viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--0-0.svg b/layout/reftests/svg/sizing/standalone--px-auto--0-0.svg new file mode 100644 index 0000000000..a5dceb2643 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--0-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:70px; height:auto; width="0" height="0" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. Since + the 'height' attribute is set to zero, nothing should be displayed. You + should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--0-pct.svg b/layout/reftests/svg/sizing/standalone--px-auto--0-pct.svg new file mode 100644 index 0000000000..7fe4ee8275 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--0-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:70px; height:auto; width="0" height="49%" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--0-px.svg b/layout/reftests/svg/sizing/standalone--px-auto--0-px.svg new file mode 100644 index 0000000000..06b4bd45ba --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--0-px.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:70px; height:auto; width="0" height="70" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--pct-0.svg b/layout/reftests/svg/sizing/standalone--px-auto--pct-0.svg new file mode 100644 index 0000000000..23db638fb4 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--pct-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:70px; height:auto; width="49%" height="0" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. Since + the 'height' attribute is set to zero, nothing should be displayed. You + should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--pct-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--px-auto--pct-pct--viewBox.svg new file mode 100644 index 0000000000..3551c67b8a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--pct-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:70px; height:auto; width="20%" height="49%" 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 of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--pct-pct.svg b/layout/reftests/svg/sizing/standalone--px-auto--pct-pct.svg new file mode 100644 index 0000000000..f823a264fc --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--pct-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:70px; height:auto; width="49%" height="49%" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--pct-px--viewBox.svg b/layout/reftests/svg/sizing/standalone--px-auto--pct-px--viewBox.svg new file mode 100644 index 0000000000..d311a1681e --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--pct-px--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:70px; height:auto; width="49%" height="10" 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 of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--pct-px.svg b/layout/reftests/svg/sizing/standalone--px-auto--pct-px.svg new file mode 100644 index 0000000000..881a1f29c0 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--pct-px.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:70px; height:auto; width="49%" height="70" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--px-0.svg b/layout/reftests/svg/sizing/standalone--px-auto--px-0.svg new file mode 100644 index 0000000000..8e62aff883 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--px-0.svg @@ -0,0 +1,22 @@ + + + + + + Test: width:70px; height:auto; width="10" height="0" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. Since + the 'height' attribute is set to zero, nothing should be displayed. You + should not see any red when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--px-pct--viewBox.svg b/layout/reftests/svg/sizing/standalone--px-auto--px-pct--viewBox.svg new file mode 100644 index 0000000000..79d6e39e70 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--px-pct--viewBox.svg @@ -0,0 +1,23 @@ + + + + + + Test: width:70px; height:auto; width="10" height="49%" 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 of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--px-pct.svg b/layout/reftests/svg/sizing/standalone--px-auto--px-pct.svg new file mode 100644 index 0000000000..af42e2f270 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--px-pct.svg @@ -0,0 +1,21 @@ + + + + + + Test: width:70px; height:auto; width="10" height="49%" + + + This testcase checks that the intrinsic height will be taken as the used + height when the CSS 'height' property is set to 'auto', the 'width' + property is set to some other value, and there is no intrinsic ratio. You + should see a blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-auto--px-px.svg b/layout/reftests/svg/sizing/standalone--px-auto--px-px.svg new file mode 100644 index 0000000000..ce7872b456 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-auto--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:auto; width="1" height="1" + + + This testcase checks that the intrinsic ratio (1:1) will be used since the + CSS 'height' property is set to auto. You should see a blue square with + sides of length 70px when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--0-0.svg b/layout/reftests/svg/sizing/standalone--px-pct--0-0.svg new file mode 100644 index 0000000000..66c7159c52 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="0" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--0-pct.svg b/layout/reftests/svg/sizing/standalone--px-pct--0-pct.svg new file mode 100644 index 0000000000..43b2fe4f3a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="0" height="10%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--0-px.svg b/layout/reftests/svg/sizing/standalone--px-pct--0-px.svg new file mode 100644 index 0000000000..caa951ca20 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="0" height="70" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--pct-0.svg b/layout/reftests/svg/sizing/standalone--px-pct--pct-0.svg new file mode 100644 index 0000000000..5dd6e8cf4f --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="49%" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--pct-pct.svg b/layout/reftests/svg/sizing/standalone--px-pct--pct-pct.svg new file mode 100644 index 0000000000..bca83300e1 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="49%" height="10%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--pct-px.svg b/layout/reftests/svg/sizing/standalone--px-pct--pct-px.svg new file mode 100644 index 0000000000..7e5036407c --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="49%" height="70" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--px-0.svg b/layout/reftests/svg/sizing/standalone--px-pct--px-0.svg new file mode 100644 index 0000000000..b81a35d96d --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="10" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--px-pct.svg b/layout/reftests/svg/sizing/standalone--px-pct--px-pct.svg new file mode 100644 index 0000000000..9a0cabbf11 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="10" height="10%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-pct--px-px.svg b/layout/reftests/svg/sizing/standalone--px-pct--px-px.svg new file mode 100644 index 0000000000..85f4bc946a --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-pct--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:49%; width="10" height="70" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 49% high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--0-0.svg b/layout/reftests/svg/sizing/standalone--px-px--0-0.svg new file mode 100644 index 0000000000..5cd0d5cd2b --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--0-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="0" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--0-pct.svg b/layout/reftests/svg/sizing/standalone--px-px--0-pct.svg new file mode 100644 index 0000000000..f9c54e45af --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--0-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="0" height="49%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--0-px.svg b/layout/reftests/svg/sizing/standalone--px-px--0-px.svg new file mode 100644 index 0000000000..1c802d12e2 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--0-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="0" height="10" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--pct-0.svg b/layout/reftests/svg/sizing/standalone--px-px--pct-0.svg new file mode 100644 index 0000000000..c311b88edd --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--pct-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="49%" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--pct-pct.svg b/layout/reftests/svg/sizing/standalone--px-px--pct-pct.svg new file mode 100644 index 0000000000..3f89fe4e13 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--pct-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="49%" height="49%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--pct-px.svg b/layout/reftests/svg/sizing/standalone--px-px--pct-px.svg new file mode 100644 index 0000000000..567bff9538 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--pct-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="49%" height="10" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--px-0.svg b/layout/reftests/svg/sizing/standalone--px-px--px-0.svg new file mode 100644 index 0000000000..d33e353918 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--px-0.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="10" height="0" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--px-pct.svg b/layout/reftests/svg/sizing/standalone--px-px--px-pct.svg new file mode 100644 index 0000000000..94d3d6e9de --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--px-pct.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="10" height="49%" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone--px-px--px-px.svg b/layout/reftests/svg/sizing/standalone--px-px--px-px.svg new file mode 100644 index 0000000000..fbd9142af8 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone--px-px--px-px.svg @@ -0,0 +1,20 @@ + + + + + + Test: width:70px; height:70px; width="10" height="10" + + + This test checks that the CSS 'width' and 'height' properties take + precedence over the SVG 'width' and 'height' attributes. You should see a + blue rectangle 70px wide and 70px high when viewing this file. + + + + + diff --git a/layout/reftests/svg/sizing/standalone-sanity-height-150px.svg b/layout/reftests/svg/sizing/standalone-sanity-height-150px.svg new file mode 100644 index 0000000000..b460f4b808 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone-sanity-height-150px.svg @@ -0,0 +1,8 @@ + + + Sanity check percentage width + + diff --git a/layout/reftests/svg/sizing/standalone-sanity-height-pct.svg b/layout/reftests/svg/sizing/standalone-sanity-height-pct.svg new file mode 100644 index 0000000000..113613fa36 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone-sanity-height-pct.svg @@ -0,0 +1,8 @@ + + + Sanity check percentage width + + diff --git a/layout/reftests/svg/sizing/standalone-sanity-height-px.svg b/layout/reftests/svg/sizing/standalone-sanity-height-px.svg new file mode 100644 index 0000000000..01c72df5a8 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone-sanity-height-px.svg @@ -0,0 +1,8 @@ + + + Sanity check percentage width + + diff --git a/layout/reftests/svg/sizing/standalone-sanity-width-300px.svg b/layout/reftests/svg/sizing/standalone-sanity-width-300px.svg new file mode 100644 index 0000000000..318bf38af2 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone-sanity-width-300px.svg @@ -0,0 +1,8 @@ + + + Sanity check percentage width + + diff --git a/layout/reftests/svg/sizing/standalone-sanity-width-pct.svg b/layout/reftests/svg/sizing/standalone-sanity-width-pct.svg new file mode 100644 index 0000000000..050cad0943 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone-sanity-width-pct.svg @@ -0,0 +1,8 @@ + + + Sanity check percentage width + + diff --git a/layout/reftests/svg/sizing/standalone-sanity-width-px.svg b/layout/reftests/svg/sizing/standalone-sanity-width-px.svg new file mode 100644 index 0000000000..2abcc29dd6 --- /dev/null +++ b/layout/reftests/svg/sizing/standalone-sanity-width-px.svg @@ -0,0 +1,8 @@ + + + Sanity check percentage width + + -- cgit v1.2.3