From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- layout/reftests/border-image/10x5multicolor.png | Bin 0 -> 190 bytes layout/reftests/border-image/3x3green-1DD813.png | Bin 0 -> 89 bytes layout/reftests/border-image/3x3multicolor.png | Bin 0 -> 96 bytes layout/reftests/border-image/3x3transparent.png | Bin 0 -> 69 bytes layout/reftests/border-image/470250-1-ref.html | 6 + layout/reftests/border-image/470250-1.html | 15 + layout/reftests/border-image/470250-2-ref.html | 6 + layout/reftests/border-image/470250-2.html | 28 ++ layout/reftests/border-image/4x4multicolor.png | Bin 0 -> 104 bytes .../border-image/border-image-element-ref.html | 26 ++ .../border-image/border-image-element.html | 26 ++ .../border-image-linear-gradient-outset-ref.html | 72 ++++ .../border-image-linear-gradient-outset.html | 33 ++ .../border-image-linear-gradient-ref.html | 32 ++ ...-image-linear-gradient-repeat-repeat-1-ref.html | 72 ++++ ...rder-image-linear-gradient-repeat-repeat-1.html | 30 ++ ...-image-linear-gradient-repeat-repeat-2-ref.html | 116 +++++ ...rder-image-linear-gradient-repeat-repeat-2.html | 32 ++ ...-image-linear-gradient-repeat-repeat-3-ref.html | 168 ++++++++ ...rder-image-linear-gradient-repeat-repeat-3.html | 31 ++ ...r-image-linear-gradient-repeat-round-1-ref.html | 72 ++++ ...order-image-linear-gradient-repeat-round-1.html | 30 ++ ...r-image-linear-gradient-repeat-round-2-ref.html | 116 +++++ ...order-image-linear-gradient-repeat-round-2.html | 32 ++ ...r-image-linear-gradient-repeat-round-3-ref.html | 144 +++++++ ...order-image-linear-gradient-repeat-round-3.html | 31 ++ .../border-image-linear-gradient-slice-1-ref.html | 72 ++++ .../border-image-linear-gradient-slice-1.html | 28 ++ .../border-image-linear-gradient-slice-2-ref.html | 52 +++ .../border-image-linear-gradient-slice-2.html | 24 ++ ...der-image-linear-gradient-slice-fill-1-ref.html | 72 ++++ .../border-image-linear-gradient-slice-fill-1.html | 28 ++ ...der-image-linear-gradient-slice-fill-2-ref.html | 52 +++ .../border-image-linear-gradient-slice-fill-2.html | 24 ++ ...rder-image-linear-gradient-slice-width-ref.html | 72 ++++ .../border-image-linear-gradient-slice-width.html | 29 ++ .../border-image-linear-gradient-width-ref.html | 32 ++ .../border-image-linear-gradient-width.html | 18 + .../border-image/border-image-linear-gradient.html | 17 + .../border-image/border-image-nofill-1-ref.html | 37 ++ .../border-image/border-image-nofill-1.html | 20 + .../border-image/border-image-outset-1-ref.html | 15 + .../border-image/border-image-outset-1a.html | 21 + .../border-image/border-image-outset-1b.html | 22 + .../border-image/border-image-outset-1c.html | 21 + .../border-image-outset-move-1-ref.html | 15 + .../border-image/border-image-outset-move-1.html | 30 ++ .../border-image-outset-resize-1-ref.html | 15 + .../border-image/border-image-outset-resize-1.html | 30 ++ .../border-image-radial-gradient-ref.html | 32 ++ .../border-image-radial-gradient-slice-1-ref.html | 72 ++++ .../border-image-radial-gradient-slice-1.html | 28 ++ .../border-image-radial-gradient-slice-2-ref.html | 52 +++ .../border-image-radial-gradient-slice-2.html | 24 ++ ...der-image-radial-gradient-slice-fill-1-ref.html | 72 ++++ .../border-image-radial-gradient-slice-fill-1.html | 28 ++ ...der-image-radial-gradient-slice-fill-2-ref.html | 52 +++ .../border-image-radial-gradient-slice-fill-2.html | 24 ++ ...rder-image-radial-gradient-slice-width-ref.html | 72 ++++ .../border-image-radial-gradient-slice-width.html | 29 ++ .../border-image-radial-gradient-width-ref.html | 32 ++ .../border-image-radial-gradient-width.html | 18 + .../border-image/border-image-radial-gradient.html | 17 + .../border-image-repeat-space-8z-ref.html | 22 + .../border-image/border-image-repeat-space-8z.html | 27 ++ ...border-image-repeating-linear-gradient-ref.html | 32 ++ ...peating-linear-gradient-repeat-round-2-ref.html | 116 +++++ ...e-repeating-linear-gradient-repeat-round-2.html | 32 ++ ...repeating-linear-gradient-slice-fill-2-ref.html | 52 +++ ...age-repeating-linear-gradient-slice-fill-2.html | 24 ++ .../border-image-repeating-linear-gradient.html | 17 + ...border-image-repeating-radial-gradient-ref.html | 32 ++ ...eating-radial-gradient-repeat-repeat-2-ref.html | 116 +++++ ...-repeating-radial-gradient-repeat-repeat-2.html | 32 ++ ...peating-radial-gradient-repeat-round-2-ref.html | 116 +++++ ...e-repeating-radial-gradient-repeat-round-2.html | 32 ++ ...mage-repeating-radial-gradient-slice-1-ref.html | 72 ++++ ...er-image-repeating-radial-gradient-slice-1.html | 28 ++ ...mage-repeating-radial-gradient-slice-2-ref.html | 52 +++ ...er-image-repeating-radial-gradient-slice-2.html | 24 ++ ...repeating-radial-gradient-slice-fill-1-ref.html | 72 ++++ ...age-repeating-radial-gradient-slice-fill-1.html | 28 ++ ...repeating-radial-gradient-slice-fill-2-ref.html | 52 +++ ...age-repeating-radial-gradient-slice-fill-2.html | 24 ++ ...-repeating-radial-gradient-slice-width-ref.html | 72 ++++ ...mage-repeating-radial-gradient-slice-width.html | 29 ++ ...-image-repeating-radial-gradient-width-ref.html | 32 ++ ...rder-image-repeating-radial-gradient-width.html | 18 + .../border-image-repeating-radial-gradient.html | 17 + .../border-image-style-none-auto-ref.html | 38 ++ .../border-image/border-image-style-none-auto.html | 21 + .../border-image-style-none-length-ref.html | 37 ++ .../border-image-style-none-length.html | 21 + .../border-image/border-image-style-none-ref.html | 32 ++ .../border-image/border-image-style-none.html | 21 + .../border-image/border-image-width-1-ref.html | 15 + .../border-image/border-image-width-1a.html | 20 + .../border-image/border-image-width-1b.html | 20 + .../border-image/border-image-width-1c.html | 21 + .../border-image/border-image-width-large-ref.html | 24 ++ .../border-image/border-image-width-large.html | 18 + layout/reftests/border-image/border.png | Bin 0 -> 849 bytes .../border-image/center-scaling-1-ref.html | 64 +++ layout/reftests/border-image/center-scaling-1.html | 11 + .../border-image/center-scaling-2-ref.html | 44 ++ layout/reftests/border-image/center-scaling-2.html | 11 + .../border-image/center-scaling-3-ref.html | 40 ++ layout/reftests/border-image/center-scaling-3.html | 11 + .../border-image/center-scaling-4b-ref.html | 54 +++ .../reftests/border-image/center-scaling-4b.html | 11 + .../border-image/center-scaling-4l-ref.html | 58 +++ .../reftests/border-image/center-scaling-4l.html | 11 + .../border-image/center-scaling-4lr-ref.html | 52 +++ .../reftests/border-image/center-scaling-4lr.html | 11 + .../border-image/center-scaling-4r-ref.html | 58 +++ .../reftests/border-image/center-scaling-4r.html | 11 + .../border-image/center-scaling-4t-ref.html | 54 +++ .../reftests/border-image/center-scaling-4t.html | 11 + .../border-image/center-scaling-4tb-ref.html | 44 ++ .../reftests/border-image/center-scaling-4tb.html | 11 + layout/reftests/border-image/diamonds.png | Bin 0 -> 554 bytes layout/reftests/border-image/different-h-v-1.html | 15 + layout/reftests/border-image/different-h-v-2.html | 15 + .../reftests/border-image/different-h-v-ref.html | 14 + layout/reftests/border-image/gen-refs.py | 473 +++++++++++++++++++++ .../border-image/multicolor-image-1-ref.html | 37 ++ .../reftests/border-image/multicolor-image-1.html | 24 ++ .../border-image/multicolor-image-2-ref.html | 165 +++++++ .../reftests/border-image/multicolor-image-2.html | 96 +++++ .../border-image/multicolor-image-3-ref.html | 63 +++ .../reftests/border-image/multicolor-image-3.html | 63 +++ .../border-image/multicolor-image-4-ref.html | 167 ++++++++ .../reftests/border-image/multicolor-image-4.html | 113 +++++ .../border-image/multicolor-image-5-ref.html | 167 ++++++++ .../reftests/border-image/multicolor-image-5.html | 114 +++++ layout/reftests/border-image/reftest.list | 97 +++++ .../reftests/border-image/repeat-image-1-ref.html | 57 +++ layout/reftests/border-image/repeat-image-1.html | 35 ++ layout/reftests/border-image/reticule-bl.png | Bin 0 -> 123 bytes layout/reftests/border-image/reticule-bo.png | Bin 0 -> 134 bytes layout/reftests/border-image/reticule-br.png | Bin 0 -> 121 bytes layout/reftests/border-image/reticule-ct.png | Bin 0 -> 127 bytes layout/reftests/border-image/reticule-le.png | Bin 0 -> 128 bytes layout/reftests/border-image/reticule-ri.png | Bin 0 -> 130 bytes layout/reftests/border-image/reticule-tl.png | Bin 0 -> 125 bytes layout/reftests/border-image/reticule-to.png | Bin 0 -> 128 bytes layout/reftests/border-image/reticule-tr.png | Bin 0 -> 126 bytes layout/reftests/border-image/reticule.png | Bin 0 -> 202 bytes layout/reftests/border-image/roundrectbutton.png | Bin 0 -> 188 bytes .../reftests/border-image/side-scaling-1h-ref.html | 28 ++ layout/reftests/border-image/side-scaling-1h.html | 28 ++ .../reftests/border-image/side-scaling-1v-ref.html | 28 ++ layout/reftests/border-image/side-scaling-1v.html | 28 ++ .../reftests/border-image/solid-image-1-ref.html | 11 + layout/reftests/border-image/solid-image-1.html | 20 + layout/reftests/border-image/solid-image-1a.html | 19 + .../reftests/border-image/solid-image-2-ref.html | 38 ++ layout/reftests/border-image/solid-image-2.html | 42 ++ layout/reftests/border-image/solid-image-2a.html | 42 ++ .../border-image/svg-as-border-image-1-ref.html | 19 + .../border-image/svg-as-border-image-1a.html | 18 + .../border-image/svg-as-border-image-1b.html | 18 + .../border-image/svg-as-border-image-1c.html | 18 + .../border-image/svg-as-border-image-2-ref.html | 18 + .../border-image/svg-as-border-image-2.html | 18 + .../border-image/svg-as-border-image-3-ref.html | 18 + .../border-image/svg-as-border-image-3.html | 18 + .../border-image/svg-as-border-image-4-ref.html | 24 ++ .../border-image/svg-as-border-image-4a.html | 33 ++ .../border-image/svg-as-border-image-4b.html | 25 ++ .../border-image/transparent-image-1-ref.html | 11 + .../reftests/border-image/transparent-image-1.html | 19 + 172 files changed, 6697 insertions(+) create mode 100644 layout/reftests/border-image/10x5multicolor.png create mode 100644 layout/reftests/border-image/3x3green-1DD813.png create mode 100644 layout/reftests/border-image/3x3multicolor.png create mode 100644 layout/reftests/border-image/3x3transparent.png create mode 100644 layout/reftests/border-image/470250-1-ref.html create mode 100644 layout/reftests/border-image/470250-1.html create mode 100644 layout/reftests/border-image/470250-2-ref.html create mode 100644 layout/reftests/border-image/470250-2.html create mode 100644 layout/reftests/border-image/4x4multicolor.png create mode 100644 layout/reftests/border-image/border-image-element-ref.html create mode 100644 layout/reftests/border-image/border-image-element.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-outset-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-outset.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-round-1-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-round-1.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-round-2-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-round-2.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-round-3-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-repeat-round-3.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-1-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-1.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-2-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-2.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-fill-1-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-fill-1.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-fill-2-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-fill-2.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-width-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-slice-width.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-width-ref.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient-width.html create mode 100644 layout/reftests/border-image/border-image-linear-gradient.html create mode 100644 layout/reftests/border-image/border-image-nofill-1-ref.html create mode 100644 layout/reftests/border-image/border-image-nofill-1.html create mode 100644 layout/reftests/border-image/border-image-outset-1-ref.html create mode 100644 layout/reftests/border-image/border-image-outset-1a.html create mode 100644 layout/reftests/border-image/border-image-outset-1b.html create mode 100644 layout/reftests/border-image/border-image-outset-1c.html create mode 100644 layout/reftests/border-image/border-image-outset-move-1-ref.html create mode 100644 layout/reftests/border-image/border-image-outset-move-1.html create mode 100644 layout/reftests/border-image/border-image-outset-resize-1-ref.html create mode 100644 layout/reftests/border-image/border-image-outset-resize-1.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-ref.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-1-ref.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-1.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-2-ref.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-2.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-fill-1-ref.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-fill-1.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-fill-2-ref.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-fill-2.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-width-ref.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-slice-width.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-width-ref.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient-width.html create mode 100644 layout/reftests/border-image/border-image-radial-gradient.html create mode 100644 layout/reftests/border-image/border-image-repeat-space-8z-ref.html create mode 100644 layout/reftests/border-image/border-image-repeat-space-8z.html create mode 100644 layout/reftests/border-image/border-image-repeating-linear-gradient-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2.html create mode 100644 layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2.html create mode 100644 layout/reftests/border-image/border-image-repeating-linear-gradient.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-width-ref.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient-width.html create mode 100644 layout/reftests/border-image/border-image-repeating-radial-gradient.html create mode 100644 layout/reftests/border-image/border-image-style-none-auto-ref.html create mode 100644 layout/reftests/border-image/border-image-style-none-auto.html create mode 100644 layout/reftests/border-image/border-image-style-none-length-ref.html create mode 100644 layout/reftests/border-image/border-image-style-none-length.html create mode 100644 layout/reftests/border-image/border-image-style-none-ref.html create mode 100644 layout/reftests/border-image/border-image-style-none.html create mode 100644 layout/reftests/border-image/border-image-width-1-ref.html create mode 100644 layout/reftests/border-image/border-image-width-1a.html create mode 100644 layout/reftests/border-image/border-image-width-1b.html create mode 100644 layout/reftests/border-image/border-image-width-1c.html create mode 100644 layout/reftests/border-image/border-image-width-large-ref.html create mode 100644 layout/reftests/border-image/border-image-width-large.html create mode 100644 layout/reftests/border-image/border.png create mode 100644 layout/reftests/border-image/center-scaling-1-ref.html create mode 100644 layout/reftests/border-image/center-scaling-1.html create mode 100644 layout/reftests/border-image/center-scaling-2-ref.html create mode 100644 layout/reftests/border-image/center-scaling-2.html create mode 100644 layout/reftests/border-image/center-scaling-3-ref.html create mode 100644 layout/reftests/border-image/center-scaling-3.html create mode 100644 layout/reftests/border-image/center-scaling-4b-ref.html create mode 100644 layout/reftests/border-image/center-scaling-4b.html create mode 100644 layout/reftests/border-image/center-scaling-4l-ref.html create mode 100644 layout/reftests/border-image/center-scaling-4l.html create mode 100644 layout/reftests/border-image/center-scaling-4lr-ref.html create mode 100644 layout/reftests/border-image/center-scaling-4lr.html create mode 100644 layout/reftests/border-image/center-scaling-4r-ref.html create mode 100644 layout/reftests/border-image/center-scaling-4r.html create mode 100644 layout/reftests/border-image/center-scaling-4t-ref.html create mode 100644 layout/reftests/border-image/center-scaling-4t.html create mode 100644 layout/reftests/border-image/center-scaling-4tb-ref.html create mode 100644 layout/reftests/border-image/center-scaling-4tb.html create mode 100644 layout/reftests/border-image/diamonds.png create mode 100644 layout/reftests/border-image/different-h-v-1.html create mode 100644 layout/reftests/border-image/different-h-v-2.html create mode 100644 layout/reftests/border-image/different-h-v-ref.html create mode 100644 layout/reftests/border-image/gen-refs.py create mode 100644 layout/reftests/border-image/multicolor-image-1-ref.html create mode 100644 layout/reftests/border-image/multicolor-image-1.html create mode 100644 layout/reftests/border-image/multicolor-image-2-ref.html create mode 100644 layout/reftests/border-image/multicolor-image-2.html create mode 100644 layout/reftests/border-image/multicolor-image-3-ref.html create mode 100644 layout/reftests/border-image/multicolor-image-3.html create mode 100644 layout/reftests/border-image/multicolor-image-4-ref.html create mode 100644 layout/reftests/border-image/multicolor-image-4.html create mode 100644 layout/reftests/border-image/multicolor-image-5-ref.html create mode 100644 layout/reftests/border-image/multicolor-image-5.html create mode 100644 layout/reftests/border-image/reftest.list create mode 100644 layout/reftests/border-image/repeat-image-1-ref.html create mode 100644 layout/reftests/border-image/repeat-image-1.html create mode 100644 layout/reftests/border-image/reticule-bl.png create mode 100644 layout/reftests/border-image/reticule-bo.png create mode 100644 layout/reftests/border-image/reticule-br.png create mode 100644 layout/reftests/border-image/reticule-ct.png create mode 100644 layout/reftests/border-image/reticule-le.png create mode 100644 layout/reftests/border-image/reticule-ri.png create mode 100644 layout/reftests/border-image/reticule-tl.png create mode 100644 layout/reftests/border-image/reticule-to.png create mode 100644 layout/reftests/border-image/reticule-tr.png create mode 100644 layout/reftests/border-image/reticule.png create mode 100644 layout/reftests/border-image/roundrectbutton.png create mode 100644 layout/reftests/border-image/side-scaling-1h-ref.html create mode 100644 layout/reftests/border-image/side-scaling-1h.html create mode 100644 layout/reftests/border-image/side-scaling-1v-ref.html create mode 100644 layout/reftests/border-image/side-scaling-1v.html create mode 100644 layout/reftests/border-image/solid-image-1-ref.html create mode 100644 layout/reftests/border-image/solid-image-1.html create mode 100644 layout/reftests/border-image/solid-image-1a.html create mode 100644 layout/reftests/border-image/solid-image-2-ref.html create mode 100644 layout/reftests/border-image/solid-image-2.html create mode 100644 layout/reftests/border-image/solid-image-2a.html create mode 100644 layout/reftests/border-image/svg-as-border-image-1-ref.html create mode 100644 layout/reftests/border-image/svg-as-border-image-1a.html create mode 100644 layout/reftests/border-image/svg-as-border-image-1b.html create mode 100644 layout/reftests/border-image/svg-as-border-image-1c.html create mode 100644 layout/reftests/border-image/svg-as-border-image-2-ref.html create mode 100644 layout/reftests/border-image/svg-as-border-image-2.html create mode 100644 layout/reftests/border-image/svg-as-border-image-3-ref.html create mode 100644 layout/reftests/border-image/svg-as-border-image-3.html create mode 100644 layout/reftests/border-image/svg-as-border-image-4-ref.html create mode 100644 layout/reftests/border-image/svg-as-border-image-4a.html create mode 100644 layout/reftests/border-image/svg-as-border-image-4b.html create mode 100644 layout/reftests/border-image/transparent-image-1-ref.html create mode 100644 layout/reftests/border-image/transparent-image-1.html (limited to 'layout/reftests/border-image') diff --git a/layout/reftests/border-image/10x5multicolor.png b/layout/reftests/border-image/10x5multicolor.png new file mode 100644 index 0000000000..7940d1abc7 Binary files /dev/null and b/layout/reftests/border-image/10x5multicolor.png differ diff --git a/layout/reftests/border-image/3x3green-1DD813.png b/layout/reftests/border-image/3x3green-1DD813.png new file mode 100644 index 0000000000..bb7a3cf21f Binary files /dev/null and b/layout/reftests/border-image/3x3green-1DD813.png differ diff --git a/layout/reftests/border-image/3x3multicolor.png b/layout/reftests/border-image/3x3multicolor.png new file mode 100644 index 0000000000..586102670a Binary files /dev/null and b/layout/reftests/border-image/3x3multicolor.png differ diff --git a/layout/reftests/border-image/3x3transparent.png b/layout/reftests/border-image/3x3transparent.png new file mode 100644 index 0000000000..6528a9f036 Binary files /dev/null and b/layout/reftests/border-image/3x3transparent.png differ diff --git a/layout/reftests/border-image/470250-1-ref.html b/layout/reftests/border-image/470250-1-ref.html new file mode 100644 index 0000000000..bf1cffcb0d --- /dev/null +++ b/layout/reftests/border-image/470250-1-ref.html @@ -0,0 +1,6 @@ + + +border-image, only middle part, reference + + + diff --git a/layout/reftests/border-image/470250-1.html b/layout/reftests/border-image/470250-1.html new file mode 100644 index 0000000000..32c2eb0431 --- /dev/null +++ b/layout/reftests/border-image/470250-1.html @@ -0,0 +1,15 @@ + + +border-image, only middle part, testcase + + +
+ diff --git a/layout/reftests/border-image/470250-2-ref.html b/layout/reftests/border-image/470250-2-ref.html new file mode 100644 index 0000000000..df01ba3366 --- /dev/null +++ b/layout/reftests/border-image/470250-2-ref.html @@ -0,0 +1,6 @@ + + +border-image, only middle part, table cell, reference + + + diff --git a/layout/reftests/border-image/470250-2.html b/layout/reftests/border-image/470250-2.html new file mode 100644 index 0000000000..962caff73f --- /dev/null +++ b/layout/reftests/border-image/470250-2.html @@ -0,0 +1,28 @@ + + +border-image, only middle part, table cell, testcase + + + + +
+ + diff --git a/layout/reftests/border-image/4x4multicolor.png b/layout/reftests/border-image/4x4multicolor.png new file mode 100644 index 0000000000..4b817a1264 Binary files /dev/null and b/layout/reftests/border-image/4x4multicolor.png differ diff --git a/layout/reftests/border-image/border-image-element-ref.html b/layout/reftests/border-image/border-image-element-ref.html new file mode 100644 index 0000000000..865d706d1e --- /dev/null +++ b/layout/reftests/border-image/border-image-element-ref.html @@ -0,0 +1,26 @@ + + + +test of border-image-source: element + + + +

