From 0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Fri, 19 Apr 2024 03:47:29 +0200 Subject: Adding upstream version 115.8.0esr. Signed-off-by: Daniel Baumann --- .../svg/as-image/background-display-none-1.html | 13 ++ .../svg/as-image/background-image-rect-1png.html | 8 + .../svg/as-image/background-image-rect-1svg.html | 8 + .../svg/as-image/background-image-rect-2.html | 8 + .../reftests/svg/as-image/background-resize-1.html | 18 ++ .../reftests/svg/as-image/background-resize-2.html | 18 ++ .../reftests/svg/as-image/background-resize-3.html | 19 ++ .../reftests/svg/as-image/background-resize-4.html | 20 ++ .../background-scale-no-viewbox-1-ref.html | 21 ++ .../as-image/background-scale-no-viewbox-1.html | 22 ++ .../background-scale-with-viewbox-1-ref.html | 21 ++ .../as-image/background-scale-with-viewbox-1.html | 22 ++ .../reftests/svg/as-image/background-simple-1.html | 6 + .../reftests/svg/as-image/background-simple-2.html | 6 + .../svg/as-image/background-stretch-1-ref.html | 37 ++++ .../svg/as-image/background-stretch-1.html | 22 ++ .../svg/as-image/background-viewBox-1.html | 7 + layout/reftests/svg/as-image/black100x100-ref.html | 5 + .../as-image/blue-square-in-square-par-none.svg | 7 + .../svg/as-image/blue-square-in-square.svg | 7 + .../svg/as-image/blue100x100-border-ref.html | 5 + layout/reftests/svg/as-image/blue100x100-ref.html | 5 + layout/reftests/svg/as-image/blue100x100.svg | 4 + .../svg/as-image/border-image-simple-1.html | 6 + .../svg/as-image/border-image-simple-2.html | 6 + .../svg/as-image/canvas-drawImage-alpha-1-ref.html | 6 + .../svg/as-image/canvas-drawImage-alpha-1.html | 22 ++ .../svg/as-image/canvas-drawImage-alpha-2-ref.html | 6 + .../svg/as-image/canvas-drawImage-alpha-2.html | 22 ++ .../as-image/canvas-drawImage-origin-clean-1.html | 24 +++ .../svg/as-image/canvas-drawImage-scale-1a.html | 27 +++ .../svg/as-image/canvas-drawImage-scale-1b.html | 28 +++ .../svg/as-image/canvas-drawImage-scale-1c.html | 26 +++ .../svg/as-image/canvas-drawImage-scale-2-ref.html | 6 + .../svg/as-image/canvas-drawImage-scale-2a.html | 26 +++ .../svg/as-image/canvas-drawImage-scale-2b.html | 26 +++ .../svg/as-image/canvas-drawImage-simple-1a.html | 22 ++ .../svg/as-image/canvas-drawImage-simple-1b.html | 25 +++ .../svg/as-image/canvas-drawImage-slice-1a.html | 28 +++ .../svg/as-image/canvas-drawImage-slice-1b.html | 25 +++ .../canvas-drawImage-transform-restored-ref.html | 18 ++ .../canvas-drawImage-transform-restored.html | 24 +++ .../as-image/content-outside-viewBox-1-helper.svg | 11 + layout/reftests/svg/as-image/context-fill-01.html | 19 ++ layout/reftests/svg/as-image/context-fill-02.html | 20 ++ layout/reftests/svg/as-image/context-fill-03.html | 19 ++ layout/reftests/svg/as-image/context-fill-04.html | 19 ++ layout/reftests/svg/as-image/context-fill-05.html | 27 +++ layout/reftests/svg/as-image/context-fill-05.svg | 3 + layout/reftests/svg/as-image/context-fill-06.html | 19 ++ .../reftests/svg/as-image/context-fill-07-ref.html | 19 ++ layout/reftests/svg/as-image/context-fill-07.html | 22 ++ layout/reftests/svg/as-image/context-fill-08.html | 20 ++ .../svg/as-image/context-fill-bg-image-01.html | 21 ++ .../svg/as-image/context-fill-opacity-01.html | 19 ++ .../svg/as-image/context-fill-opacity-02.html | 27 +++ .../svg/as-image/context-fill-opacity-02.svg | 3 + .../svg/as-image/context-fill-opacity-03.html | 20 ++ .../svg/as-image/context-fill-opacity-04.html | 18 ++ .../svg/as-image/context-fill-opacity-05.html | 20 ++ .../as-image/context-fill-or-stroke-05-ref.html | 17 ++ .../context-fill-or-stroke-opacity-01-ref.html | 6 + .../context-fill-or-stroke-opacity-02-ref.html | 18 ++ .../context-fill-or-stroke-opacity-03-ref.html | 6 + .../reftests/svg/as-image/context-stroke-01.html | 19 ++ .../reftests/svg/as-image/context-stroke-02.html | 20 ++ .../reftests/svg/as-image/context-stroke-03.html | 19 ++ .../reftests/svg/as-image/context-stroke-04.html | 19 ++ .../reftests/svg/as-image/context-stroke-05.html | 27 +++ layout/reftests/svg/as-image/context-stroke-05.svg | 3 + .../reftests/svg/as-image/context-stroke-06.html | 19 ++ .../svg/as-image/context-stroke-07-ref.html | 19 ++ .../reftests/svg/as-image/context-stroke-07.html | 22 ++ .../reftests/svg/as-image/context-stroke-08.html | 20 ++ .../svg/as-image/context-stroke-bg-image-01.html | 21 ++ .../svg/as-image/context-stroke-opacity-01.html | 19 ++ .../svg/as-image/context-stroke-opacity-02.html | 27 +++ .../svg/as-image/context-stroke-opacity-02.svg | 3 + .../svg/as-image/context-stroke-opacity-03.html | 20 ++ .../svg/as-image/context-stroke-opacity-04.html | 18 ++ .../svg/as-image/context-stroke-opacity-05.html | 19 ++ .../svg/as-image/defer-unsupported-1-helper.svg | 5 + .../svg/as-image/defer-unsupported-1-ref.svg | 6 + .../reftests/svg/as-image/defer-unsupported-1.svg | 7 + layout/reftests/svg/as-image/display-none.svg | 8 + .../svg/as-image/image-orientation-ref.html | 33 +++ .../image-orientation-viewbox-and-size.html | 19 ++ .../image-orientation-viewbox-and-size.svg | 8 + .../image-orientation-viewbox-no-size.html | 22 ++ .../as-image/image-orientation-viewbox-no-size.svg | 7 + .../svg/as-image/img-and-image-1-helper-a.svg | 8 + .../svg/as-image/img-and-image-1-helper-b.svg | 7 + .../svg/as-image/img-and-image-1-helper-c.svg | 42 ++++ .../reftests/svg/as-image/img-and-image-1-ref.svg | 43 ++++ layout/reftests/svg/as-image/img-and-image-1.html | 24 +++ layout/reftests/svg/as-image/img-blobURI-1.html | 35 ++++ layout/reftests/svg/as-image/img-blobURI-2.html | 44 ++++ .../img-content-outside-viewBox-1-ref.html | 15 ++ .../as-image/img-content-outside-viewBox-1.html | 14 ++ .../reftests/svg/as-image/img-display-none-1.html | 12 ++ layout/reftests/svg/as-image/img-dyn-1-ref.html | 7 + layout/reftests/svg/as-image/img-dyn-1.html | 18 ++ .../svg/as-image/img-foreignObject-1-helper.svg | 6 + .../reftests/svg/as-image/img-foreignObject-1.html | 5 + .../as-image/img-foreignObject-embed-1-helper.svg | 18 ++ .../svg/as-image/img-foreignObject-embed-1.html | 5 + .../img-foreignObject-iframe-1a-helper.svg | 14 ++ .../svg/as-image/img-foreignObject-iframe-1a.html | 5 + .../img-foreignObject-iframe-1b-helper.svg | 14 ++ .../svg/as-image/img-foreignObject-iframe-1b.html | 5 + .../reftests/svg/as-image/img-fragment-1-ref.html | 18 ++ layout/reftests/svg/as-image/img-fragment-1a.html | 21 ++ layout/reftests/svg/as-image/img-fragment-1b.html | 19 ++ layout/reftests/svg/as-image/img-fragment-1c.html | 23 +++ .../reftests/svg/as-image/img-fragment-2-ref.html | 18 ++ layout/reftests/svg/as-image/img-fragment-2a.html | 21 ++ layout/reftests/svg/as-image/img-fragment-2b.html | 19 ++ layout/reftests/svg/as-image/img-fragment-2c.html | 23 +++ .../svg/as-image/img-height-meet-1-ref.html | 19 ++ .../reftests/svg/as-image/img-height-meet-1.html | 19 ++ .../svg/as-image/img-height-meet-2-ref.html | 19 ++ .../reftests/svg/as-image/img-height-meet-2.html | 19 ++ .../svg/as-image/img-height-slice-1-ref.html | 19 ++ .../reftests/svg/as-image/img-height-slice-1.html | 19 ++ .../svg/as-image/img-height-slice-2-ref.html | 19 ++ .../reftests/svg/as-image/img-height-slice-2.html | 19 ++ .../svg/as-image/img-novb-height-all-1-ref.html | 45 +++++ .../svg/as-image/img-novb-height-meet-1.html | 20 ++ .../svg/as-image/img-novb-height-slice-1.html | 20 ++ .../svg/as-image/img-novb-width-all-1-ref.html | 49 +++++ .../svg/as-image/img-novb-width-meet-1.html | 20 ++ .../svg/as-image/img-novb-width-slice-1.html | 20 ++ .../img-novb-widthAndHeight-all-1-ref.html | 20 ++ .../img-novb-widthAndHeight-meet-1-em.html | 20 ++ .../img-novb-widthAndHeight-meet-1-px.html | 20 ++ .../img-novb-widthAndHeight-slice-1-em.html | 20 ++ .../img-novb-widthAndHeight-slice-1-px.html | 20 ++ layout/reftests/svg/as-image/img-simple-1.html | 5 + layout/reftests/svg/as-image/img-simple-2.html | 5 + layout/reftests/svg/as-image/img-simple-3-ref.html | 11 + layout/reftests/svg/as-image/img-simple-3.html | 9 + layout/reftests/svg/as-image/img-simple-4.html | 5 + layout/reftests/svg/as-image/img-simple-5-ref.html | 12 ++ layout/reftests/svg/as-image/img-simple-5.html | 6 + layout/reftests/svg/as-image/img-simple-6.html | 5 + layout/reftests/svg/as-image/img-simple-7-ref.html | 11 + layout/reftests/svg/as-image/img-simple-7.html | 6 + .../svg/as-image/img-width-meet-1-ref.html | 19 ++ layout/reftests/svg/as-image/img-width-meet-1.html | 19 ++ .../svg/as-image/img-width-meet-2-ref.html | 19 ++ layout/reftests/svg/as-image/img-width-meet-2.html | 19 ++ .../svg/as-image/img-width-slice-1-ref.html | 19 ++ .../reftests/svg/as-image/img-width-slice-1.html | 19 ++ .../svg/as-image/img-width-slice-2-ref.html | 19 ++ .../reftests/svg/as-image/img-width-slice-2.html | 19 ++ .../as-image/img-widthAndHeight-meet-1-ref.html | 20 ++ .../svg/as-image/img-widthAndHeight-meet-1.html | 20 ++ .../as-image/img-widthAndHeight-meet-2-ref.html | 20 ++ .../svg/as-image/img-widthAndHeight-meet-2.html | 20 ++ .../as-image/img-widthAndHeight-slice-1-ref.html | 20 ++ .../svg/as-image/img-widthAndHeight-slice-1.html | 20 ++ .../as-image/img-widthAndHeight-slice-2-ref.html | 20 ++ .../svg/as-image/img-widthAndHeight-slice-2.html | 20 ++ .../svg/as-image/lime100x100-50pct-ref.html | 5 + .../svg/as-image/lime100x100-noSVGDimensions.svg | 3 + layout/reftests/svg/as-image/lime100x100-ref.html | 5 + .../svg/as-image/lime100x100-w-border-ref.html | 5 + layout/reftests/svg/as-image/lime100x100.png | Bin 0 -> 232 bytes layout/reftests/svg/as-image/lime100x100.svg | 4 + layout/reftests/svg/as-image/lime200x100.svg | 4 + layout/reftests/svg/as-image/lime200x200.svg | 4 + layout/reftests/svg/as-image/lime50x25.svg | 4 + layout/reftests/svg/as-image/lime50x50.svg | 4 + .../limeInRed-noSVGDimensions-animViewBox.svg | 5 + .../as-image/limeInRed-noSVGDimensions-viewBox.svg | 5 + .../svg/as-image/limeInRed100x100-viewBox.svg | 5 + layout/reftests/svg/as-image/limeInRed100x100.png | Bin 0 -> 292 bytes layout/reftests/svg/as-image/limeInRed100x100.svg | 5 + .../reftests/svg/as-image/list-simple-1-ref.html | 8 + layout/reftests/svg/as-image/list-simple-1.html | 8 + .../reftests/svg/as-image/nonuniform-scale-2d.html | 35 ++++ .../reftests/svg/as-image/nonuniform-scale-3d.html | 37 ++++ .../svg/as-image/nonuniform-scale-ref.html | 24 +++ layout/reftests/svg/as-image/reftest.list | 222 +++++++++++++++++++++ .../svg/as-image/squaredCircle-100x100.svg | 7 + .../reftests/svg/as-image/squaredCircle-100x50.svg | 7 + .../svg/as-image/squaredCircle-transparent.svg | 8 + .../svg/as-image/squaredCircle-viewBox-100x100.svg | 6 + .../svg/as-image/squaredCircle-viewBox-noSize.svg | 5 + .../as-image/svg-border-image-repaint-1-ref.html | 14 ++ .../svg/as-image/svg-border-image-repaint-1.html | 20 ++ .../as-image/svg-border-image-repaint-helper.svg | 9 + .../as-image/svg-border-image-repaint-iframe.html | 23 +++ .../reftests/svg/as-image/svg-image-datauri-1.html | 5 + layout/reftests/svg/as-image/svg-image-datauri.svg | 8 + .../svg/as-image/svg-image-external-1.html | 5 + .../reftests/svg/as-image/svg-image-external.svg | 10 + .../svg/as-image/svg-image-recursive-1-ref.svg | 6 + .../svg/as-image/svg-image-recursive-1a.svg | 13 ++ .../svg/as-image/svg-image-recursive-1b.svg | 15 ++ .../svg/as-image/svg-image-recursive-2-ref.svg | 5 + .../svg/as-image/svg-image-recursive-2a.svg | 10 + .../svg/as-image/svg-image-recursive-2b.html | 9 + .../reftests/svg/as-image/svg-image-simple-1.svg | 6 + .../reftests/svg/as-image/svg-image-simple-2.svg | 7 + .../reftests/svg/as-image/svg-image-simple-3.svg | 7 + .../svg-image-synthetic-viewBox-01-helper-1.svg | 4 + .../svg-image-synthetic-viewBox-01-helper-2.svg | 4 + .../svg-image-synthetic-viewBox-01-ref.svg | 4 + .../as-image/svg-image-synthetic-viewBox-01.svg | 4 + layout/reftests/svg/as-image/svg-image-util.css | 3 + layout/reftests/svg/as-image/svg-image-util.js | 173 ++++++++++++++++ .../svg/as-image/svg-image-visited-1-ref.html | 24 +++ .../svg/as-image/svg-image-visited-1a-helper.svg | 34 ++++ .../svg/as-image/svg-image-visited-1a.html | 23 +++ .../svg/as-image/svg-image-visited-1b-helper.svg | 33 +++ .../svg/as-image/svg-image-visited-1b.html | 23 +++ .../svg/as-image/svg-image-visited-1c-helper.svg | 33 +++ .../svg/as-image/svg-image-visited-1c.html | 23 +++ .../svg/as-image/svg-image-visited-1d-helper.svg | 32 +++ .../svg/as-image/svg-image-visited-1d.html | 23 +++ .../svg/as-image/svg-stylesheet-datauri-1.html | 5 + .../svg/as-image/svg-stylesheet-datauri.svg | 8 + .../svg/as-image/svg-stylesheet-external-1.html | 5 + .../svg/as-image/svg-stylesheet-external.css | 1 + .../svg/as-image/svg-stylesheet-external.svg | 9 + .../as-image/transparent100x100-w-border-ref.html | 5 + .../svg/as-image/white-rect-no-viewbox.svg | 8 + .../svg/as-image/white-rect-with-viewbox.svg | 11 + layout/reftests/svg/as-image/zoom/circle-large.svg | 3 + layout/reftests/svg/as-image/zoom/circle-small.svg | 3 + .../zoom/img-fuzzy-transform-zoomIn-1.html | 29 +++ .../zoom/img-fuzzy-transform-zoomOut-1.html | 29 +++ .../svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html | 27 +++ .../svg/as-image/zoom/img-fuzzy-zoomIn-1.html | 27 +++ .../svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html | 27 +++ .../svg/as-image/zoom/img-fuzzy-zoomOut-1.html | 27 +++ .../reftests/svg/as-image/zoom/img-zoomIn-1.html | 5 + .../reftests/svg/as-image/zoom/img-zoomOut-1.html | 5 + layout/reftests/svg/as-image/zoom/reftest.list | 11 + .../as-image/zoom/squaredCircle-150x150-ref.html | 5 + .../svg/as-image/zoom/squaredCircle-50x50-ref.html | 5 + .../reftests/svg/as-image/zoom/squaredCircle.svg | 6 + 243 files changed, 4098 insertions(+) create mode 100644 layout/reftests/svg/as-image/background-display-none-1.html create mode 100644 layout/reftests/svg/as-image/background-image-rect-1png.html create mode 100644 layout/reftests/svg/as-image/background-image-rect-1svg.html create mode 100644 layout/reftests/svg/as-image/background-image-rect-2.html create mode 100644 layout/reftests/svg/as-image/background-resize-1.html create mode 100644 layout/reftests/svg/as-image/background-resize-2.html create mode 100644 layout/reftests/svg/as-image/background-resize-3.html create mode 100644 layout/reftests/svg/as-image/background-resize-4.html create mode 100644 layout/reftests/svg/as-image/background-scale-no-viewbox-1-ref.html create mode 100644 layout/reftests/svg/as-image/background-scale-no-viewbox-1.html create mode 100644 layout/reftests/svg/as-image/background-scale-with-viewbox-1-ref.html create mode 100644 layout/reftests/svg/as-image/background-scale-with-viewbox-1.html create mode 100644 layout/reftests/svg/as-image/background-simple-1.html create mode 100644 layout/reftests/svg/as-image/background-simple-2.html create mode 100644 layout/reftests/svg/as-image/background-stretch-1-ref.html create mode 100644 layout/reftests/svg/as-image/background-stretch-1.html create mode 100644 layout/reftests/svg/as-image/background-viewBox-1.html create mode 100644 layout/reftests/svg/as-image/black100x100-ref.html create mode 100644 layout/reftests/svg/as-image/blue-square-in-square-par-none.svg create mode 100644 layout/reftests/svg/as-image/blue-square-in-square.svg create mode 100644 layout/reftests/svg/as-image/blue100x100-border-ref.html create mode 100644 layout/reftests/svg/as-image/blue100x100-ref.html create mode 100644 layout/reftests/svg/as-image/blue100x100.svg create mode 100644 layout/reftests/svg/as-image/border-image-simple-1.html create mode 100644 layout/reftests/svg/as-image/border-image-simple-2.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-alpha-1-ref.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-alpha-1.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-alpha-2-ref.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-alpha-2.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-origin-clean-1.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-scale-1a.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-scale-1b.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-scale-1c.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-scale-2-ref.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-scale-2a.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-scale-2b.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-simple-1a.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-simple-1b.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-slice-1a.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-slice-1b.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-transform-restored-ref.html create mode 100644 layout/reftests/svg/as-image/canvas-drawImage-transform-restored.html create mode 100644 layout/reftests/svg/as-image/content-outside-viewBox-1-helper.svg create mode 100644 layout/reftests/svg/as-image/context-fill-01.html create mode 100644 layout/reftests/svg/as-image/context-fill-02.html create mode 100644 layout/reftests/svg/as-image/context-fill-03.html create mode 100644 layout/reftests/svg/as-image/context-fill-04.html create mode 100644 layout/reftests/svg/as-image/context-fill-05.html create mode 100644 layout/reftests/svg/as-image/context-fill-05.svg create mode 100644 layout/reftests/svg/as-image/context-fill-06.html create mode 100644 layout/reftests/svg/as-image/context-fill-07-ref.html create mode 100644 layout/reftests/svg/as-image/context-fill-07.html create mode 100644 layout/reftests/svg/as-image/context-fill-08.html create mode 100644 layout/reftests/svg/as-image/context-fill-bg-image-01.html create mode 100644 layout/reftests/svg/as-image/context-fill-opacity-01.html create mode 100644 layout/reftests/svg/as-image/context-fill-opacity-02.html create mode 100644 layout/reftests/svg/as-image/context-fill-opacity-02.svg create mode 100644 layout/reftests/svg/as-image/context-fill-opacity-03.html create mode 100644 layout/reftests/svg/as-image/context-fill-opacity-04.html create mode 100644 layout/reftests/svg/as-image/context-fill-opacity-05.html create mode 100644 layout/reftests/svg/as-image/context-fill-or-stroke-05-ref.html create mode 100644 layout/reftests/svg/as-image/context-fill-or-stroke-opacity-01-ref.html create mode 100644 layout/reftests/svg/as-image/context-fill-or-stroke-opacity-02-ref.html create mode 100644 layout/reftests/svg/as-image/context-fill-or-stroke-opacity-03-ref.html create mode 100644 layout/reftests/svg/as-image/context-stroke-01.html create mode 100644 layout/reftests/svg/as-image/context-stroke-02.html create mode 100644 layout/reftests/svg/as-image/context-stroke-03.html create mode 100644 layout/reftests/svg/as-image/context-stroke-04.html create mode 100644 layout/reftests/svg/as-image/context-stroke-05.html create mode 100644 layout/reftests/svg/as-image/context-stroke-05.svg create mode 100644 layout/reftests/svg/as-image/context-stroke-06.html create mode 100644 layout/reftests/svg/as-image/context-stroke-07-ref.html create mode 100644 layout/reftests/svg/as-image/context-stroke-07.html create mode 100644 layout/reftests/svg/as-image/context-stroke-08.html create mode 100644 layout/reftests/svg/as-image/context-stroke-bg-image-01.html create mode 100644 layout/reftests/svg/as-image/context-stroke-opacity-01.html create mode 100644 layout/reftests/svg/as-image/context-stroke-opacity-02.html create mode 100644 layout/reftests/svg/as-image/context-stroke-opacity-02.svg create mode 100644 layout/reftests/svg/as-image/context-stroke-opacity-03.html create mode 100644 layout/reftests/svg/as-image/context-stroke-opacity-04.html create mode 100644 layout/reftests/svg/as-image/context-stroke-opacity-05.html create mode 100644 layout/reftests/svg/as-image/defer-unsupported-1-helper.svg create mode 100644 layout/reftests/svg/as-image/defer-unsupported-1-ref.svg create mode 100644 layout/reftests/svg/as-image/defer-unsupported-1.svg create mode 100644 layout/reftests/svg/as-image/display-none.svg create mode 100644 layout/reftests/svg/as-image/image-orientation-ref.html create mode 100644 layout/reftests/svg/as-image/image-orientation-viewbox-and-size.html create mode 100644 layout/reftests/svg/as-image/image-orientation-viewbox-and-size.svg create mode 100644 layout/reftests/svg/as-image/image-orientation-viewbox-no-size.html create mode 100644 layout/reftests/svg/as-image/image-orientation-viewbox-no-size.svg create mode 100644 layout/reftests/svg/as-image/img-and-image-1-helper-a.svg create mode 100644 layout/reftests/svg/as-image/img-and-image-1-helper-b.svg create mode 100644 layout/reftests/svg/as-image/img-and-image-1-helper-c.svg create mode 100644 layout/reftests/svg/as-image/img-and-image-1-ref.svg create mode 100644 layout/reftests/svg/as-image/img-and-image-1.html create mode 100644 layout/reftests/svg/as-image/img-blobURI-1.html create mode 100644 layout/reftests/svg/as-image/img-blobURI-2.html create mode 100644 layout/reftests/svg/as-image/img-content-outside-viewBox-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-content-outside-viewBox-1.html create mode 100644 layout/reftests/svg/as-image/img-display-none-1.html create mode 100644 layout/reftests/svg/as-image/img-dyn-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-dyn-1.html create mode 100644 layout/reftests/svg/as-image/img-foreignObject-1-helper.svg create mode 100644 layout/reftests/svg/as-image/img-foreignObject-1.html create mode 100644 layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg create mode 100644 layout/reftests/svg/as-image/img-foreignObject-embed-1.html create mode 100644 layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg create mode 100644 layout/reftests/svg/as-image/img-foreignObject-iframe-1a.html create mode 100644 layout/reftests/svg/as-image/img-foreignObject-iframe-1b-helper.svg create mode 100644 layout/reftests/svg/as-image/img-foreignObject-iframe-1b.html create mode 100644 layout/reftests/svg/as-image/img-fragment-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-fragment-1a.html create mode 100644 layout/reftests/svg/as-image/img-fragment-1b.html create mode 100644 layout/reftests/svg/as-image/img-fragment-1c.html create mode 100644 layout/reftests/svg/as-image/img-fragment-2-ref.html create mode 100644 layout/reftests/svg/as-image/img-fragment-2a.html create mode 100644 layout/reftests/svg/as-image/img-fragment-2b.html create mode 100644 layout/reftests/svg/as-image/img-fragment-2c.html create mode 100644 layout/reftests/svg/as-image/img-height-meet-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-height-meet-1.html create mode 100644 layout/reftests/svg/as-image/img-height-meet-2-ref.html create mode 100644 layout/reftests/svg/as-image/img-height-meet-2.html create mode 100644 layout/reftests/svg/as-image/img-height-slice-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-height-slice-1.html create mode 100644 layout/reftests/svg/as-image/img-height-slice-2-ref.html create mode 100644 layout/reftests/svg/as-image/img-height-slice-2.html create mode 100644 layout/reftests/svg/as-image/img-novb-height-all-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-novb-height-meet-1.html create mode 100644 layout/reftests/svg/as-image/img-novb-height-slice-1.html create mode 100644 layout/reftests/svg/as-image/img-novb-width-all-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-novb-width-meet-1.html create mode 100644 layout/reftests/svg/as-image/img-novb-width-slice-1.html create mode 100644 layout/reftests/svg/as-image/img-novb-widthAndHeight-all-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-em.html create mode 100644 layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-px.html create mode 100644 layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-em.html create mode 100644 layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-px.html create mode 100644 layout/reftests/svg/as-image/img-simple-1.html create mode 100644 layout/reftests/svg/as-image/img-simple-2.html create mode 100644 layout/reftests/svg/as-image/img-simple-3-ref.html create mode 100644 layout/reftests/svg/as-image/img-simple-3.html create mode 100644 layout/reftests/svg/as-image/img-simple-4.html create mode 100644 layout/reftests/svg/as-image/img-simple-5-ref.html create mode 100644 layout/reftests/svg/as-image/img-simple-5.html create mode 100644 layout/reftests/svg/as-image/img-simple-6.html create mode 100644 layout/reftests/svg/as-image/img-simple-7-ref.html create mode 100644 layout/reftests/svg/as-image/img-simple-7.html create mode 100644 layout/reftests/svg/as-image/img-width-meet-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-width-meet-1.html create mode 100644 layout/reftests/svg/as-image/img-width-meet-2-ref.html create mode 100644 layout/reftests/svg/as-image/img-width-meet-2.html create mode 100644 layout/reftests/svg/as-image/img-width-slice-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-width-slice-1.html create mode 100644 layout/reftests/svg/as-image/img-width-slice-2-ref.html create mode 100644 layout/reftests/svg/as-image/img-width-slice-2.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-meet-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-meet-2-ref.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-meet-2.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-slice-1-ref.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-slice-2-ref.html create mode 100644 layout/reftests/svg/as-image/img-widthAndHeight-slice-2.html create mode 100644 layout/reftests/svg/as-image/lime100x100-50pct-ref.html create mode 100644 layout/reftests/svg/as-image/lime100x100-noSVGDimensions.svg create mode 100644 layout/reftests/svg/as-image/lime100x100-ref.html create mode 100644 layout/reftests/svg/as-image/lime100x100-w-border-ref.html create mode 100644 layout/reftests/svg/as-image/lime100x100.png create mode 100644 layout/reftests/svg/as-image/lime100x100.svg create mode 100644 layout/reftests/svg/as-image/lime200x100.svg create mode 100644 layout/reftests/svg/as-image/lime200x200.svg create mode 100644 layout/reftests/svg/as-image/lime50x25.svg create mode 100644 layout/reftests/svg/as-image/lime50x50.svg create mode 100644 layout/reftests/svg/as-image/limeInRed-noSVGDimensions-animViewBox.svg create mode 100644 layout/reftests/svg/as-image/limeInRed-noSVGDimensions-viewBox.svg create mode 100644 layout/reftests/svg/as-image/limeInRed100x100-viewBox.svg create mode 100644 layout/reftests/svg/as-image/limeInRed100x100.png create mode 100644 layout/reftests/svg/as-image/limeInRed100x100.svg create mode 100644 layout/reftests/svg/as-image/list-simple-1-ref.html create mode 100644 layout/reftests/svg/as-image/list-simple-1.html create mode 100644 layout/reftests/svg/as-image/nonuniform-scale-2d.html create mode 100644 layout/reftests/svg/as-image/nonuniform-scale-3d.html create mode 100644 layout/reftests/svg/as-image/nonuniform-scale-ref.html create mode 100644 layout/reftests/svg/as-image/reftest.list create mode 100644 layout/reftests/svg/as-image/squaredCircle-100x100.svg create mode 100644 layout/reftests/svg/as-image/squaredCircle-100x50.svg create mode 100644 layout/reftests/svg/as-image/squaredCircle-transparent.svg create mode 100644 layout/reftests/svg/as-image/squaredCircle-viewBox-100x100.svg create mode 100644 layout/reftests/svg/as-image/squaredCircle-viewBox-noSize.svg create mode 100644 layout/reftests/svg/as-image/svg-border-image-repaint-1-ref.html create mode 100644 layout/reftests/svg/as-image/svg-border-image-repaint-1.html create mode 100644 layout/reftests/svg/as-image/svg-border-image-repaint-helper.svg create mode 100644 layout/reftests/svg/as-image/svg-border-image-repaint-iframe.html create mode 100644 layout/reftests/svg/as-image/svg-image-datauri-1.html create mode 100644 layout/reftests/svg/as-image/svg-image-datauri.svg create mode 100644 layout/reftests/svg/as-image/svg-image-external-1.html create mode 100644 layout/reftests/svg/as-image/svg-image-external.svg create mode 100644 layout/reftests/svg/as-image/svg-image-recursive-1-ref.svg create mode 100644 layout/reftests/svg/as-image/svg-image-recursive-1a.svg create mode 100644 layout/reftests/svg/as-image/svg-image-recursive-1b.svg create mode 100644 layout/reftests/svg/as-image/svg-image-recursive-2-ref.svg create mode 100644 layout/reftests/svg/as-image/svg-image-recursive-2a.svg create mode 100644 layout/reftests/svg/as-image/svg-image-recursive-2b.html create mode 100644 layout/reftests/svg/as-image/svg-image-simple-1.svg create mode 100644 layout/reftests/svg/as-image/svg-image-simple-2.svg create mode 100644 layout/reftests/svg/as-image/svg-image-simple-3.svg create mode 100644 layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-1.svg create mode 100644 layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-2.svg create mode 100644 layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-ref.svg create mode 100644 layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01.svg create mode 100644 layout/reftests/svg/as-image/svg-image-util.css create mode 100644 layout/reftests/svg/as-image/svg-image-util.js create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1-ref.html create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1a-helper.svg create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1a.html create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1b-helper.svg create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1b.html create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1c-helper.svg create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1c.html create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1d-helper.svg create mode 100644 layout/reftests/svg/as-image/svg-image-visited-1d.html create mode 100644 layout/reftests/svg/as-image/svg-stylesheet-datauri-1.html create mode 100644 layout/reftests/svg/as-image/svg-stylesheet-datauri.svg create mode 100644 layout/reftests/svg/as-image/svg-stylesheet-external-1.html create mode 100644 layout/reftests/svg/as-image/svg-stylesheet-external.css create mode 100644 layout/reftests/svg/as-image/svg-stylesheet-external.svg create mode 100644 layout/reftests/svg/as-image/transparent100x100-w-border-ref.html create mode 100644 layout/reftests/svg/as-image/white-rect-no-viewbox.svg create mode 100644 layout/reftests/svg/as-image/white-rect-with-viewbox.svg create mode 100644 layout/reftests/svg/as-image/zoom/circle-large.svg create mode 100644 layout/reftests/svg/as-image/zoom/circle-small.svg create mode 100644 layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomIn-1.html create mode 100644 layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomOut-1.html create mode 100644 layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html create mode 100644 layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1.html create mode 100644 layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html create mode 100644 layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1.html create mode 100644 layout/reftests/svg/as-image/zoom/img-zoomIn-1.html create mode 100644 layout/reftests/svg/as-image/zoom/img-zoomOut-1.html create mode 100644 layout/reftests/svg/as-image/zoom/reftest.list create mode 100644 layout/reftests/svg/as-image/zoom/squaredCircle-150x150-ref.html create mode 100644 layout/reftests/svg/as-image/zoom/squaredCircle-50x50-ref.html create mode 100644 layout/reftests/svg/as-image/zoom/squaredCircle.svg (limited to 'layout/reftests/svg/as-image') diff --git a/layout/reftests/svg/as-image/background-display-none-1.html b/layout/reftests/svg/as-image/background-display-none-1.html new file mode 100644 index 0000000000..9c638134e2 --- /dev/null +++ b/layout/reftests/svg/as-image/background-display-none-1.html @@ -0,0 +1,13 @@ + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/background-image-rect-1png.html b/layout/reftests/svg/as-image/background-image-rect-1png.html new file mode 100644 index 0000000000..42813d6694 --- /dev/null +++ b/layout/reftests/svg/as-image/background-image-rect-1png.html @@ -0,0 +1,8 @@ + + +
+
+ + diff --git a/layout/reftests/svg/as-image/background-image-rect-1svg.html b/layout/reftests/svg/as-image/background-image-rect-1svg.html new file mode 100644 index 0000000000..728c780acc --- /dev/null +++ b/layout/reftests/svg/as-image/background-image-rect-1svg.html @@ -0,0 +1,8 @@ + + +
+
+ + diff --git a/layout/reftests/svg/as-image/background-image-rect-2.html b/layout/reftests/svg/as-image/background-image-rect-2.html new file mode 100644 index 0000000000..15f861d40f --- /dev/null +++ b/layout/reftests/svg/as-image/background-image-rect-2.html @@ -0,0 +1,8 @@ + + +
+
+ + diff --git a/layout/reftests/svg/as-image/background-resize-1.html b/layout/reftests/svg/as-image/background-resize-1.html new file mode 100644 index 0000000000..72111ceaf3 --- /dev/null +++ b/layout/reftests/svg/as-image/background-resize-1.html @@ -0,0 +1,18 @@ + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/background-resize-2.html b/layout/reftests/svg/as-image/background-resize-2.html new file mode 100644 index 0000000000..86df50c02b --- /dev/null +++ b/layout/reftests/svg/as-image/background-resize-2.html @@ -0,0 +1,18 @@ + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/background-resize-3.html b/layout/reftests/svg/as-image/background-resize-3.html new file mode 100644 index 0000000000..e87c148e74 --- /dev/null +++ b/layout/reftests/svg/as-image/background-resize-3.html @@ -0,0 +1,19 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/background-resize-4.html b/layout/reftests/svg/as-image/background-resize-4.html new file mode 100644 index 0000000000..ed4ea4f085 --- /dev/null +++ b/layout/reftests/svg/as-image/background-resize-4.html @@ -0,0 +1,20 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/background-scale-no-viewbox-1-ref.html b/layout/reftests/svg/as-image/background-scale-no-viewbox-1-ref.html new file mode 100644 index 0000000000..e9ee74d29b --- /dev/null +++ b/layout/reftests/svg/as-image/background-scale-no-viewbox-1-ref.html @@ -0,0 +1,21 @@ + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/background-scale-no-viewbox-1.html b/layout/reftests/svg/as-image/background-scale-no-viewbox-1.html new file mode 100644 index 0000000000..e8ea278bb6 --- /dev/null +++ b/layout/reftests/svg/as-image/background-scale-no-viewbox-1.html @@ -0,0 +1,22 @@ + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/background-scale-with-viewbox-1-ref.html b/layout/reftests/svg/as-image/background-scale-with-viewbox-1-ref.html new file mode 100644 index 0000000000..e9ee74d29b --- /dev/null +++ b/layout/reftests/svg/as-image/background-scale-with-viewbox-1-ref.html @@ -0,0 +1,21 @@ + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/background-scale-with-viewbox-1.html b/layout/reftests/svg/as-image/background-scale-with-viewbox-1.html new file mode 100644 index 0000000000..295aedf520 --- /dev/null +++ b/layout/reftests/svg/as-image/background-scale-with-viewbox-1.html @@ -0,0 +1,22 @@ + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/background-simple-1.html b/layout/reftests/svg/as-image/background-simple-1.html new file mode 100644 index 0000000000..d368b58318 --- /dev/null +++ b/layout/reftests/svg/as-image/background-simple-1.html @@ -0,0 +1,6 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/background-simple-2.html b/layout/reftests/svg/as-image/background-simple-2.html new file mode 100644 index 0000000000..1b4cbba245 --- /dev/null +++ b/layout/reftests/svg/as-image/background-simple-2.html @@ -0,0 +1,6 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/background-stretch-1-ref.html b/layout/reftests/svg/as-image/background-stretch-1-ref.html new file mode 100644 index 0000000000..3b017fbdf7 --- /dev/null +++ b/layout/reftests/svg/as-image/background-stretch-1-ref.html @@ -0,0 +1,37 @@ + + + + + + +
+
+
+
+
+ + diff --git a/layout/reftests/svg/as-image/background-stretch-1.html b/layout/reftests/svg/as-image/background-stretch-1.html new file mode 100644 index 0000000000..0931cf3ccc --- /dev/null +++ b/layout/reftests/svg/as-image/background-stretch-1.html @@ -0,0 +1,22 @@ + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/background-viewBox-1.html b/layout/reftests/svg/as-image/background-viewBox-1.html new file mode 100644 index 0000000000..077dedfeb7 --- /dev/null +++ b/layout/reftests/svg/as-image/background-viewBox-1.html @@ -0,0 +1,7 @@ + + +
+
+ + diff --git a/layout/reftests/svg/as-image/black100x100-ref.html b/layout/reftests/svg/as-image/black100x100-ref.html new file mode 100644 index 0000000000..0d0121ccb8 --- /dev/null +++ b/layout/reftests/svg/as-image/black100x100-ref.html @@ -0,0 +1,5 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/blue-square-in-square-par-none.svg b/layout/reftests/svg/as-image/blue-square-in-square-par-none.svg new file mode 100644 index 0000000000..33a08a0bca --- /dev/null +++ b/layout/reftests/svg/as-image/blue-square-in-square-par-none.svg @@ -0,0 +1,7 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/blue-square-in-square.svg b/layout/reftests/svg/as-image/blue-square-in-square.svg new file mode 100644 index 0000000000..d43a27951d --- /dev/null +++ b/layout/reftests/svg/as-image/blue-square-in-square.svg @@ -0,0 +1,7 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/blue100x100-border-ref.html b/layout/reftests/svg/as-image/blue100x100-border-ref.html new file mode 100644 index 0000000000..1bd865856c --- /dev/null +++ b/layout/reftests/svg/as-image/blue100x100-border-ref.html @@ -0,0 +1,5 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/blue100x100-ref.html b/layout/reftests/svg/as-image/blue100x100-ref.html new file mode 100644 index 0000000000..307fbd6bd3 --- /dev/null +++ b/layout/reftests/svg/as-image/blue100x100-ref.html @@ -0,0 +1,5 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/blue100x100.svg b/layout/reftests/svg/as-image/blue100x100.svg new file mode 100644 index 0000000000..a9c8eba794 --- /dev/null +++ b/layout/reftests/svg/as-image/blue100x100.svg @@ -0,0 +1,4 @@ + + + diff --git a/layout/reftests/svg/as-image/border-image-simple-1.html b/layout/reftests/svg/as-image/border-image-simple-1.html new file mode 100644 index 0000000000..e6b696e1d2 --- /dev/null +++ b/layout/reftests/svg/as-image/border-image-simple-1.html @@ -0,0 +1,6 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/border-image-simple-2.html b/layout/reftests/svg/as-image/border-image-simple-2.html new file mode 100644 index 0000000000..4eba8cee53 --- /dev/null +++ b/layout/reftests/svg/as-image/border-image-simple-2.html @@ -0,0 +1,6 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-alpha-1-ref.html b/layout/reftests/svg/as-image/canvas-drawImage-alpha-1-ref.html new file mode 100644 index 0000000000..b2be295acb --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-alpha-1-ref.html @@ -0,0 +1,6 @@ + + +
+
+ + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-alpha-1.html b/layout/reftests/svg/as-image/canvas-drawImage-alpha-1.html new file mode 100644 index 0000000000..ca6a362c34 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-alpha-1.html @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-alpha-2-ref.html b/layout/reftests/svg/as-image/canvas-drawImage-alpha-2-ref.html new file mode 100644 index 0000000000..563e60bb91 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-alpha-2-ref.html @@ -0,0 +1,6 @@ + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-alpha-2.html b/layout/reftests/svg/as-image/canvas-drawImage-alpha-2.html new file mode 100644 index 0000000000..ca56934f6b --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-alpha-2.html @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-origin-clean-1.html b/layout/reftests/svg/as-image/canvas-drawImage-origin-clean-1.html new file mode 100644 index 0000000000..c363bad581 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-origin-clean-1.html @@ -0,0 +1,24 @@ + + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-scale-1a.html b/layout/reftests/svg/as-image/canvas-drawImage-scale-1a.html new file mode 100644 index 0000000000..da382386f4 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-scale-1a.html @@ -0,0 +1,27 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-scale-1b.html b/layout/reftests/svg/as-image/canvas-drawImage-scale-1b.html new file mode 100644 index 0000000000..94154d480e --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-scale-1b.html @@ -0,0 +1,28 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-scale-1c.html b/layout/reftests/svg/as-image/canvas-drawImage-scale-1c.html new file mode 100644 index 0000000000..92eed4e101 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-scale-1c.html @@ -0,0 +1,26 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-scale-2-ref.html b/layout/reftests/svg/as-image/canvas-drawImage-scale-2-ref.html new file mode 100644 index 0000000000..bd4585eaa9 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-scale-2-ref.html @@ -0,0 +1,6 @@ + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-scale-2a.html b/layout/reftests/svg/as-image/canvas-drawImage-scale-2a.html new file mode 100644 index 0000000000..0e8cf233ff --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-scale-2a.html @@ -0,0 +1,26 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-scale-2b.html b/layout/reftests/svg/as-image/canvas-drawImage-scale-2b.html new file mode 100644 index 0000000000..f3ca821230 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-scale-2b.html @@ -0,0 +1,26 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-simple-1a.html b/layout/reftests/svg/as-image/canvas-drawImage-simple-1a.html new file mode 100644 index 0000000000..b40d5fc39a --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-simple-1a.html @@ -0,0 +1,22 @@ + + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-simple-1b.html b/layout/reftests/svg/as-image/canvas-drawImage-simple-1b.html new file mode 100644 index 0000000000..f3348b1e16 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-simple-1b.html @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-slice-1a.html b/layout/reftests/svg/as-image/canvas-drawImage-slice-1a.html new file mode 100644 index 0000000000..6f173b7d6b --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-slice-1a.html @@ -0,0 +1,28 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-slice-1b.html b/layout/reftests/svg/as-image/canvas-drawImage-slice-1b.html new file mode 100644 index 0000000000..6b56ce1e60 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-slice-1b.html @@ -0,0 +1,25 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-transform-restored-ref.html b/layout/reftests/svg/as-image/canvas-drawImage-transform-restored-ref.html new file mode 100644 index 0000000000..5105f71921 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-transform-restored-ref.html @@ -0,0 +1,18 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/canvas-drawImage-transform-restored.html b/layout/reftests/svg/as-image/canvas-drawImage-transform-restored.html new file mode 100644 index 0000000000..2d7ec38588 --- /dev/null +++ b/layout/reftests/svg/as-image/canvas-drawImage-transform-restored.html @@ -0,0 +1,24 @@ + + + Test that drawImage() calls don't reset the canvas' transform + + + + + + + diff --git a/layout/reftests/svg/as-image/content-outside-viewBox-1-helper.svg b/layout/reftests/svg/as-image/content-outside-viewBox-1-helper.svg new file mode 100644 index 0000000000..ff5ff17fb9 --- /dev/null +++ b/layout/reftests/svg/as-image/content-outside-viewBox-1-helper.svg @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-01.html b/layout/reftests/svg/as-image/context-fill-01.html new file mode 100644 index 0000000000..b25eac4c45 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-01.html @@ -0,0 +1,19 @@ + + + + Basic context-fill test + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-02.html b/layout/reftests/svg/as-image/context-fill-02.html new file mode 100644 index 0000000000..e476d1e04a --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-02.html @@ -0,0 +1,20 @@ + + + + Basic context-fill test (without a fallback color) + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-03.html b/layout/reftests/svg/as-image/context-fill-03.html new file mode 100644 index 0000000000..066d5a7925 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-03.html @@ -0,0 +1,19 @@ + + + + Test context-fill where fill is semi-transparent + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-04.html b/layout/reftests/svg/as-image/context-fill-04.html new file mode 100644 index 0000000000..4b8b9d84c1 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-04.html @@ -0,0 +1,19 @@ + + + + Test context-fill with fill-opacity + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-05.html b/layout/reftests/svg/as-image/context-fill-05.html new file mode 100644 index 0000000000..14c169642f --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-05.html @@ -0,0 +1,27 @@ + + + + Test context-fill with different fill values (test image caching correctness) + + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-05.svg b/layout/reftests/svg/as-image/context-fill-05.svg new file mode 100644 index 0000000000..c2865ca10e --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-05.svg @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/svg/as-image/context-fill-06.html b/layout/reftests/svg/as-image/context-fill-06.html new file mode 100644 index 0000000000..7ea9c6bf95 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-06.html @@ -0,0 +1,19 @@ + + + + Test context-fill works as a stroke value + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-07-ref.html b/layout/reftests/svg/as-image/context-fill-07-ref.html new file mode 100644 index 0000000000..9e52bb402e --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-07-ref.html @@ -0,0 +1,19 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/context-fill-07.html b/layout/reftests/svg/as-image/context-fill-07.html new file mode 100644 index 0000000000..c4e9ab3305 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-07.html @@ -0,0 +1,22 @@ + + + + Test context-fill when no context fill value is provided + + + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-08.html b/layout/reftests/svg/as-image/context-fill-08.html new file mode 100644 index 0000000000..77f7aca144 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-08.html @@ -0,0 +1,20 @@ + + + + Test context-fill when only "-moz-context-properties: stroke" is specified + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-bg-image-01.html b/layout/reftests/svg/as-image/context-fill-bg-image-01.html new file mode 100644 index 0000000000..2c5d0ff362 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-bg-image-01.html @@ -0,0 +1,21 @@ + + + + Basic context-fill in background-image test + + + +
+ + + diff --git a/layout/reftests/svg/as-image/context-fill-opacity-01.html b/layout/reftests/svg/as-image/context-fill-opacity-01.html new file mode 100644 index 0000000000..1ba306a054 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-opacity-01.html @@ -0,0 +1,19 @@ + + + + Basic context-fill-opacity test + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-opacity-02.html b/layout/reftests/svg/as-image/context-fill-opacity-02.html new file mode 100644 index 0000000000..8420d0105d --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-opacity-02.html @@ -0,0 +1,27 @@ + + + + Test context-fill-opacity with different fill-opacity values (test image caching correctness) + + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-opacity-02.svg b/layout/reftests/svg/as-image/context-fill-opacity-02.svg new file mode 100644 index 0000000000..bbc1270271 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-opacity-02.svg @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/svg/as-image/context-fill-opacity-03.html b/layout/reftests/svg/as-image/context-fill-opacity-03.html new file mode 100644 index 0000000000..33d4684c2b --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-opacity-03.html @@ -0,0 +1,20 @@ + + + + Test context-fill-opacity works with context-fill + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-opacity-04.html b/layout/reftests/svg/as-image/context-fill-opacity-04.html new file mode 100644 index 0000000000..e8b1b343cd --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-opacity-04.html @@ -0,0 +1,18 @@ + + + + No context-fill-opacity value is provided + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-opacity-05.html b/layout/reftests/svg/as-image/context-fill-opacity-05.html new file mode 100644 index 0000000000..ca34db6d51 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-opacity-05.html @@ -0,0 +1,20 @@ + + + + Test context-fill-opacity when only '-moz-context-properties: stroke-opacity' is specified + + + + + + diff --git a/layout/reftests/svg/as-image/context-fill-or-stroke-05-ref.html b/layout/reftests/svg/as-image/context-fill-or-stroke-05-ref.html new file mode 100644 index 0000000000..369d36bb93 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-or-stroke-05-ref.html @@ -0,0 +1,17 @@ + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-01-ref.html b/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-01-ref.html new file mode 100644 index 0000000000..87b98a894d --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-01-ref.html @@ -0,0 +1,6 @@ + + + +
+ + diff --git a/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-02-ref.html b/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-02-ref.html new file mode 100644 index 0000000000..f16b49ff40 --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-02-ref.html @@ -0,0 +1,18 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-03-ref.html b/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-03-ref.html new file mode 100644 index 0000000000..87b98a894d --- /dev/null +++ b/layout/reftests/svg/as-image/context-fill-or-stroke-opacity-03-ref.html @@ -0,0 +1,6 @@ + + + +
+ + diff --git a/layout/reftests/svg/as-image/context-stroke-01.html b/layout/reftests/svg/as-image/context-stroke-01.html new file mode 100644 index 0000000000..853f72ac5a --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-01.html @@ -0,0 +1,19 @@ + + + + Basic context-stroke test + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-02.html b/layout/reftests/svg/as-image/context-stroke-02.html new file mode 100644 index 0000000000..00d39aff4e --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-02.html @@ -0,0 +1,20 @@ + + + + Basic context-stroke test (without a fallback color) + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-03.html b/layout/reftests/svg/as-image/context-stroke-03.html new file mode 100644 index 0000000000..2bb341f6d4 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-03.html @@ -0,0 +1,19 @@ + + + + Test context-stroke where stroke is semi-transparent + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-04.html b/layout/reftests/svg/as-image/context-stroke-04.html new file mode 100644 index 0000000000..170f8c4970 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-04.html @@ -0,0 +1,19 @@ + + + + Test context-stroke with stroke-opacity + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-05.html b/layout/reftests/svg/as-image/context-stroke-05.html new file mode 100644 index 0000000000..ebd3f6b8e9 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-05.html @@ -0,0 +1,27 @@ + + + + Test context-stroke with different stroke values (test image caching correctness) + + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-05.svg b/layout/reftests/svg/as-image/context-stroke-05.svg new file mode 100644 index 0000000000..01e25682b9 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-05.svg @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/svg/as-image/context-stroke-06.html b/layout/reftests/svg/as-image/context-stroke-06.html new file mode 100644 index 0000000000..fb84671d67 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-06.html @@ -0,0 +1,19 @@ + + + + Test context-stroke works as a fill value + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-07-ref.html b/layout/reftests/svg/as-image/context-stroke-07-ref.html new file mode 100644 index 0000000000..503e1bfba5 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-07-ref.html @@ -0,0 +1,19 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/context-stroke-07.html b/layout/reftests/svg/as-image/context-stroke-07.html new file mode 100644 index 0000000000..885ee221dd --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-07.html @@ -0,0 +1,22 @@ + + + + Test context-stroke when no context stroke value is provided + + + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-08.html b/layout/reftests/svg/as-image/context-stroke-08.html new file mode 100644 index 0000000000..8420fba152 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-08.html @@ -0,0 +1,20 @@ + + + + Test context-stroke when only "-moz-context-properties: fill" is specified + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-bg-image-01.html b/layout/reftests/svg/as-image/context-stroke-bg-image-01.html new file mode 100644 index 0000000000..57897c93e5 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-bg-image-01.html @@ -0,0 +1,21 @@ + + + + Basic context-stroke in background-image test + + + +
+ + + diff --git a/layout/reftests/svg/as-image/context-stroke-opacity-01.html b/layout/reftests/svg/as-image/context-stroke-opacity-01.html new file mode 100644 index 0000000000..6c3e9b386b --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-opacity-01.html @@ -0,0 +1,19 @@ + + + + Basic context-stroke-opacity test + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-opacity-02.html b/layout/reftests/svg/as-image/context-stroke-opacity-02.html new file mode 100644 index 0000000000..4445cc7b93 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-opacity-02.html @@ -0,0 +1,27 @@ + + + + Test context-stroke-opacity with different stroke-opacity values (test image caching correctness) + + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-opacity-02.svg b/layout/reftests/svg/as-image/context-stroke-opacity-02.svg new file mode 100644 index 0000000000..d00c3a0e59 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-opacity-02.svg @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/svg/as-image/context-stroke-opacity-03.html b/layout/reftests/svg/as-image/context-stroke-opacity-03.html new file mode 100644 index 0000000000..cc0f5685a7 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-opacity-03.html @@ -0,0 +1,20 @@ + + + + Test context-stroke-opacity works with context-stroke + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-opacity-04.html b/layout/reftests/svg/as-image/context-stroke-opacity-04.html new file mode 100644 index 0000000000..cc329b463a --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-opacity-04.html @@ -0,0 +1,18 @@ + + + + No context-stroke-opacity value is provided + + + + + + diff --git a/layout/reftests/svg/as-image/context-stroke-opacity-05.html b/layout/reftests/svg/as-image/context-stroke-opacity-05.html new file mode 100644 index 0000000000..f31b42d062 --- /dev/null +++ b/layout/reftests/svg/as-image/context-stroke-opacity-05.html @@ -0,0 +1,19 @@ + + + + Test context-stroke-opacity when only '-moz-context-properties: fill-opacity' is specified + + + + + + diff --git a/layout/reftests/svg/as-image/defer-unsupported-1-helper.svg b/layout/reftests/svg/as-image/defer-unsupported-1-helper.svg new file mode 100644 index 0000000000..a2c4c7a558 --- /dev/null +++ b/layout/reftests/svg/as-image/defer-unsupported-1-helper.svg @@ -0,0 +1,5 @@ + + + + diff --git a/layout/reftests/svg/as-image/defer-unsupported-1-ref.svg b/layout/reftests/svg/as-image/defer-unsupported-1-ref.svg new file mode 100644 index 0000000000..2b49baf71e --- /dev/null +++ b/layout/reftests/svg/as-image/defer-unsupported-1-ref.svg @@ -0,0 +1,6 @@ + + + + + diff --git a/layout/reftests/svg/as-image/defer-unsupported-1.svg b/layout/reftests/svg/as-image/defer-unsupported-1.svg new file mode 100644 index 0000000000..4a9d84955e --- /dev/null +++ b/layout/reftests/svg/as-image/defer-unsupported-1.svg @@ -0,0 +1,7 @@ + + + + + diff --git a/layout/reftests/svg/as-image/display-none.svg b/layout/reftests/svg/as-image/display-none.svg new file mode 100644 index 0000000000..402d37b491 --- /dev/null +++ b/layout/reftests/svg/as-image/display-none.svg @@ -0,0 +1,8 @@ + + + + diff --git a/layout/reftests/svg/as-image/image-orientation-ref.html b/layout/reftests/svg/as-image/image-orientation-ref.html new file mode 100644 index 0000000000..518f899fda --- /dev/null +++ b/layout/reftests/svg/as-image/image-orientation-ref.html @@ -0,0 +1,33 @@ + + + + + +
+ + + + + + + + + +
+
+ diff --git a/layout/reftests/svg/as-image/image-orientation-viewbox-and-size.html b/layout/reftests/svg/as-image/image-orientation-viewbox-and-size.html new file mode 100644 index 0000000000..e531d70cf3 --- /dev/null +++ b/layout/reftests/svg/as-image/image-orientation-viewbox-and-size.html @@ -0,0 +1,19 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/image-orientation-viewbox-and-size.svg b/layout/reftests/svg/as-image/image-orientation-viewbox-and-size.svg new file mode 100644 index 0000000000..148b021e5c --- /dev/null +++ b/layout/reftests/svg/as-image/image-orientation-viewbox-and-size.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/image-orientation-viewbox-no-size.html b/layout/reftests/svg/as-image/image-orientation-viewbox-no-size.html new file mode 100644 index 0000000000..7875aeea22 --- /dev/null +++ b/layout/reftests/svg/as-image/image-orientation-viewbox-no-size.html @@ -0,0 +1,22 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/image-orientation-viewbox-no-size.svg b/layout/reftests/svg/as-image/image-orientation-viewbox-no-size.svg new file mode 100644 index 0000000000..5733488010 --- /dev/null +++ b/layout/reftests/svg/as-image/image-orientation-viewbox-no-size.svg @@ -0,0 +1,7 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/img-and-image-1-helper-a.svg b/layout/reftests/svg/as-image/img-and-image-1-helper-a.svg new file mode 100644 index 0000000000..254a873933 --- /dev/null +++ b/layout/reftests/svg/as-image/img-and-image-1-helper-a.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/layout/reftests/svg/as-image/img-and-image-1-helper-b.svg b/layout/reftests/svg/as-image/img-and-image-1-helper-b.svg new file mode 100644 index 0000000000..6aada7f0f7 --- /dev/null +++ b/layout/reftests/svg/as-image/img-and-image-1-helper-b.svg @@ -0,0 +1,7 @@ + + + diff --git a/layout/reftests/svg/as-image/img-and-image-1-helper-c.svg b/layout/reftests/svg/as-image/img-and-image-1-helper-c.svg new file mode 100644 index 0000000000..73fe0cb119 --- /dev/null +++ b/layout/reftests/svg/as-image/img-and-image-1-helper-c.svg @@ -0,0 +1,42 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/img-and-image-1-ref.svg b/layout/reftests/svg/as-image/img-and-image-1-ref.svg new file mode 100644 index 0000000000..07e977f0e5 --- /dev/null +++ b/layout/reftests/svg/as-image/img-and-image-1-ref.svg @@ -0,0 +1,43 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/img-and-image-1.html b/layout/reftests/svg/as-image/img-and-image-1.html new file mode 100644 index 0000000000..f60e4e2a62 --- /dev/null +++ b/layout/reftests/svg/as-image/img-and-image-1.html @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/img-blobURI-1.html b/layout/reftests/svg/as-image/img-blobURI-1.html new file mode 100644 index 0000000000..127689e78d --- /dev/null +++ b/layout/reftests/svg/as-image/img-blobURI-1.html @@ -0,0 +1,35 @@ + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/img-blobURI-2.html b/layout/reftests/svg/as-image/img-blobURI-2.html new file mode 100644 index 0000000000..073ec80620 --- /dev/null +++ b/layout/reftests/svg/as-image/img-blobURI-2.html @@ -0,0 +1,44 @@ + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/img-content-outside-viewBox-1-ref.html b/layout/reftests/svg/as-image/img-content-outside-viewBox-1-ref.html new file mode 100644 index 0000000000..abee91c514 --- /dev/null +++ b/layout/reftests/svg/as-image/img-content-outside-viewBox-1-ref.html @@ -0,0 +1,15 @@ + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/svg/as-image/img-content-outside-viewBox-1.html b/layout/reftests/svg/as-image/img-content-outside-viewBox-1.html new file mode 100644 index 0000000000..3aad7adfa3 --- /dev/null +++ b/layout/reftests/svg/as-image/img-content-outside-viewBox-1.html @@ -0,0 +1,14 @@ + + + + +
+ + + diff --git a/layout/reftests/svg/as-image/img-display-none-1.html b/layout/reftests/svg/as-image/img-display-none-1.html new file mode 100644 index 0000000000..2ce155c9bf --- /dev/null +++ b/layout/reftests/svg/as-image/img-display-none-1.html @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/layout/reftests/svg/as-image/img-dyn-1-ref.html b/layout/reftests/svg/as-image/img-dyn-1-ref.html new file mode 100644 index 0000000000..cb9f2635bd --- /dev/null +++ b/layout/reftests/svg/as-image/img-dyn-1-ref.html @@ -0,0 +1,7 @@ + + +
+ +
+ + diff --git a/layout/reftests/svg/as-image/img-dyn-1.html b/layout/reftests/svg/as-image/img-dyn-1.html new file mode 100644 index 0000000000..9be86ff57b --- /dev/null +++ b/layout/reftests/svg/as-image/img-dyn-1.html @@ -0,0 +1,18 @@ + + + + + + +
+ +
+ + diff --git a/layout/reftests/svg/as-image/img-foreignObject-1-helper.svg b/layout/reftests/svg/as-image/img-foreignObject-1-helper.svg new file mode 100644 index 0000000000..3b1b6a67b9 --- /dev/null +++ b/layout/reftests/svg/as-image/img-foreignObject-1-helper.svg @@ -0,0 +1,6 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/img-foreignObject-1.html b/layout/reftests/svg/as-image/img-foreignObject-1.html new file mode 100644 index 0000000000..de4671ad7e --- /dev/null +++ b/layout/reftests/svg/as-image/img-foreignObject-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg b/layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg new file mode 100644 index 0000000000..e7f93d241c --- /dev/null +++ b/layout/reftests/svg/as-image/img-foreignObject-embed-1-helper.svg @@ -0,0 +1,18 @@ + + + + +
+ + + + +
+
+
diff --git a/layout/reftests/svg/as-image/img-foreignObject-embed-1.html b/layout/reftests/svg/as-image/img-foreignObject-embed-1.html new file mode 100644 index 0000000000..25d5e3eeec --- /dev/null +++ b/layout/reftests/svg/as-image/img-foreignObject-embed-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg b/layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg new file mode 100644 index 0000000000..e60fa172ae --- /dev/null +++ b/layout/reftests/svg/as-image/img-foreignObject-iframe-1a-helper.svg @@ -0,0 +1,14 @@ + + + +
+ + + + + + diff --git a/layout/reftests/svg/as-image/svg-border-image-repaint-1.html b/layout/reftests/svg/as-image/svg-border-image-repaint-1.html new file mode 100644 index 0000000000..2f33345873 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-border-image-repaint-1.html @@ -0,0 +1,20 @@ + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-border-image-repaint-helper.svg b/layout/reftests/svg/as-image/svg-border-image-repaint-helper.svg new file mode 100644 index 0000000000..ccc7824465 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-border-image-repaint-helper.svg @@ -0,0 +1,9 @@ + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-border-image-repaint-iframe.html b/layout/reftests/svg/as-image/svg-border-image-repaint-iframe.html new file mode 100644 index 0000000000..f0281228ed --- /dev/null +++ b/layout/reftests/svg/as-image/svg-border-image-repaint-iframe.html @@ -0,0 +1,23 @@ + + + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/svg-image-datauri-1.html b/layout/reftests/svg/as-image/svg-image-datauri-1.html new file mode 100644 index 0000000000..3d7d171b55 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-datauri-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-datauri.svg b/layout/reftests/svg/as-image/svg-image-datauri.svg new file mode 100644 index 0000000000..114a772325 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-datauri.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-external-1.html b/layout/reftests/svg/as-image/svg-image-external-1.html new file mode 100644 index 0000000000..3a13e55164 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-external-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-external.svg b/layout/reftests/svg/as-image/svg-image-external.svg new file mode 100644 index 0000000000..721d4fe13c --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-external.svg @@ -0,0 +1,10 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-recursive-1-ref.svg b/layout/reftests/svg/as-image/svg-image-recursive-1-ref.svg new file mode 100644 index 0000000000..b884f4e5bb --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-recursive-1-ref.svg @@ -0,0 +1,6 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-recursive-1a.svg b/layout/reftests/svg/as-image/svg-image-recursive-1a.svg new file mode 100644 index 0000000000..2587877c6a --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-recursive-1a.svg @@ -0,0 +1,13 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-recursive-1b.svg b/layout/reftests/svg/as-image/svg-image-recursive-1b.svg new file mode 100644 index 0000000000..3e5c9befe9 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-recursive-1b.svg @@ -0,0 +1,15 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-recursive-2-ref.svg b/layout/reftests/svg/as-image/svg-image-recursive-2-ref.svg new file mode 100644 index 0000000000..e548c53f47 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-recursive-2-ref.svg @@ -0,0 +1,5 @@ + + + diff --git a/layout/reftests/svg/as-image/svg-image-recursive-2a.svg b/layout/reftests/svg/as-image/svg-image-recursive-2a.svg new file mode 100644 index 0000000000..651c29e85e --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-recursive-2a.svg @@ -0,0 +1,10 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-recursive-2b.html b/layout/reftests/svg/as-image/svg-image-recursive-2b.html new file mode 100644 index 0000000000..2e0708c1d9 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-recursive-2b.html @@ -0,0 +1,9 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-simple-1.svg b/layout/reftests/svg/as-image/svg-image-simple-1.svg new file mode 100644 index 0000000000..ad657ce2ab --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-simple-1.svg @@ -0,0 +1,6 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-simple-2.svg b/layout/reftests/svg/as-image/svg-image-simple-2.svg new file mode 100644 index 0000000000..34cc2277d5 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-simple-2.svg @@ -0,0 +1,7 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-simple-3.svg b/layout/reftests/svg/as-image/svg-image-simple-3.svg new file mode 100644 index 0000000000..31d064a0a8 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-simple-3.svg @@ -0,0 +1,7 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-1.svg b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-1.svg new file mode 100644 index 0000000000..9a185877a6 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-1.svg @@ -0,0 +1,4 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-2.svg b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-2.svg new file mode 100644 index 0000000000..83f49b787f --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-helper-2.svg @@ -0,0 +1,4 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-ref.svg b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-ref.svg new file mode 100644 index 0000000000..c93d68fc30 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01-ref.svg @@ -0,0 +1,4 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01.svg b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01.svg new file mode 100644 index 0000000000..449c61862e --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-synthetic-viewBox-01.svg @@ -0,0 +1,4 @@ + + + + diff --git a/layout/reftests/svg/as-image/svg-image-util.css b/layout/reftests/svg/as-image/svg-image-util.css new file mode 100644 index 0000000000..3d5a9338f6 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-util.css @@ -0,0 +1,3 @@ +body { margin: 0px; line-height: 10px; } +img { background: purple; vertical-align: top; } +embed { background: purple; vertical-align: top; } diff --git a/layout/reftests/svg/as-image/svg-image-util.js b/layout/reftests/svg/as-image/svg-image-util.js new file mode 100644 index 0000000000..ea84259238 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-util.js @@ -0,0 +1,173 @@ +/* -*- indent-tabs-mode: nil; js-indent-level: 2 -*- */ +/* This Source Code Form is subject to the terms of the Mozilla Public + * License, v. 2.0. If a copy of the MPL was not distributed with this + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + +// Standard values to use for / height & width, if requested. +var HOST_NODE_HEIGHT = "20"; +var HOST_NODE_WIDTH = "30"; + +// All the possible values of "align" +const ALIGN_VALS = ["none", + "xMinYMin", "xMinYMid", "xMinYMax", + "xMidYMin", "xMidYMid", "xMidYMax", + "xMaxYMin", "xMaxYMid", "xMaxYMax"]; + +// All the possible values of "meetOrSlice" +const MEETORSLICE_VALS = [ "meet", "slice" ]; + +/** + * Generates full data URI for an SVG document, with the given parameters + * on the SVG element. + * + * @param aViewboxArr An array of four numbers, representing the + * viewBox attribute, or null for no viewBox. + * @param aWidth The width attribute, or null for no width. + * @param aHeight The height attribute, or null for no height. + * @param aAlign The 'align' component of the + * preserveAspectRatio attribute, or null for none. + * @param aMeetOrSlice The 'meetOrSlice' component of the + * preserveAspectRatio attribute, or null for + * none. (If non-null, implies non-null value for + * aAlign.) + * @param aViewParams Parameters to use for the view element. + * @param aFragmentIdentifier The SVG fragment identifier. + */ +function generateSVGDataURI(aViewboxArr, aWidth, aHeight, + aAlign, aMeetOrSlice, + aViewParams, aFragmentIdentifier) { + // prefix + var datauri = "data:image/svg+xml," + // Begin the SVG tag + datauri += "%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20shape-rendering%3D%22crispEdges%22"; + + // Append the custom chunk from our params + // If we're working with views, the align customisation is applied there instead + datauri += generateSVGAttrsForParams(aViewboxArr, aWidth, aHeight, + aViewParams ? null : aAlign, + aMeetOrSlice); + + // Add 'font-size' just in case the client wants to use ems + datauri += "%20font-size%3D%22" + "10px" + "%22"; + + // Put closing right bracket on SVG tag + datauri += "%3E"; + + if (aViewParams) { + // Give the view the id of the fragment identifier + datauri += "%3Cview%20id%3D%22" + aFragmentIdentifier + "%22"; + + // Append the custom chunk from our view params + datauri += generateSVGAttrsForParams(aViewParams.viewBox, null, null, + aAlign, aViewParams.meetOrSlice); + + datauri += "%2F%3E"; + } + + // Add the rest of the SVG document + datauri += "%3Crect%20x%3D%221%22%20y%3D%221%22%20height%3D%2218%22%20width%3D%2218%22%20stroke-width%3D%222%22%20stroke%3D%22black%22%20fill%3D%22yellow%22%2F%3E%3Ccircle%20cx%3D%2210%22%20cy%3D%2210%22%20r%3D%228%22%20style%3D%22fill%3A%20blue%22%2F%3E%3C%2Fsvg%3E"; + + return datauri; +} + +// Generates just the chunk of a data URI that's relevant to +// the given params. +function generateSVGAttrsForParams(aViewboxArr, aWidth, aHeight, + aAlign, aMeetOrSlice) { + var str = ""; + if (aViewboxArr) { + str += "%20viewBox%3D%22"; + for (var i in aViewboxArr) { + str += aViewboxArr[i]; + if (i != aViewboxArr.length - 1) { + str += "%20"; + } + } + str += "%22"; + } + if (aWidth) { + str += "%20width%3D%22" + aWidth + "%22"; + } + if (aHeight) { + str += "%20height%3D%22" + aHeight + "%22"; + } + if (aAlign) { + str += "%20preserveAspectRatio%3D%22" + aAlign; + if (aMeetOrSlice) { + str += "%20" + aMeetOrSlice; + } + str += "%22"; + } + + return str; +} + +// Returns a newly-generated element with the given tagname, the given URI +// for its |src| attribute, and the given width & height values. +function generateHostNode(aHostNodeTagName, aUri, + aHostNodeWidth, aHostNodeHeight) { + var elem = document.createElement(aHostNodeTagName); + elem.setAttribute("src", aUri); + + if (aHostNodeWidth) { + elem.setAttribute("width", aHostNodeWidth); + } + if (aHostNodeHeight) { + elem.setAttribute("height", aHostNodeHeight); + } + + return elem; +} + +// THIS IS THE CHIEF HELPER FUNCTION TO BE CALLED BY CLIENTS +function appendSVGArrayWithParams(aSVGParams, aHostNodeTagName) { + // These are width & height vals that will be used for the *host node*. + // (i.e. the or node -- not the node) + var hostNodeWidthVals = [ null, HOST_NODE_WIDTH ]; + var hostNodeHeightVals = [ null, HOST_NODE_HEIGHT ]; + + for (var i = 0; i < hostNodeWidthVals.length; i++) { + var hostNodeWidth = hostNodeWidthVals[i]; + for (var j = 0; j < hostNodeHeightVals.length; j++) { + var hostNodeHeight = hostNodeHeightVals[j]; + appendSVGSubArrayWithParams(aSVGParams, aHostNodeTagName, + hostNodeWidth, hostNodeHeight); + } + } +} + +// Helper function for above, for a fixed [host-node-width][host-node-height] +function appendSVGSubArrayWithParams(aSVGParams, aHostNodeTagName, + aHostNodeWidth, aHostNodeHeight) { + var rootNode = document.getElementsByTagName("body")[0]; + for (var k = 0; k < ALIGN_VALS.length; k++) { + var alignVal = ALIGN_VALS[k]; + if (!aSVGParams.meetOrSlice) { + alignVal = "none"; + } + + // Generate the Data URI + var uri = generateSVGDataURI(aSVGParams.viewBox, + aSVGParams.width, aSVGParams.height, + alignVal, + aSVGParams.meetOrSlice, + aSVGParams.view, + aSVGParams.fragmentIdentifier); + + if (aSVGParams.fragmentIdentifier) { + uri += "#" + aSVGParams.fragmentIdentifier; + } + + // Generate & append the host node element + var hostNode = generateHostNode(aHostNodeTagName, uri, + aHostNodeWidth, aHostNodeHeight); + rootNode.appendChild(hostNode); + + // Cosmetic: Add a newline when we get halfway through the ALIGN_VALS + // and then again when we reach the end + if (k + 1 == ALIGN_VALS.length / 2 || + k + 1 == ALIGN_VALS.length) { + rootNode.appendChild(document.createElement("br")); + } + } +} diff --git a/layout/reftests/svg/as-image/svg-image-visited-1-ref.html b/layout/reftests/svg/as-image/svg-image-visited-1-ref.html new file mode 100644 index 0000000000..7539a7ec98 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1-ref.html @@ -0,0 +1,24 @@ + + + + + Reference for bug 641731 + + + +
+
+ + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1a-helper.svg b/layout/reftests/svg/as-image/svg-image-visited-1a-helper.svg new file mode 100644 index 0000000000..9843e85f59 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1a-helper.svg @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1a.html b/layout/reftests/svg/as-image/svg-image-visited-1a.html new file mode 100644 index 0000000000..53aff74c9b --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1a.html @@ -0,0 +1,23 @@ + + + + + Test for bug 641731 + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1b-helper.svg b/layout/reftests/svg/as-image/svg-image-visited-1b-helper.svg new file mode 100644 index 0000000000..2a47f02d58 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1b-helper.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1b.html b/layout/reftests/svg/as-image/svg-image-visited-1b.html new file mode 100644 index 0000000000..05227cc85d --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1b.html @@ -0,0 +1,23 @@ + + + + + Test for bug 641731 + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1c-helper.svg b/layout/reftests/svg/as-image/svg-image-visited-1c-helper.svg new file mode 100644 index 0000000000..ca688a2b55 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1c-helper.svg @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1c.html b/layout/reftests/svg/as-image/svg-image-visited-1c.html new file mode 100644 index 0000000000..f016d5cebe --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1c.html @@ -0,0 +1,23 @@ + + + + + Test for bug 641731 + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1d-helper.svg b/layout/reftests/svg/as-image/svg-image-visited-1d-helper.svg new file mode 100644 index 0000000000..cc62c3a27c --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1d-helper.svg @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-image-visited-1d.html b/layout/reftests/svg/as-image/svg-image-visited-1d.html new file mode 100644 index 0000000000..39005b39d3 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-image-visited-1d.html @@ -0,0 +1,23 @@ + + + + + Test for bug 641731 + + + + + + + + + diff --git a/layout/reftests/svg/as-image/svg-stylesheet-datauri-1.html b/layout/reftests/svg/as-image/svg-stylesheet-datauri-1.html new file mode 100644 index 0000000000..9b99258f00 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-stylesheet-datauri-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-stylesheet-datauri.svg b/layout/reftests/svg/as-image/svg-stylesheet-datauri.svg new file mode 100644 index 0000000000..003e150179 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-stylesheet-datauri.svg @@ -0,0 +1,8 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-stylesheet-external-1.html b/layout/reftests/svg/as-image/svg-stylesheet-external-1.html new file mode 100644 index 0000000000..c6815579b9 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-stylesheet-external-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/svg-stylesheet-external.css b/layout/reftests/svg/as-image/svg-stylesheet-external.css new file mode 100644 index 0000000000..70025dd20a --- /dev/null +++ b/layout/reftests/svg/as-image/svg-stylesheet-external.css @@ -0,0 +1 @@ +rect { fill: lime } diff --git a/layout/reftests/svg/as-image/svg-stylesheet-external.svg b/layout/reftests/svg/as-image/svg-stylesheet-external.svg new file mode 100644 index 0000000000..2b288e4268 --- /dev/null +++ b/layout/reftests/svg/as-image/svg-stylesheet-external.svg @@ -0,0 +1,9 @@ + + + + + diff --git a/layout/reftests/svg/as-image/transparent100x100-w-border-ref.html b/layout/reftests/svg/as-image/transparent100x100-w-border-ref.html new file mode 100644 index 0000000000..f0727820c9 --- /dev/null +++ b/layout/reftests/svg/as-image/transparent100x100-w-border-ref.html @@ -0,0 +1,5 @@ + + +
+ + diff --git a/layout/reftests/svg/as-image/white-rect-no-viewbox.svg b/layout/reftests/svg/as-image/white-rect-no-viewbox.svg new file mode 100644 index 0000000000..76a7efd3dc --- /dev/null +++ b/layout/reftests/svg/as-image/white-rect-no-viewbox.svg @@ -0,0 +1,8 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/white-rect-with-viewbox.svg b/layout/reftests/svg/as-image/white-rect-with-viewbox.svg new file mode 100644 index 0000000000..6bb59d19a4 --- /dev/null +++ b/layout/reftests/svg/as-image/white-rect-with-viewbox.svg @@ -0,0 +1,11 @@ + + + + + + diff --git a/layout/reftests/svg/as-image/zoom/circle-large.svg b/layout/reftests/svg/as-image/zoom/circle-large.svg new file mode 100644 index 0000000000..a097f3c666 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/circle-large.svg @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/svg/as-image/zoom/circle-small.svg b/layout/reftests/svg/as-image/zoom/circle-small.svg new file mode 100644 index 0000000000..b0cba24a65 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/circle-small.svg @@ -0,0 +1,3 @@ + + + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomIn-1.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomIn-1.html new file mode 100644 index 0000000000..b4eadba92e --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomIn-1.html @@ -0,0 +1,29 @@ + + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomOut-1.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomOut-1.html new file mode 100644 index 0000000000..db0e6c06b9 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-transform-zoomOut-1.html @@ -0,0 +1,29 @@ + + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html new file mode 100644 index 0000000000..81e6011e62 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1-ref.html @@ -0,0 +1,27 @@ + + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1.html new file mode 100644 index 0000000000..de39990b95 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomIn-1.html @@ -0,0 +1,27 @@ + + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html new file mode 100644 index 0000000000..48f2d05ff7 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1-ref.html @@ -0,0 +1,27 @@ + + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1.html b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1.html new file mode 100644 index 0000000000..75cd1d61af --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-fuzzy-zoomOut-1.html @@ -0,0 +1,27 @@ + + + + + + + +
+ + diff --git a/layout/reftests/svg/as-image/zoom/img-zoomIn-1.html b/layout/reftests/svg/as-image/zoom/img-zoomIn-1.html new file mode 100644 index 0000000000..cc31a933ed --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-zoomIn-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/zoom/img-zoomOut-1.html b/layout/reftests/svg/as-image/zoom/img-zoomOut-1.html new file mode 100644 index 0000000000..5133acb8b4 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/img-zoomOut-1.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/zoom/reftest.list b/layout/reftests/svg/as-image/zoom/reftest.list new file mode 100644 index 0000000000..13df22ead6 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/reftest.list @@ -0,0 +1,11 @@ +# Tests related to SVG being used as an image, with zooming + +# Simple tests +fuzzy(0-1,0-408) == img-zoomIn-1.html squaredCircle-150x150-ref.html +fuzzy(0-1,0-74) == img-zoomOut-1.html squaredCircle-50x50-ref.html + +# Ensure that scaled SVG images aren't fuzzy when tiled. +fails-if(useDrawSnapshot) == img-fuzzy-zoomOut-1.html img-fuzzy-zoomOut-1-ref.html +fails-if(useDrawSnapshot) == img-fuzzy-zoomIn-1.html img-fuzzy-zoomIn-1-ref.html +== img-fuzzy-transform-zoomOut-1.html img-fuzzy-zoomOut-1-ref.html +== img-fuzzy-transform-zoomIn-1.html img-fuzzy-zoomIn-1-ref.html diff --git a/layout/reftests/svg/as-image/zoom/squaredCircle-150x150-ref.html b/layout/reftests/svg/as-image/zoom/squaredCircle-150x150-ref.html new file mode 100644 index 0000000000..7f3b524e8e --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/squaredCircle-150x150-ref.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/zoom/squaredCircle-50x50-ref.html b/layout/reftests/svg/as-image/zoom/squaredCircle-50x50-ref.html new file mode 100644 index 0000000000..41686f5bc1 --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/squaredCircle-50x50-ref.html @@ -0,0 +1,5 @@ + + + + + diff --git a/layout/reftests/svg/as-image/zoom/squaredCircle.svg b/layout/reftests/svg/as-image/zoom/squaredCircle.svg new file mode 100644 index 0000000000..266c9e776c --- /dev/null +++ b/layout/reftests/svg/as-image/zoom/squaredCircle.svg @@ -0,0 +1,6 @@ + + + + -- cgit v1.2.3