+

+ + + diff --git a/layout/reftests/border-image/border-image-element.html b/layout/reftests/border-image/border-image-element.html new file mode 100644 index 0000000000..c9c0429700 --- /dev/null +++ b/layout/reftests/border-image/border-image-element.html @@ -0,0 +1,26 @@ + + + +test of border-image-source: element + + + +

+

+ + + diff --git a/layout/reftests/border-image/border-image-linear-gradient-outset-ref.html b/layout/reftests/border-image/border-image-linear-gradient-outset-ref.html new file mode 100644 index 0000000000..8156698c1c --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-outset-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: linear-gradient with border-image-outset + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-outset.html b/layout/reftests/border-image/border-image-linear-gradient-outset.html new file mode 100644 index 0000000000..b21379f4e6 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-outset.html @@ -0,0 +1,33 @@ + + + +test of border-image-source: linear-gradient with border-image-outset + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-ref.html b/layout/reftests/border-image/border-image-linear-gradient-ref.html new file mode 100644 index 0000000000..cfe4252bd4 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-ref.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1-ref.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1-ref.html new file mode 100644 index 0000000000..905d757e73 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ ++++ + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1.html new file mode 100644 index 0000000000..339a1fd3bf --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-1.html @@ -0,0 +1,30 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2-ref.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2-ref.html new file mode 100644 index 0000000000..e9fd188268 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2-ref.html @@ -0,0 +1,116 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++ + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2.html new file mode 100644 index 0000000000..ee57589671 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-2.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3-ref.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3-ref.html new file mode 100644 index 0000000000..8c9b7af812 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3-ref.html @@ -0,0 +1,168 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3.html new file mode 100644 index 0000000000..d40b746420 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-repeat-3.html @@ -0,0 +1,31 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-round-1-ref.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-1-ref.html new file mode 100644 index 0000000000..64075ff2a7 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-round-1.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-1.html new file mode 100644 index 0000000000..a170eae792 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-1.html @@ -0,0 +1,30 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-round-2-ref.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-2-ref.html new file mode 100644 index 0000000000..b4eb129e0a --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-2-ref.html @@ -0,0 +1,116 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++ + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-round-2.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-2.html new file mode 100644 index 0000000000..562c3db211 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-2.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-round-3-ref.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-3-ref.html new file mode 100644 index 0000000000..021e31026c --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-3-ref.html @@ -0,0 +1,144 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + + +++++ + + + + + + + + + + + + + + + + + + + + + + + +
+ +++++ + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-repeat-round-3.html b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-3.html new file mode 100644 index 0000000000..925b34f095 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-repeat-round-3.html @@ -0,0 +1,31 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-1-ref.html b/layout/reftests/border-image/border-image-linear-gradient-slice-1-ref.html new file mode 100644 index 0000000000..a87e62a30d --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-1.html b/layout/reftests/border-image/border-image-linear-gradient-slice-1.html new file mode 100644 index 0000000000..8940ea057e --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-1.html @@ -0,0 +1,28 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-2-ref.html b/layout/reftests/border-image/border-image-linear-gradient-slice-2-ref.html new file mode 100644 index 0000000000..de7874d17f --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-2-ref.html @@ -0,0 +1,52 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-2.html b/layout/reftests/border-image/border-image-linear-gradient-slice-2.html new file mode 100644 index 0000000000..601e0e3247 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-2.html @@ -0,0 +1,24 @@ + + + +test of border-image-source: linear-gradient with border-image-slice + + + +
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-fill-1-ref.html b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-1-ref.html new file mode 100644 index 0000000000..1ab89e535d --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and fill + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-fill-1.html b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-1.html new file mode 100644 index 0000000000..7ace7074c3 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-1.html @@ -0,0 +1,28 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and fill + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-fill-2-ref.html b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-2-ref.html new file mode 100644 index 0000000000..fbbf8d6df6 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-2-ref.html @@ -0,0 +1,52 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and fill + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-fill-2.html b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-2.html new file mode 100644 index 0000000000..e97e5e1461 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-fill-2.html @@ -0,0 +1,24 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and fill + + + +
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-width-ref.html b/layout/reftests/border-image/border-image-linear-gradient-slice-width-ref.html new file mode 100644 index 0000000000..db4a91385f --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-width-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and border-image-width + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-slice-width.html b/layout/reftests/border-image/border-image-linear-gradient-slice-width.html new file mode 100644 index 0000000000..266e6a1050 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-slice-width.html @@ -0,0 +1,29 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and border-image-width + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-width-ref.html b/layout/reftests/border-image/border-image-linear-gradient-width-ref.html new file mode 100644 index 0000000000..dfa38d967b --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-width-ref.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient with border-image-width + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient-width.html b/layout/reftests/border-image/border-image-linear-gradient-width.html new file mode 100644 index 0000000000..8be90efaae --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient-width.html @@ -0,0 +1,18 @@ + + + +test of border-image-source: linear-gradient with border-image-width + + + +
+ + diff --git a/layout/reftests/border-image/border-image-linear-gradient.html b/layout/reftests/border-image/border-image-linear-gradient.html new file mode 100644 index 0000000000..eb081e1864 --- /dev/null +++ b/layout/reftests/border-image/border-image-linear-gradient.html @@ -0,0 +1,17 @@ + + + +test of border-image-source: linear-gradient + + + +
+ + diff --git a/layout/reftests/border-image/border-image-nofill-1-ref.html b/layout/reftests/border-image/border-image-nofill-1-ref.html new file mode 100644 index 0000000000..61608e3276 --- /dev/null +++ b/layout/reftests/border-image/border-image-nofill-1-ref.html @@ -0,0 +1,37 @@ + + + + border-image-slice without fill reference + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-nofill-1.html b/layout/reftests/border-image/border-image-nofill-1.html new file mode 100644 index 0000000000..0184adff03 --- /dev/null +++ b/layout/reftests/border-image/border-image-nofill-1.html @@ -0,0 +1,20 @@ + + + + test of border-image-slice without fill + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-outset-1-ref.html b/layout/reftests/border-image/border-image-outset-1-ref.html new file mode 100644 index 0000000000..586fe96209 --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-1-ref.html @@ -0,0 +1,15 @@ + + + + border-image-outset: 1em reference + + + + +
+
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+
+ + diff --git a/layout/reftests/border-image/border-image-outset-1a.html b/layout/reftests/border-image/border-image-outset-1a.html new file mode 100644 index 0000000000..51e7e7f50b --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-1a.html @@ -0,0 +1,21 @@ + + + + -moz-border-outset-width: 1em + + + + + +
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+ + diff --git a/layout/reftests/border-image/border-image-outset-1b.html b/layout/reftests/border-image/border-image-outset-1b.html new file mode 100644 index 0000000000..9a84c37771 --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-1b.html @@ -0,0 +1,22 @@ + + + + -moz-border-outset-width: 1em + + + + + +
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+ + diff --git a/layout/reftests/border-image/border-image-outset-1c.html b/layout/reftests/border-image/border-image-outset-1c.html new file mode 100644 index 0000000000..e431d6eb74 --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-1c.html @@ -0,0 +1,21 @@ + + + + -moz-border-outset-width: 1em + + + + + +
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+ + diff --git a/layout/reftests/border-image/border-image-outset-move-1-ref.html b/layout/reftests/border-image/border-image-outset-move-1-ref.html new file mode 100644 index 0000000000..7cc063f122 --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-move-1-ref.html @@ -0,0 +1,15 @@ + + + + border-image-outset move reference + + + + +
+
+Hello World! +
+
+ + diff --git a/layout/reftests/border-image/border-image-outset-move-1.html b/layout/reftests/border-image/border-image-outset-move-1.html new file mode 100644 index 0000000000..0c8ade8075 --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-move-1.html @@ -0,0 +1,30 @@ + + + + -moz-border-outset move + + + + + +
+Hello World! +
+ + + diff --git a/layout/reftests/border-image/border-image-outset-resize-1-ref.html b/layout/reftests/border-image/border-image-outset-resize-1-ref.html new file mode 100644 index 0000000000..1c310c023d --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-resize-1-ref.html @@ -0,0 +1,15 @@ + + + + border-image-outset resize reference + + + + +
+
+Hello World! +
+
+ + diff --git a/layout/reftests/border-image/border-image-outset-resize-1.html b/layout/reftests/border-image/border-image-outset-resize-1.html new file mode 100644 index 0000000000..284b0d01d1 --- /dev/null +++ b/layout/reftests/border-image/border-image-outset-resize-1.html @@ -0,0 +1,30 @@ + + + + -moz-border-outset resize + + + + + +
+Hello World! +
+ + + diff --git a/layout/reftests/border-image/border-image-radial-gradient-ref.html b/layout/reftests/border-image/border-image-radial-gradient-ref.html new file mode 100644 index 0000000000..b36074fba4 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-ref.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: radial-gradient + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-1-ref.html b/layout/reftests/border-image/border-image-radial-gradient-slice-1-ref.html new file mode 100644 index 0000000000..64029d6647 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-1.html b/layout/reftests/border-image/border-image-radial-gradient-slice-1.html new file mode 100644 index 0000000000..88f60e8d32 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-1.html @@ -0,0 +1,28 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-2-ref.html b/layout/reftests/border-image/border-image-radial-gradient-slice-2-ref.html new file mode 100644 index 0000000000..720221b502 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-2-ref.html @@ -0,0 +1,52 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-2.html b/layout/reftests/border-image/border-image-radial-gradient-slice-2.html new file mode 100644 index 0000000000..952cd10de0 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-2.html @@ -0,0 +1,24 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + +
+
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-fill-1-ref.html b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-1-ref.html new file mode 100644 index 0000000000..59068a8cd1 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-fill-1.html b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-1.html new file mode 100644 index 0000000000..8a0a42c016 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-1.html @@ -0,0 +1,28 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-fill-2-ref.html b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-2-ref.html new file mode 100644 index 0000000000..aaff661e73 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-2-ref.html @@ -0,0 +1,52 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-fill-2.html b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-2.html new file mode 100644 index 0000000000..65461db8a9 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-fill-2.html @@ -0,0 +1,24 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + +
+
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-width-ref.html b/layout/reftests/border-image/border-image-radial-gradient-slice-width-ref.html new file mode 100644 index 0000000000..d59e19f42c --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-width-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and border-image-width + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-slice-width.html b/layout/reftests/border-image/border-image-radial-gradient-slice-width.html new file mode 100644 index 0000000000..91803a6271 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-slice-width.html @@ -0,0 +1,29 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and border-image-width + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-width-ref.html b/layout/reftests/border-image/border-image-radial-gradient-width-ref.html new file mode 100644 index 0000000000..9c8e6e3352 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-width-ref.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: radial-gradient with border-image-width + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient-width.html b/layout/reftests/border-image/border-image-radial-gradient-width.html new file mode 100644 index 0000000000..298211cb69 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient-width.html @@ -0,0 +1,18 @@ + + + +test of border-image-source: radial-gradient with border-image-width + + + +
+ + diff --git a/layout/reftests/border-image/border-image-radial-gradient.html b/layout/reftests/border-image/border-image-radial-gradient.html new file mode 100644 index 0000000000..8a93acedd0 --- /dev/null +++ b/layout/reftests/border-image/border-image-radial-gradient.html @@ -0,0 +1,17 @@ + + + +test of border-image-source: radial-gradient + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeat-space-8z-ref.html b/layout/reftests/border-image/border-image-repeat-space-8z-ref.html new file mode 100644 index 0000000000..9eacbb0527 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeat-space-8z-ref.html @@ -0,0 +1,22 @@ + + +Reference: border-image-repeat:space with non-initial border-image-width + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeat-space-8z.html b/layout/reftests/border-image/border-image-repeat-space-8z.html new file mode 100644 index 0000000000..82dbb30235 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeat-space-8z.html @@ -0,0 +1,27 @@ + + +CSS Border Image: border-image-repeat:space with non-initial border-image-width + + + + + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-linear-gradient-ref.html b/layout/reftests/border-image/border-image-repeating-linear-gradient-ref.html new file mode 100644 index 0000000000..1edafefe6d --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-linear-gradient-ref.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2-ref.html b/layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2-ref.html new file mode 100644 index 0000000000..48fcf7e10a --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2-ref.html @@ -0,0 +1,116 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++ + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2.html b/layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2.html new file mode 100644 index 0000000000..dfac15059e --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-linear-gradient-repeat-round-2.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2-ref.html b/layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2-ref.html new file mode 100644 index 0000000000..7735c44115 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2-ref.html @@ -0,0 +1,52 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and fill + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2.html b/layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2.html new file mode 100644 index 0000000000..b3d4791064 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-linear-gradient-slice-fill-2.html @@ -0,0 +1,24 @@ + + + +test of border-image-source: linear-gradient with border-image-slice and fill + + + +
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-linear-gradient.html b/layout/reftests/border-image/border-image-repeating-linear-gradient.html new file mode 100644 index 0000000000..5c4d073f02 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-linear-gradient.html @@ -0,0 +1,17 @@ + + + +test of border-image-source: linear-gradient + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-ref.html new file mode 100644 index 0000000000..eb4c61480b --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-ref.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: radial-gradient + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2-ref.html new file mode 100644 index 0000000000..8ddeffa628 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2-ref.html @@ -0,0 +1,116 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++ + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2.html new file mode 100644 index 0000000000..249679b220 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-repeat-2.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2-ref.html new file mode 100644 index 0000000000..f66c2b87c1 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2-ref.html @@ -0,0 +1,116 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + + ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ ++++ + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2.html new file mode 100644 index 0000000000..3305416cee --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-repeat-round-2.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: linear-gradient with border-image-repeat + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1-ref.html new file mode 100644 index 0000000000..6c64ba43ce --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1.html new file mode 100644 index 0000000000..e82c3aa6f4 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-1.html @@ -0,0 +1,28 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2-ref.html new file mode 100644 index 0000000000..c38efac8b9 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2-ref.html @@ -0,0 +1,52 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2.html new file mode 100644 index 0000000000..e4d31c78b8 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-2.html @@ -0,0 +1,24 @@ + + + +test of border-image-source: radial-gradient with border-image-slice + + + +
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1-ref.html new file mode 100644 index 0000000000..6d63b73000 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1.html new file mode 100644 index 0000000000..76c396cb0d --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-1.html @@ -0,0 +1,28 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2-ref.html new file mode 100644 index 0000000000..26a4b30f93 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2-ref.html @@ -0,0 +1,52 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2.html new file mode 100644 index 0000000000..ce707ea939 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-fill-2.html @@ -0,0 +1,24 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and fill + + + +
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width-ref.html new file mode 100644 index 0000000000..308621c697 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width-ref.html @@ -0,0 +1,72 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and border-image-width + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width.html new file mode 100644 index 0000000000..508d95e298 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-slice-width.html @@ -0,0 +1,29 @@ + + + +test of border-image-source: radial-gradient with border-image-slice and border-image-width + + + +
+
+
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-width-ref.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-width-ref.html new file mode 100644 index 0000000000..3b977f4541 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-width-ref.html @@ -0,0 +1,32 @@ + + + +test of border-image-source: radial-gradient with border-image-width + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient-width.html b/layout/reftests/border-image/border-image-repeating-radial-gradient-width.html new file mode 100644 index 0000000000..df766ffa5e --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient-width.html @@ -0,0 +1,18 @@ + + + +test of border-image-source: radial-gradient with border-image-width + + + +
+ + diff --git a/layout/reftests/border-image/border-image-repeating-radial-gradient.html b/layout/reftests/border-image/border-image-repeating-radial-gradient.html new file mode 100644 index 0000000000..6673000288 --- /dev/null +++ b/layout/reftests/border-image/border-image-repeating-radial-gradient.html @@ -0,0 +1,17 @@ + + + +test of border-image-source: radial-gradient + + + +
+ + diff --git a/layout/reftests/border-image/border-image-style-none-auto-ref.html b/layout/reftests/border-image/border-image-style-none-auto-ref.html new file mode 100644 index 0000000000..0404acf81c --- /dev/null +++ b/layout/reftests/border-image/border-image-style-none-auto-ref.html @@ -0,0 +1,38 @@ + + + + border-image-width: auto with border-bottom: none reference + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/layout/reftests/border-image/border-image-style-none-auto.html b/layout/reftests/border-image/border-image-style-none-auto.html new file mode 100644 index 0000000000..d8e084faf7 --- /dev/null +++ b/layout/reftests/border-image/border-image-style-none-auto.html @@ -0,0 +1,21 @@ + + + + test of border-image-width: auto with border-bottom: none + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-style-none-length-ref.html b/layout/reftests/border-image/border-image-style-none-length-ref.html new file mode 100644 index 0000000000..9ba599d324 --- /dev/null +++ b/layout/reftests/border-image/border-image-style-none-length-ref.html @@ -0,0 +1,37 @@ + + + + border-image-width: length with border-bottom: none reference + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-style-none-length.html b/layout/reftests/border-image/border-image-style-none-length.html new file mode 100644 index 0000000000..04e9659533 --- /dev/null +++ b/layout/reftests/border-image/border-image-style-none-length.html @@ -0,0 +1,21 @@ + + + + test of border-image-width: length with border-bottom: none + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-style-none-ref.html b/layout/reftests/border-image/border-image-style-none-ref.html new file mode 100644 index 0000000000..de366e3fd7 --- /dev/null +++ b/layout/reftests/border-image/border-image-style-none-ref.html @@ -0,0 +1,32 @@ + + + + border-image with border-bottom: none reference + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-style-none.html b/layout/reftests/border-image/border-image-style-none.html new file mode 100644 index 0000000000..3868579303 --- /dev/null +++ b/layout/reftests/border-image/border-image-style-none.html @@ -0,0 +1,21 @@ + + + + test of border-image with border-bottom: none + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-width-1-ref.html b/layout/reftests/border-image/border-image-width-1-ref.html new file mode 100644 index 0000000000..8f0497446b --- /dev/null +++ b/layout/reftests/border-image/border-image-width-1-ref.html @@ -0,0 +1,15 @@ + + + + border-image-width: 1em reference + + + + +
+
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+
+ + diff --git a/layout/reftests/border-image/border-image-width-1a.html b/layout/reftests/border-image/border-image-width-1a.html new file mode 100644 index 0000000000..2c6c443de3 --- /dev/null +++ b/layout/reftests/border-image/border-image-width-1a.html @@ -0,0 +1,20 @@ + + + + border-image-width: 2em + + + + + +
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+ + diff --git a/layout/reftests/border-image/border-image-width-1b.html b/layout/reftests/border-image/border-image-width-1b.html new file mode 100644 index 0000000000..d8f6431581 --- /dev/null +++ b/layout/reftests/border-image/border-image-width-1b.html @@ -0,0 +1,20 @@ + + + + border-image-width: 2 + + + + + +
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+ + diff --git a/layout/reftests/border-image/border-image-width-1c.html b/layout/reftests/border-image/border-image-width-1c.html new file mode 100644 index 0000000000..321a3c6fdc --- /dev/null +++ b/layout/reftests/border-image/border-image-width-1c.html @@ -0,0 +1,21 @@ + + + + border-image-width: 2 + + + + + +
+border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line +
+ + diff --git a/layout/reftests/border-image/border-image-width-large-ref.html b/layout/reftests/border-image/border-image-width-large-ref.html new file mode 100644 index 0000000000..b7d8f5822d --- /dev/null +++ b/layout/reftests/border-image/border-image-width-large-ref.html @@ -0,0 +1,24 @@ + + + + border-image with equally large left and right border image width. + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/border-image-width-large.html b/layout/reftests/border-image/border-image-width-large.html new file mode 100644 index 0000000000..481aa19486 --- /dev/null +++ b/layout/reftests/border-image/border-image-width-large.html @@ -0,0 +1,18 @@ + + + + test of border-image with equally large left and right border image width. + + + + + +
+ + diff --git a/layout/reftests/border-image/border.png b/layout/reftests/border-image/border.png new file mode 100644 index 0000000000..7a657391d6 Binary files /dev/null and b/layout/reftests/border-image/border.png differ diff --git a/layout/reftests/border-image/center-scaling-1-ref.html b/layout/reftests/border-image/center-scaling-1-ref.html new file mode 100644 index 0000000000..c3755d82db --- /dev/null +++ b/layout/reftests/border-image/center-scaling-1-ref.html @@ -0,0 +1,64 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-1.html b/layout/reftests/border-image/center-scaling-1.html new file mode 100644 index 0000000000..7b1c2297a4 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-1.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-2-ref.html b/layout/reftests/border-image/center-scaling-2-ref.html new file mode 100644 index 0000000000..3b253fa529 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-2-ref.html @@ -0,0 +1,44 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-2.html b/layout/reftests/border-image/center-scaling-2.html new file mode 100644 index 0000000000..d679e17d53 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-2.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-3-ref.html b/layout/reftests/border-image/center-scaling-3-ref.html new file mode 100644 index 0000000000..86db1ec450 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-3-ref.html @@ -0,0 +1,40 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-3.html b/layout/reftests/border-image/center-scaling-3.html new file mode 100644 index 0000000000..6f33bb0fa1 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-3.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4b-ref.html b/layout/reftests/border-image/center-scaling-4b-ref.html new file mode 100644 index 0000000000..3b23376407 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4b-ref.html @@ -0,0 +1,54 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4b.html b/layout/reftests/border-image/center-scaling-4b.html new file mode 100644 index 0000000000..c41e43a511 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4b.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4l-ref.html b/layout/reftests/border-image/center-scaling-4l-ref.html new file mode 100644 index 0000000000..e3ebeb8763 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4l-ref.html @@ -0,0 +1,58 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4l.html b/layout/reftests/border-image/center-scaling-4l.html new file mode 100644 index 0000000000..c4a4aec60a --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4l.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4lr-ref.html b/layout/reftests/border-image/center-scaling-4lr-ref.html new file mode 100644 index 0000000000..58869ac1d2 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4lr-ref.html @@ -0,0 +1,52 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4lr.html b/layout/reftests/border-image/center-scaling-4lr.html new file mode 100644 index 0000000000..439ee5dce8 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4lr.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4r-ref.html b/layout/reftests/border-image/center-scaling-4r-ref.html new file mode 100644 index 0000000000..5edcd2381d --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4r-ref.html @@ -0,0 +1,58 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4r.html b/layout/reftests/border-image/center-scaling-4r.html new file mode 100644 index 0000000000..38874cbbbb --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4r.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4t-ref.html b/layout/reftests/border-image/center-scaling-4t-ref.html new file mode 100644 index 0000000000..c04f1670cf --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4t-ref.html @@ -0,0 +1,54 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4t.html b/layout/reftests/border-image/center-scaling-4t.html new file mode 100644 index 0000000000..401005a39f --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4t.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4tb-ref.html b/layout/reftests/border-image/center-scaling-4tb-ref.html new file mode 100644 index 0000000000..08344b38a0 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4tb-ref.html @@ -0,0 +1,44 @@ + + +
diff --git a/layout/reftests/border-image/center-scaling-4tb.html b/layout/reftests/border-image/center-scaling-4tb.html new file mode 100644 index 0000000000..2d23aa8e41 --- /dev/null +++ b/layout/reftests/border-image/center-scaling-4tb.html @@ -0,0 +1,11 @@ + + +
diff --git a/layout/reftests/border-image/diamonds.png b/layout/reftests/border-image/diamonds.png new file mode 100644 index 0000000000..7fe5da5e60 Binary files /dev/null and b/layout/reftests/border-image/diamonds.png differ diff --git a/layout/reftests/border-image/different-h-v-1.html b/layout/reftests/border-image/different-h-v-1.html new file mode 100644 index 0000000000..908b732720 --- /dev/null +++ b/layout/reftests/border-image/different-h-v-1.html @@ -0,0 +1,15 @@ + + + + +
+ diff --git a/layout/reftests/border-image/different-h-v-2.html b/layout/reftests/border-image/different-h-v-2.html new file mode 100644 index 0000000000..6bce841adf --- /dev/null +++ b/layout/reftests/border-image/different-h-v-2.html @@ -0,0 +1,15 @@ + + + + +
+ diff --git a/layout/reftests/border-image/different-h-v-ref.html b/layout/reftests/border-image/different-h-v-ref.html new file mode 100644 index 0000000000..3beef12726 --- /dev/null +++ b/layout/reftests/border-image/different-h-v-ref.html @@ -0,0 +1,14 @@ + + + + +
+ diff --git a/layout/reftests/border-image/gen-refs.py b/layout/reftests/border-image/gen-refs.py new file mode 100644 index 0000000000..029d46f2a8 --- /dev/null +++ b/layout/reftests/border-image/gen-refs.py @@ -0,0 +1,473 @@ +# 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/. + +# Generates tables of background images which correspond with border images for +# creating reftests. Input is the filename containing input defined below (a subset +# of the allowed CSS border properties). An html representation of a table is +# output to stdout. +# +# Usage: python gen-refs.py input_filename +# +# Input must take the form (order is not important, nothing is optional, distance in order top, right, bottom, left): +# width: p; +# height: p; +# border-width: p; +# border-image-source: ...; +# border-image-slice: p p p p; +# note that actually border-image-slice takes numbers without px, which represent pixels anyway (or at least coords) +# border-image-width: np np np np; +# border-image-repeat: stretch | repeat | round; +# border-image-outset: np np np np; +# +# where: +# p ::= n'px' +# np ::= n | p +# +# Assumes there is no intrinsic size for the border-image-source, so uses +# the size of the border image area. + +import sys + + +class Point: + def __init__(self, w=0, h=0): + self.x = w + self.y = h + + +class Size: + def __init__(self, w=0, h=0): + self.width = w + self.height = h + + +class Rect: + def __init__(self, x=0, y=0, x2=0, y2=0): + self.x = x + self.y = y + self.x2 = x2 + self.y2 = y2 + + def width(self): + return self.x2 - self.x + + def height(self): + return self.y2 - self.y + + +class Props: + def __init__(self): + self.size = Size() + + +class np: + def __init__(self, n, p): + self.n = n + self.p = p + + def get_absolute(self, ref): + if not self.p == 0: + return self.p + return self.n * ref + + +def parse_p(tok): + if tok[-2:] == "px": + return float(tok[:-2]) + print("Whoops, not a pixel value", tok) + + +def parse_np(tok): + if tok[-2:] == "px": + return np(0, float(tok[:-2])) + return np(float(tok), 0) + + +def parse(filename): + f = open(filename, "r") + props = Props() + for l in f: + l = l.strip() + if not l[-1] == ";": + continue + toks = l[:-1].split() + if toks[0] == "border-width:": + props.width = parse_p(toks[1]) + if toks[0] == "height:": + props.size.height = parse_p(toks[1]) + if toks[0] == "width:": + props.size.width = parse_p(toks[1]) + if toks[0] == "border-image-source:": + props.source = l[l.find(":") + 1 : l.rfind(";")].strip() + if toks[0] == "border-image-repeat:": + props.repeat = toks[1] + if toks[0] == "border-image-slice:": + props.slice = map(parse_p, toks[1:5]) + if toks[0] == "border-image-width:": + props.image_width = map(parse_np, toks[1:5]) + if toks[0] == "border-image-outset:": + props.outset = map(parse_np, toks[1:5]) + f.close() + return props + + +# the result of normalisation is that all sizes are in pixels and the size, +# widths, and outset have been normalised to a size and width - the former is +# the element's interior, the latter is the width of the drawn border. +def normalise(props): + result = Props() + result.source = props.source + result.repeat = props.repeat + result.width = map(lambda x: x.get_absolute(props.width), props.image_width) + outsets = map(lambda x: x.get_absolute(props.width), props.outset) + result.size.width = props.size.width + 2 * props.width + outsets[1] + outsets[3] + result.size.height = props.size.height + 2 * props.width + outsets[0] + outsets[2] + result.slice = props.slice + for i in [0, 2]: + if result.slice[i] > result.size.height: + result.slice[i] = result.size.height + if result.slice[i + 1] > result.size.width: + result.slice[i + 1] = result.size.width + + return result + + +def check_parse(props): + if not hasattr(props, "source"): + print("missing border-image-source") + return False + if not hasattr(props.size, "width"): + print("missing width") + return False + if not hasattr(props.size, "height"): + print("missing height") + return False + if not hasattr(props, "width"): + print("missing border-width") + return False + if not hasattr(props, "image_width"): + print("missing border-image-width") + return False + if not hasattr(props, "slice"): + print("missing border-image-slice") + return False + if not hasattr(props, "repeat") or ( + props.repeat not in ["stretch", "repeat", "round"] + ): + print("missing or incorrect border-image-repeat '" + props.repeat + "'") + return False + if not hasattr(props, "outset"): + print("missing border-image-outset") + return False + + return True + + +def check_normalise(props): + if not hasattr(props, "source"): + print("missing border-image-source") + return False + if not hasattr(props.size, "width"): + print("missing width") + return False + if not hasattr(props.size, "height"): + print("missing height") + return False + if not hasattr(props, "slice"): + print("missing border-image-slice") + return False + if not hasattr(props, "repeat") or ( + props.repeat not in ["stretch", "repeat", "round"] + ): + print("missing or incorrect border-image-repeat '" + props.repeat + "'") + return False + + return True + + +class Tile: + def __init__(self): + self.slice = Rect() + self.border_width = Rect() + + +# throughout, we will use arrays for nine-patches, the indices correspond thusly: +# 0 1 2 +# 3 4 5 +# 6 7 8 + +# Compute the source tiles' slice and border-width sizes +def make_src_tiles(): + tiles = [Tile() for i in range(9)] + + rows = [range(3 * i, 3 * (i + 1)) for i in range(3)] + cols = [[i, i + 3, i + 6] for i in range(3)] + + row_limits_slice = [ + 0, + props.slice[3], + props.size.width - props.slice[1], + props.size.width, + ] + row_limits_width = [ + 0, + props.width[3], + props.size.width - props.width[1], + props.size.width, + ] + for r in range(3): + for t in [tiles[i] for i in cols[r]]: + t.slice.x = row_limits_slice[r] + t.slice.x2 = row_limits_slice[r + 1] + t.border_width.x = row_limits_width[r] + t.border_width.x2 = row_limits_width[r + 1] + + col_limits_slice = [ + 0, + props.slice[0], + props.size.height - props.slice[2], + props.size.height, + ] + col_limits_width = [ + 0, + props.width[0], + props.size.height - props.width[2], + props.size.height, + ] + for c in range(3): + for t in [tiles[i] for i in rows[c]]: + t.slice.y = col_limits_slice[c] + t.slice.y2 = col_limits_slice[c + 1] + t.border_width.y = col_limits_width[c] + t.border_width.y2 = col_limits_width[c + 1] + + return tiles + + +def compute(props): + tiles = make_src_tiles() + + # corners scale easy + for t in [tiles[i] for i in [0, 2, 6, 8]]: + t.scale = Point( + t.border_width.width() / t.slice.width(), + t.border_width.height() / t.slice.height(), + ) + # edges are by their secondary dimension + for t in [tiles[i] for i in [1, 7]]: + t.scale = Point( + t.border_width.height() / t.slice.height(), + t.border_width.height() / t.slice.height(), + ) + for t in [tiles[i] for i in [3, 5]]: + t.scale = Point( + t.border_width.width() / t.slice.width(), + t.border_width.width() / t.slice.width(), + ) + # the middle is scaled by the factors for the top and left edges + tiles[4].scale = Point(tiles[1].scale.x, tiles[3].scale.y) + + # the size of a source tile for the middle section + src_tile_size = Size( + tiles[4].slice.width() * tiles[4].scale.x, + tiles[4].slice.height() * tiles[4].scale.y, + ) + + # the size of a single destination tile in the central part + dest_tile_size = Size() + if props.repeat == "stretch": + dest_tile_size.width = tiles[4].border_width.width() + dest_tile_size.height = tiles[4].border_width.height() + for t in [tiles[i] for i in [1, 7]]: + t.scale.x = t.border_width.width() / t.slice.width() + for t in [tiles[i] for i in [3, 5]]: + t.scale.y = t.border_width.height() / t.slice.height() + elif props.repeat == "repeat": + dest_tile_size = src_tile_size + elif props.repeat == "round": + dest_tile_size.width = tiles[4].border_width.width() / math.ceil( + tiles[4].border_width.width() / src_tile_size.width + ) + dest_tile_size.height = tiles[4].border_width.height() / math.ceil( + tiles[4].border_width.height() / src_tile_size.height + ) + for t in [tiles[i] for i in [1, 4, 7]]: + t.scale.x = dest_tile_size.width / t.slice.width() + for t in [tiles[i] for i in [3, 4, 5]]: + t.scale.y = dest_tile_size.height / t.slice.height() + else: + print("Whoops, invalid border-image-repeat value") + + # catch overlapping slices. Its easier to deal with it here than to catch + # earlier and have to avoid all the divide by zeroes above + for t in tiles: + if t.slice.width() < 0: + t.scale.x = 0 + if t.slice.height() < 0: + t.scale.y = 0 + + tiles_h = int(math.ceil(tiles[4].border_width.width() / dest_tile_size.width) + 2) + tiles_v = int(math.ceil(tiles[4].border_width.height() / dest_tile_size.height) + 2) + + # if border-image-repeat: repeat, then we will later center the tiles, that + # means we need an extra tile for the two 'half' tiles at either end + if props.repeat == "repeat": + if tiles_h % 2 == 0: + tiles_h += 1 + if tiles_v % 2 == 0: + tiles_v += 1 + dest_tiles = [Tile() for i in range(tiles_h * tiles_v)] + + # corners + corners = [ + (0, 0), + (tiles_h - 1, 2), + (tiles_v * (tiles_h - 1), 6), + (tiles_v * tiles_h - 1, 8), + ] + for d, s in corners: + dest_tiles[d].size = Size( + tiles[s].scale.x * props.size.width, tiles[s].scale.y * props.size.height + ) + dest_tiles[d].dest_size = Size( + tiles[s].border_width.width(), tiles[s].border_width.height() + ) + dest_tiles[0].offset = Point(0, 0) + dest_tiles[tiles_h - 1].offset = Point( + tiles[2].border_width.width() - dest_tiles[tiles_h - 1].size.width, 0 + ) + dest_tiles[tiles_v * (tiles_h - 1)].offset = Point( + 0, + tiles[6].border_width.height() + - dest_tiles[tiles_v * (tiles_h - 1)].size.height, + ) + dest_tiles[tiles_v * tiles_h - 1].offset = Point( + tiles[8].border_width.width() - dest_tiles[tiles_h * tiles_v - 1].size.width, + tiles[8].border_width.height() - dest_tiles[tiles_h * tiles_v - 1].size.height, + ) + + # horizontal edges + for i in range(1, tiles_h - 1): + dest_tiles[i].size = Size( + tiles[1].scale.x * props.size.width, tiles[1].scale.y * props.size.height + ) + dest_tiles[(tiles_v - 1) * tiles_h + i].size = Size( + tiles[7].scale.x * props.size.width, tiles[7].scale.y * props.size.height + ) + dest_tiles[i].dest_size = Size( + dest_tile_size.width, tiles[1].border_width.height() + ) + dest_tiles[(tiles_v - 1) * tiles_h + i].dest_size = Size( + dest_tile_size.width, tiles[7].border_width.height() + ) + dest_tiles[i].offset = Point( + -tiles[1].scale.x * tiles[1].slice.x, -tiles[1].scale.y * tiles[1].slice.y + ) + dest_tiles[(tiles_v - 1) * tiles_h + i].offset = Point( + -tiles[7].scale.x * tiles[7].slice.x, -tiles[7].scale.y * tiles[7].slice.y + ) + + # vertical edges + for i in range(1, tiles_v - 1): + dest_tiles[i * tiles_h].size = Size( + tiles[3].scale.x * props.size.width, tiles[3].scale.y * props.size.height + ) + dest_tiles[(i + 1) * tiles_h - 1].size = Size( + tiles[5].scale.x * props.size.width, tiles[5].scale.y * props.size.height + ) + dest_tiles[i * tiles_h].dest_size = Size( + tiles[3].border_width.width(), dest_tile_size.height + ) + dest_tiles[(i + 1) * tiles_h - 1].dest_size = Size( + tiles[5].border_width.width(), dest_tile_size.height + ) + dest_tiles[i * tiles_h].offset = Point( + -tiles[3].scale.x * tiles[3].slice.x, -tiles[3].scale.y * tiles[3].slice.y + ) + dest_tiles[(i + 1) * tiles_h - 1].offset = Point( + -tiles[5].scale.x * tiles[5].slice.x, -tiles[5].scale.y * tiles[5].slice.y + ) + + # middle + for i in range(1, tiles_v - 1): + for j in range(1, tiles_h - 1): + dest_tiles[i * tiles_h + j].size = Size( + tiles[4].scale.x * props.size.width, + tiles[4].scale.y * props.size.height, + ) + dest_tiles[i * tiles_h + j].offset = Point( + -tiles[4].scale.x * tiles[4].slice.x, + -tiles[4].scale.y * tiles[4].slice.y, + ) + dest_tiles[i * tiles_h + j].dest_size = dest_tile_size + + # edge and middle tiles are centered with border-image-repeat: repeat + # we need to change the offset to take account of this and change the dest_size + # of the tiles at the sides of the edges if they are clipped + if props.repeat == "repeat": + diff_h = ( + (tiles_h - 2) * dest_tile_size.width - tiles[4].border_width.width() + ) / 2 + diff_v = ( + (tiles_v - 2) * dest_tile_size.height - tiles[4].border_width.height() + ) / 2 + for i in range(0, tiles_h): + dest_tiles[tiles_h + i].dest_size.height -= diff_v + dest_tiles[tiles_h + i].offset.y -= diff_v # * tiles[4].scale.y + dest_tiles[(tiles_v - 2) * tiles_h + i].dest_size.height -= diff_v + for i in range(0, tiles_v): + dest_tiles[i * tiles_h + 1].dest_size.width -= diff_h + dest_tiles[i * tiles_h + 1].offset.x -= diff_h # * tiles[4].scale.x + dest_tiles[(i + 1) * tiles_h - 2].dest_size.width -= diff_h + + # output the table to simulate the border + print("") + for i in range(tiles_h): + print('') + for i in range(tiles_v): + print( + '' + ) + for j in range(tiles_h): + width = dest_tiles[i * tiles_h + j].size.width + height = dest_tiles[i * tiles_h + j].size.height + # catch any tiles with negative widths/heights + # this happends when the total of the border-image-slices > borde drawing area + if width <= 0 or height <= 0: + print(' ') + else: + print( + ' ' + ) + print("") + print("
") + + +# start here +args = sys.argv[1:] +if len(args) == 0: + print("whoops: no source file") + exit(1) + + +props = parse(args[0]) +if not check_parse(props): + print(dir(props)) + exit(1) +props = normalise(props) +if not check_normalise(props): + exit(1) +compute(props) diff --git a/layout/reftests/border-image/multicolor-image-1-ref.html b/layout/reftests/border-image/multicolor-image-1-ref.html new file mode 100644 index 0000000000..56ba68aa98 --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-1-ref.html @@ -0,0 +1,37 @@ + + + + test of border-image + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/multicolor-image-1.html b/layout/reftests/border-image/multicolor-image-1.html new file mode 100644 index 0000000000..de76bd27be --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-1.html @@ -0,0 +1,24 @@ + + + + test of border-image + + + + + +
+ + diff --git a/layout/reftests/border-image/multicolor-image-2-ref.html b/layout/reftests/border-image/multicolor-image-2-ref.html new file mode 100644 index 0000000000..2adb8d636e --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-2-ref.html @@ -0,0 +1,165 @@ + + + + test of border-image + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + diff --git a/layout/reftests/border-image/multicolor-image-2.html b/layout/reftests/border-image/multicolor-image-2.html new file mode 100644 index 0000000000..a35d041b38 --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-2.html @@ -0,0 +1,96 @@ + + + + test of border-image + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/multicolor-image-3-ref.html b/layout/reftests/border-image/multicolor-image-3-ref.html new file mode 100644 index 0000000000..ed74e4d7b8 --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-3-ref.html @@ -0,0 +1,63 @@ + + + + test of border-image: number repetition + + + + + +
+
+
+
+ + diff --git a/layout/reftests/border-image/multicolor-image-3.html b/layout/reftests/border-image/multicolor-image-3.html new file mode 100644 index 0000000000..7727bb083d --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-3.html @@ -0,0 +1,63 @@ + + + + test of border-image: number repetition + + + + + +
+
+
+
+ + diff --git a/layout/reftests/border-image/multicolor-image-4-ref.html b/layout/reftests/border-image/multicolor-image-4-ref.html new file mode 100644 index 0000000000..55e14cb084 --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-4-ref.html @@ -0,0 +1,167 @@ + + + + test of border-image + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+
+ + + diff --git a/layout/reftests/border-image/multicolor-image-4.html b/layout/reftests/border-image/multicolor-image-4.html new file mode 100644 index 0000000000..a62562bd70 --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-4.html @@ -0,0 +1,113 @@ + + + + test of border-image + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/multicolor-image-5-ref.html b/layout/reftests/border-image/multicolor-image-5-ref.html new file mode 100644 index 0000000000..f4e6ab1e18 --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-5-ref.html @@ -0,0 +1,167 @@ + + + + test of border-image + + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + +
+
+ + + diff --git a/layout/reftests/border-image/multicolor-image-5.html b/layout/reftests/border-image/multicolor-image-5.html new file mode 100644 index 0000000000..95763c6d95 --- /dev/null +++ b/layout/reftests/border-image/multicolor-image-5.html @@ -0,0 +1,114 @@ + + + + test of border-image + + + + + +
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/reftest.list b/layout/reftests/border-image/reftest.list new file mode 100644 index 0000000000..677d7c65ec --- /dev/null +++ b/layout/reftests/border-image/reftest.list @@ -0,0 +1,97 @@ +== solid-image-1.html solid-image-1-ref.html +== solid-image-1a.html solid-image-1-ref.html +== solid-image-2.html solid-image-2-ref.html +== solid-image-2a.html solid-image-2-ref.html +== multicolor-image-1.html multicolor-image-1-ref.html +# This is fuzzy temporarily until bug 1044702 makes it possible to use source +# clipping on Windows. (Any other fix would have a significant perf cost.) +fuzzy-if(winWidget,0-1,0-1) == multicolor-image-2.html multicolor-image-2-ref.html +== multicolor-image-3.html multicolor-image-3-ref.html +== multicolor-image-4.html multicolor-image-4-ref.html +== multicolor-image-5.html multicolor-image-5-ref.html +== transparent-image-1.html transparent-image-1-ref.html +!= repeat-image-1.html repeat-image-1-ref.html +== 470250-1.html 470250-1-ref.html +== 470250-2.html 470250-2-ref.html +!= different-h-v-1.html different-h-v-ref.html +!= different-h-v-2.html different-h-v-ref.html +!= different-h-v-1.html different-h-v-2.html +== center-scaling-1.html center-scaling-1-ref.html +fuzzy-if(useDrawSnapshot,35-35,4050-4050) == center-scaling-2.html center-scaling-2-ref.html # Android: very different scaling (blurriness) on some sides +fuzzy-if(useDrawSnapshot,35-35,5220-5220) == center-scaling-3.html center-scaling-3-ref.html # Android: very different scaling (blurriness) on some sides +== center-scaling-4t.html center-scaling-4t-ref.html +== center-scaling-4r.html center-scaling-4r-ref.html +== center-scaling-4b.html center-scaling-4b-ref.html +== center-scaling-4l.html center-scaling-4l-ref.html +== center-scaling-4tb.html center-scaling-4tb-ref.html +== center-scaling-4lr.html center-scaling-4lr-ref.html +== side-scaling-1h.html side-scaling-1h-ref.html +== side-scaling-1v.html side-scaling-1v-ref.html +== border-image-width-1a.html border-image-width-1-ref.html +== border-image-width-1b.html border-image-width-1-ref.html +== border-image-width-1c.html border-image-width-1-ref.html +== border-image-width-large.html border-image-width-large-ref.html +== border-image-outset-1a.html border-image-outset-1-ref.html +== border-image-outset-1b.html border-image-outset-1-ref.html +== border-image-outset-1c.html border-image-outset-1-ref.html +== border-image-nofill-1.html border-image-nofill-1-ref.html +== border-image-outset-resize-1.html border-image-outset-resize-1-ref.html +fuzzy-if(asyncPan&&!layersGPUAccelerated,0-140,0-514) fuzzy-if(winWidget,0-144,0-448) == border-image-outset-move-1.html border-image-outset-move-1-ref.html +== border-image-style-none.html border-image-style-none-ref.html +== border-image-style-none-length.html border-image-style-none-length-ref.html +== border-image-style-none-auto.html border-image-style-none-auto-ref.html + +# The fuzziness here is due to subtle rounding behavior differences +# between different code paths that aren't necessarily a bug: +fuzzy(1-150,1-2650) fails-if(useDrawSnapshot) == border-image-repeat-space-8z.html border-image-repeat-space-8z-ref.html + +# border images with gradients +fuzzy-if(!useDrawSnapshot&&!geckoview,1-3,300-1804) == border-image-linear-gradient.html border-image-linear-gradient-ref.html +fuzzy(0-1,0-350) fuzzy-if(!geckoview,1-3,179-37537) == border-image-linear-gradient-slice-1.html border-image-linear-gradient-slice-1-ref.html +fuzzy(0-1,0-515) fuzzy-if(OSX,0-1,0-10595) fuzzy-if(!geckoview,1-3,272-25136) == border-image-linear-gradient-slice-2.html border-image-linear-gradient-slice-2-ref.html +fuzzy(0-1,0-2500) fuzzy-if(!geckoview,1-3,200-86037) == border-image-linear-gradient-slice-fill-1.html border-image-linear-gradient-slice-fill-1-ref.html +fuzzy(0-1,0-649) fuzzy-if(OSX,0-1,0-25771) fuzzy-if(!Android,0-1,0-546) fuzzy-if(Android,0-1,0-6093) fuzzy-if(!geckoview,1-3,477-57480) == border-image-linear-gradient-slice-fill-2.html border-image-linear-gradient-slice-fill-2-ref.html +fuzzy(0-1,0-134) fuzzy-if(OSX,0-5,0-1676) fuzzy-if(!geckoview,1-1,0-4537) == border-image-linear-gradient-width.html border-image-linear-gradient-width-ref.html +fuzzy(0-2,0-60590) fuzzy-if(Android,0-4,0-18022) fuzzy-if(OSX,0-1,0-15000) fuzzy-if(!useDrawSnapshot&&!geckoview,1-2,3900-60581) == border-image-linear-gradient-slice-width.html border-image-linear-gradient-slice-width-ref.html +fuzzy(0-2,0-26758) fuzzy-if(OSX,0-1,0-6000) fuzzy-if(!geckoview,1-3,2400-26758) == border-image-linear-gradient-outset.html border-image-linear-gradient-outset-ref.html +fuzzy(0-1,0-400) fuzzy-if(!geckoview,1-3,200-26872) == border-image-linear-gradient-repeat-repeat-1.html border-image-linear-gradient-repeat-repeat-1-ref.html +fuzzy(0-1,0-300) fuzzy-if(!geckoview,1-3,200-27131) == border-image-linear-gradient-repeat-round-1.html border-image-linear-gradient-repeat-round-1-ref.html +fuzzy-if(Android,0-1,0-1894) fuzzy-if(!useDrawSnapshot&&!geckoview,1-2,2400-67805) == border-image-linear-gradient-repeat-repeat-2.html border-image-linear-gradient-repeat-repeat-2-ref.html +fuzzy(0-1,0-2000) fuzzy-if(!geckoview,1-2,288-9500) == border-image-linear-gradient-repeat-round-2.html border-image-linear-gradient-repeat-round-2-ref.html +fuzzy(0-1,0-8533) fuzzy-if(!geckoview&&!swgl,1-3,972-9500) == border-image-linear-gradient-repeat-repeat-3.html border-image-linear-gradient-repeat-repeat-3-ref.html +fuzzy(0-3,0-107563) fuzzy-if(!geckoview&&!swgl,1-3,1000-107563) == border-image-linear-gradient-repeat-round-3.html border-image-linear-gradient-repeat-round-3-ref.html + +fuzzy(0-1,0-2096) == border-image-radial-gradient.html border-image-radial-gradient-ref.html +fuzzy(0-1,0-37818) == border-image-radial-gradient-slice-1.html border-image-radial-gradient-slice-1-ref.html +fuzzy(0-1,0-26363) == border-image-radial-gradient-slice-2.html border-image-radial-gradient-slice-2-ref.html +fuzzy(0-1,0-90873) == border-image-radial-gradient-slice-fill-1.html border-image-radial-gradient-slice-fill-1-ref.html +fuzzy(0-1,0-61729) == border-image-radial-gradient-slice-fill-2.html border-image-radial-gradient-slice-fill-2-ref.html +fuzzy(0-2,0-4894) == border-image-radial-gradient-width.html border-image-radial-gradient-width-ref.html +fuzzy(0-3,0-66698) == border-image-radial-gradient-slice-width.html border-image-radial-gradient-slice-width-ref.html + +# OS X failures tracked in bug 957025 +fuzzy-if(!useDrawSnapshot&&!geckoview,1-4,455-2000) == border-image-repeating-linear-gradient.html border-image-repeating-linear-gradient-ref.html +fails-if(OSX) fuzzy(0-3,0-95449) == border-image-repeating-linear-gradient-slice-fill-2.html border-image-repeating-linear-gradient-slice-fill-2-ref.html +fails-if(OSX) fuzzy(0-3,0-20000) fuzzy-if(!geckoview,1-4,800-14000) == border-image-repeating-linear-gradient-repeat-round-2.html border-image-repeating-linear-gradient-repeat-round-2-ref.html + +fuzzy(0-3,0-3008) == border-image-repeating-radial-gradient.html border-image-repeating-radial-gradient-ref.html +fuzzy(0-3,0-62078) == border-image-repeating-radial-gradient-slice-1.html border-image-repeating-radial-gradient-slice-1-ref.html +fuzzy(0-3,0-40536) == border-image-repeating-radial-gradient-slice-2.html border-image-repeating-radial-gradient-slice-2-ref.html +fuzzy(0-3,0-1794) fuzzy-if(!geckoview,1-3,30-12194) == border-image-repeating-radial-gradient-slice-fill-1.html border-image-repeating-radial-gradient-slice-fill-1-ref.html +fails-if(OSX) fuzzy(0-3,0-1435) fuzzy-if(!geckoview,1-2,20-8000) == border-image-repeating-radial-gradient-slice-fill-2.html border-image-repeating-radial-gradient-slice-fill-2-ref.html +fuzzy(0-3,0-7441) == border-image-repeating-radial-gradient-width.html border-image-repeating-radial-gradient-width-ref.html +fails-if(OSX) fuzzy(0-8,0-99728) == border-image-repeating-radial-gradient-slice-width.html border-image-repeating-radial-gradient-slice-width-ref.html +fuzzy(0-3,0-117768) == border-image-repeating-radial-gradient-repeat-repeat-2.html border-image-repeating-radial-gradient-repeat-repeat-2-ref.html +fails-if(OSX) fuzzy(0-3,0-116185) == border-image-repeating-radial-gradient-repeat-round-2.html border-image-repeating-radial-gradient-repeat-round-2-ref.html + +# border-image-source (-moz-)element +fuzzy(0-125,0-5903) == border-image-element.html border-image-element-ref.html + +# svg-as-border-image +== svg-as-border-image-1a.html svg-as-border-image-1-ref.html +== svg-as-border-image-1b.html svg-as-border-image-1-ref.html +== svg-as-border-image-1c.html svg-as-border-image-1-ref.html +== svg-as-border-image-2.html svg-as-border-image-2-ref.html +== svg-as-border-image-3.html svg-as-border-image-3-ref.html +== svg-as-border-image-4a.html svg-as-border-image-4-ref.html +== svg-as-border-image-4b.html svg-as-border-image-4-ref.html diff --git a/layout/reftests/border-image/repeat-image-1-ref.html b/layout/reftests/border-image/repeat-image-1-ref.html new file mode 100644 index 0000000000..73620462c5 --- /dev/null +++ b/layout/reftests/border-image/repeat-image-1-ref.html @@ -0,0 +1,57 @@ + + + + test of border-image + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + diff --git a/layout/reftests/border-image/repeat-image-1.html b/layout/reftests/border-image/repeat-image-1.html new file mode 100644 index 0000000000..87705a0b7c --- /dev/null +++ b/layout/reftests/border-image/repeat-image-1.html @@ -0,0 +1,35 @@ + + + + test of border-image + + + + + +
+ + + diff --git a/layout/reftests/border-image/reticule-bl.png b/layout/reftests/border-image/reticule-bl.png new file mode 100644 index 0000000000..6abbaf319f Binary files /dev/null and b/layout/reftests/border-image/reticule-bl.png differ diff --git a/layout/reftests/border-image/reticule-bo.png b/layout/reftests/border-image/reticule-bo.png new file mode 100644 index 0000000000..f72a67381c Binary files /dev/null and b/layout/reftests/border-image/reticule-bo.png differ diff --git a/layout/reftests/border-image/reticule-br.png b/layout/reftests/border-image/reticule-br.png new file mode 100644 index 0000000000..84e22afe2a Binary files /dev/null and b/layout/reftests/border-image/reticule-br.png differ diff --git a/layout/reftests/border-image/reticule-ct.png b/layout/reftests/border-image/reticule-ct.png new file mode 100644 index 0000000000..71ac10f611 Binary files /dev/null and b/layout/reftests/border-image/reticule-ct.png differ diff --git a/layout/reftests/border-image/reticule-le.png b/layout/reftests/border-image/reticule-le.png new file mode 100644 index 0000000000..abe56ffad6 Binary files /dev/null and b/layout/reftests/border-image/reticule-le.png differ diff --git a/layout/reftests/border-image/reticule-ri.png b/layout/reftests/border-image/reticule-ri.png new file mode 100644 index 0000000000..95d7db8423 Binary files /dev/null and b/layout/reftests/border-image/reticule-ri.png differ diff --git a/layout/reftests/border-image/reticule-tl.png b/layout/reftests/border-image/reticule-tl.png new file mode 100644 index 0000000000..8a3516998a Binary files /dev/null and b/layout/reftests/border-image/reticule-tl.png differ diff --git a/layout/reftests/border-image/reticule-to.png b/layout/reftests/border-image/reticule-to.png new file mode 100644 index 0000000000..d1b082c9ba Binary files /dev/null and b/layout/reftests/border-image/reticule-to.png differ diff --git a/layout/reftests/border-image/reticule-tr.png b/layout/reftests/border-image/reticule-tr.png new file mode 100644 index 0000000000..cd9bb5a5a4 Binary files /dev/null and b/layout/reftests/border-image/reticule-tr.png differ diff --git a/layout/reftests/border-image/reticule.png b/layout/reftests/border-image/reticule.png new file mode 100644 index 0000000000..02c7d10e76 Binary files /dev/null and b/layout/reftests/border-image/reticule.png differ diff --git a/layout/reftests/border-image/roundrectbutton.png b/layout/reftests/border-image/roundrectbutton.png new file mode 100644 index 0000000000..c194fdc5fb Binary files /dev/null and b/layout/reftests/border-image/roundrectbutton.png differ diff --git a/layout/reftests/border-image/side-scaling-1h-ref.html b/layout/reftests/border-image/side-scaling-1h-ref.html new file mode 100644 index 0000000000..2b306c385a --- /dev/null +++ b/layout/reftests/border-image/side-scaling-1h-ref.html @@ -0,0 +1,28 @@ + + +border-image: repeat with zero-height top and bottom + + +

+ + + + + + + + + +

+ diff --git a/layout/reftests/border-image/side-scaling-1h.html b/layout/reftests/border-image/side-scaling-1h.html new file mode 100644 index 0000000000..6ad0369af9 --- /dev/null +++ b/layout/reftests/border-image/side-scaling-1h.html @@ -0,0 +1,28 @@ + + +border-image: repeat with zero-height top and bottom + + +

+ + + + + + + + + +

+ diff --git a/layout/reftests/border-image/side-scaling-1v-ref.html b/layout/reftests/border-image/side-scaling-1v-ref.html new file mode 100644 index 0000000000..735ecf3cfa --- /dev/null +++ b/layout/reftests/border-image/side-scaling-1v-ref.html @@ -0,0 +1,28 @@ + + +border-image: repeat with zero-width left and right + + +

+ + + + + + + + + +

+ diff --git a/layout/reftests/border-image/side-scaling-1v.html b/layout/reftests/border-image/side-scaling-1v.html new file mode 100644 index 0000000000..b3c99f6a28 --- /dev/null +++ b/layout/reftests/border-image/side-scaling-1v.html @@ -0,0 +1,28 @@ + + +border-image: repeat with zero-width left and right + + +

+ + + + + + + + + +

+ diff --git a/layout/reftests/border-image/solid-image-1-ref.html b/layout/reftests/border-image/solid-image-1-ref.html new file mode 100644 index 0000000000..511dc115b7 --- /dev/null +++ b/layout/reftests/border-image/solid-image-1-ref.html @@ -0,0 +1,11 @@ + + + + test of border-image + + + + +
border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line
+ + diff --git a/layout/reftests/border-image/solid-image-1.html b/layout/reftests/border-image/solid-image-1.html new file mode 100644 index 0000000000..ef28ba1141 --- /dev/null +++ b/layout/reftests/border-image/solid-image-1.html @@ -0,0 +1,20 @@ + + + + test of border-image + + + + + +
border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line
+ + diff --git a/layout/reftests/border-image/solid-image-1a.html b/layout/reftests/border-image/solid-image-1a.html new file mode 100644 index 0000000000..af60a75e36 --- /dev/null +++ b/layout/reftests/border-image/solid-image-1a.html @@ -0,0 +1,19 @@ + + + + test of border-image + + + + + +
border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line
+ + diff --git a/layout/reftests/border-image/solid-image-2-ref.html b/layout/reftests/border-image/solid-image-2-ref.html new file mode 100644 index 0000000000..640791fea7 --- /dev/null +++ b/layout/reftests/border-image/solid-image-2-ref.html @@ -0,0 +1,38 @@ + + + + test of border-image + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/solid-image-2.html b/layout/reftests/border-image/solid-image-2.html new file mode 100644 index 0000000000..fe1837f511 --- /dev/null +++ b/layout/reftests/border-image/solid-image-2.html @@ -0,0 +1,42 @@ + + + + test of border-image + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/solid-image-2a.html b/layout/reftests/border-image/solid-image-2a.html new file mode 100644 index 0000000000..3e2f48f60d --- /dev/null +++ b/layout/reftests/border-image/solid-image-2a.html @@ -0,0 +1,42 @@ + + + + test of border-image + + + + + +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-1-ref.html b/layout/reftests/border-image/svg-as-border-image-1-ref.html new file mode 100644 index 0000000000..ea2a51381b --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-1-ref.html @@ -0,0 +1,19 @@ + + + +reference of svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-1a.html b/layout/reftests/border-image/svg-as-border-image-1a.html new file mode 100644 index 0000000000..6b5eaf405d --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-1a.html @@ -0,0 +1,18 @@ + + + +test of svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-1b.html b/layout/reftests/border-image/svg-as-border-image-1b.html new file mode 100644 index 0000000000..2c3e5d92bc --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-1b.html @@ -0,0 +1,18 @@ + + + +test of svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-1c.html b/layout/reftests/border-image/svg-as-border-image-1c.html new file mode 100644 index 0000000000..2ab2642e6b --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-1c.html @@ -0,0 +1,18 @@ + + + +test of svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-2-ref.html b/layout/reftests/border-image/svg-as-border-image-2-ref.html new file mode 100644 index 0000000000..72cd23b153 --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-2-ref.html @@ -0,0 +1,18 @@ + + + +reference for svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-2.html b/layout/reftests/border-image/svg-as-border-image-2.html new file mode 100644 index 0000000000..56d9e3b81c --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-2.html @@ -0,0 +1,18 @@ + + + +test of svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-3-ref.html b/layout/reftests/border-image/svg-as-border-image-3-ref.html new file mode 100644 index 0000000000..42c176b866 --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-3-ref.html @@ -0,0 +1,18 @@ + + + +reference for svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-3.html b/layout/reftests/border-image/svg-as-border-image-3.html new file mode 100644 index 0000000000..44403c15c1 --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-3.html @@ -0,0 +1,18 @@ + + + +test of svg-as-border-image + + + +
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-4-ref.html b/layout/reftests/border-image/svg-as-border-image-4-ref.html new file mode 100644 index 0000000000..1fcff1f834 --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-4-ref.html @@ -0,0 +1,24 @@ + + +reference of svg-as-border-image + + + +
+
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-4a.html b/layout/reftests/border-image/svg-as-border-image-4a.html new file mode 100644 index 0000000000..ec4f54e61a --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-4a.html @@ -0,0 +1,33 @@ + + +test of svg-as-border-image + + + + +
+
+ + diff --git a/layout/reftests/border-image/svg-as-border-image-4b.html b/layout/reftests/border-image/svg-as-border-image-4b.html new file mode 100644 index 0000000000..80600ebe90 --- /dev/null +++ b/layout/reftests/border-image/svg-as-border-image-4b.html @@ -0,0 +1,25 @@ + + +test of svg-as-border-image + + + +
+
+ + diff --git a/layout/reftests/border-image/transparent-image-1-ref.html b/layout/reftests/border-image/transparent-image-1-ref.html new file mode 100644 index 0000000000..cf1b72dfc7 --- /dev/null +++ b/layout/reftests/border-image/transparent-image-1-ref.html @@ -0,0 +1,11 @@ + + + + test of border-image + + + + +
border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line
+ + diff --git a/layout/reftests/border-image/transparent-image-1.html b/layout/reftests/border-image/transparent-image-1.html new file mode 100644 index 0000000000..397d470a45 --- /dev/null +++ b/layout/reftests/border-image/transparent-image-1.html @@ -0,0 +1,19 @@ + + + + test of border-image + + + + + +
border.png
second longer longer longer longer longer longer line
third longer longer longer longer longer longer line
+ + -- cgit v1.2.3