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 --- .../svg/smil/container/deferred-anim-1-ref.xhtml | 12 +++ .../svg/smil/container/deferred-anim-1.xhtml | 70 +++++++++++++++++ .../svg/smil/container/deferred-tree-1-ref.xhtml | 15 ++++ .../svg/smil/container/deferred-tree-1.xhtml | 87 ++++++++++++++++++++++ .../svg/smil/container/deferred-tree-2-ref.xhtml | 17 +++++ .../svg/smil/container/deferred-tree-2a.xhtml | 44 +++++++++++ .../svg/smil/container/deferred-tree-2b.xhtml | 44 +++++++++++ .../svg/smil/container/deferred-tree-3-ref.xhtml | 17 +++++ .../svg/smil/container/deferred-tree-3a.xhtml | 35 +++++++++ .../svg/smil/container/deferred-tree-3b.xhtml | 35 +++++++++ .../svg/smil/container/deferred-tree-3c.xhtml | 40 ++++++++++ .../svg/smil/container/deferred-tree-3d.xhtml | 42 +++++++++++ .../svg/smil/container/deferred-tree-util.js | 39 ++++++++++ .../svg/smil/container/enveloped-tree-1-ref.xhtml | 25 +++++++ .../svg/smil/container/enveloped-tree-1.xhtml | 70 +++++++++++++++++ .../svg/smil/container/invalid-elem-1-ref.xhtml | 19 +++++ .../svg/smil/container/invalid-elem-1.xhtml | 74 ++++++++++++++++++ .../svg/smil/container/moved-tree-1-ref.xhtml | 31 ++++++++ .../reftests/svg/smil/container/moved-tree-1.xhtml | 74 ++++++++++++++++++ .../svg/smil/container/promoted-tree-1-ref.xhtml | 26 +++++++ .../svg/smil/container/promoted-tree-1.xhtml | 71 ++++++++++++++++++ layout/reftests/svg/smil/container/reftest.list | 18 +++++ 22 files changed, 905 insertions(+) create mode 100644 layout/reftests/svg/smil/container/deferred-anim-1-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-anim-1.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-1-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-1.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-2-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-2a.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-2b.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-3-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-3a.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-3b.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-3c.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-3d.xhtml create mode 100644 layout/reftests/svg/smil/container/deferred-tree-util.js create mode 100644 layout/reftests/svg/smil/container/enveloped-tree-1-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/enveloped-tree-1.xhtml create mode 100644 layout/reftests/svg/smil/container/invalid-elem-1-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/invalid-elem-1.xhtml create mode 100644 layout/reftests/svg/smil/container/moved-tree-1-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/moved-tree-1.xhtml create mode 100644 layout/reftests/svg/smil/container/promoted-tree-1-ref.xhtml create mode 100644 layout/reftests/svg/smil/container/promoted-tree-1.xhtml create mode 100644 layout/reftests/svg/smil/container/reftest.list (limited to 'layout/reftests/svg/smil/container') diff --git a/layout/reftests/svg/smil/container/deferred-anim-1-ref.xhtml b/layout/reftests/svg/smil/container/deferred-anim-1-ref.xhtml new file mode 100644 index 0000000000..ea59e77c8d --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-anim-1-ref.xhtml @@ -0,0 +1,12 @@ + + + + Deferred animation + + + + + + + + diff --git a/layout/reftests/svg/smil/container/deferred-anim-1.xhtml b/layout/reftests/svg/smil/container/deferred-anim-1.xhtml new file mode 100644 index 0000000000..0df307526f --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-anim-1.xhtml @@ -0,0 +1,70 @@ + + + + Deferred animation + + + + + + + + + + diff --git a/layout/reftests/svg/smil/container/deferred-tree-1-ref.xhtml b/layout/reftests/svg/smil/container/deferred-tree-1-ref.xhtml new file mode 100644 index 0000000000..e70151c7cc --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-1-ref.xhtml @@ -0,0 +1,15 @@ + + + + Deferred tree + + + +

+ + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-1.xhtml b/layout/reftests/svg/smil/container/deferred-tree-1.xhtml new file mode 100644 index 0000000000..1b700f180a --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-1.xhtml @@ -0,0 +1,87 @@ + + + + Deferred tree + + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-2-ref.xhtml b/layout/reftests/svg/smil/container/deferred-tree-2-ref.xhtml new file mode 100644 index 0000000000..8aff24fdd2 --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-2-ref.xhtml @@ -0,0 +1,17 @@ + + + + Deferred tree + + + +

+ + + + + + diff --git a/layout/reftests/svg/smil/container/deferred-tree-2a.xhtml b/layout/reftests/svg/smil/container/deferred-tree-2a.xhtml new file mode 100644 index 0000000000..821986a706 --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-2a.xhtml @@ -0,0 +1,44 @@ + + + + Deferred tree + + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-2b.xhtml b/layout/reftests/svg/smil/container/deferred-tree-2b.xhtml new file mode 100644 index 0000000000..890159f4c3 --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-2b.xhtml @@ -0,0 +1,44 @@ + + + + Deferred tree + + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-3-ref.xhtml b/layout/reftests/svg/smil/container/deferred-tree-3-ref.xhtml new file mode 100644 index 0000000000..96818ff54b --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-3-ref.xhtml @@ -0,0 +1,17 @@ + + + + Deferred tree + + + +

+ + + + + + diff --git a/layout/reftests/svg/smil/container/deferred-tree-3a.xhtml b/layout/reftests/svg/smil/container/deferred-tree-3a.xhtml new file mode 100644 index 0000000000..3d9fed19e9 --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-3a.xhtml @@ -0,0 +1,35 @@ + + + + Deferred tree + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-3b.xhtml b/layout/reftests/svg/smil/container/deferred-tree-3b.xhtml new file mode 100644 index 0000000000..ab894f54ef --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-3b.xhtml @@ -0,0 +1,35 @@ + + + + Deferred tree + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-3c.xhtml b/layout/reftests/svg/smil/container/deferred-tree-3c.xhtml new file mode 100644 index 0000000000..12dc91fe5d --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-3c.xhtml @@ -0,0 +1,40 @@ + + + + Deferred tree + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-3d.xhtml b/layout/reftests/svg/smil/container/deferred-tree-3d.xhtml new file mode 100644 index 0000000000..d5dc4d0a58 --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-3d.xhtml @@ -0,0 +1,42 @@ + + + + Deferred tree + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/deferred-tree-util.js b/layout/reftests/svg/smil/container/deferred-tree-util.js new file mode 100644 index 0000000000..71d0b41f53 --- /dev/null +++ b/layout/reftests/svg/smil/container/deferred-tree-util.js @@ -0,0 +1,39 @@ +function makeDiv() +{ + const xhtmlns="http://www.w3.org/1999/xhtml"; + return document.createElementNS(xhtmlns, 'div'); +} + +function makeSvg() +{ + const svgns="http://www.w3.org/2000/svg"; + var svg = document.createElementNS(svgns, 'svg'); + svg.setAttribute('xmlns', svgns); + svg.setAttribute('width', '200px'); + svg.setAttribute('height', '200px'); + var rect = document.createElementNS(svgns, 'rect'); + rect.setAttribute('x', '0'); + rect.setAttribute('y', '0'); + rect.setAttribute('width', '199'); + rect.setAttribute('height', '199'); + rect.setAttribute('style', 'fill: none; stroke: black'); + var ellipse = document.createElementNS(svgns, 'ellipse'); + ellipse.setAttribute('stroke-width', '1'); + ellipse.setAttribute('stroke', 'black'); + ellipse.setAttribute('fill', 'yellow'); + ellipse.setAttribute('cx', '100'); + ellipse.setAttribute('cy', '20'); + ellipse.setAttribute('rx', '40'); + ellipse.setAttribute('ry', '20'); + var anim = document.createElementNS(svgns, 'animate'); + anim.setAttribute('attributeName', 'cy'); + anim.setAttribute('attributeType', 'XML'); + anim.setAttribute('begin', '0s'); + anim.setAttribute('from', '20'); + anim.setAttribute('to', '170'); + anim.setAttribute('dur', '2s'); + ellipse.appendChild(anim); + svg.appendChild(rect); + svg.appendChild(ellipse); + return svg; +} diff --git a/layout/reftests/svg/smil/container/enveloped-tree-1-ref.xhtml b/layout/reftests/svg/smil/container/enveloped-tree-1-ref.xhtml new file mode 100644 index 0000000000..b529c052e3 --- /dev/null +++ b/layout/reftests/svg/smil/container/enveloped-tree-1-ref.xhtml @@ -0,0 +1,25 @@ + + + + Enveloped tree + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/smil/container/enveloped-tree-1.xhtml b/layout/reftests/svg/smil/container/enveloped-tree-1.xhtml new file mode 100644 index 0000000000..49d3db6b7c --- /dev/null +++ b/layout/reftests/svg/smil/container/enveloped-tree-1.xhtml @@ -0,0 +1,70 @@ + + + + Enveloped tree + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/smil/container/invalid-elem-1-ref.xhtml b/layout/reftests/svg/smil/container/invalid-elem-1-ref.xhtml new file mode 100644 index 0000000000..74a74adb49 --- /dev/null +++ b/layout/reftests/svg/smil/container/invalid-elem-1-ref.xhtml @@ -0,0 +1,19 @@ + + + + Valid, invalid, valid + + + + + + + + + + + + diff --git a/layout/reftests/svg/smil/container/invalid-elem-1.xhtml b/layout/reftests/svg/smil/container/invalid-elem-1.xhtml new file mode 100644 index 0000000000..3a2f79be14 --- /dev/null +++ b/layout/reftests/svg/smil/container/invalid-elem-1.xhtml @@ -0,0 +1,74 @@ + + + + Valid, invalid, valid + + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/smil/container/moved-tree-1-ref.xhtml b/layout/reftests/svg/smil/container/moved-tree-1-ref.xhtml new file mode 100644 index 0000000000..0041785b3a --- /dev/null +++ b/layout/reftests/svg/smil/container/moved-tree-1-ref.xhtml @@ -0,0 +1,31 @@ + + + + Moving sub-trees + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/smil/container/moved-tree-1.xhtml b/layout/reftests/svg/smil/container/moved-tree-1.xhtml new file mode 100644 index 0000000000..2206c8837d --- /dev/null +++ b/layout/reftests/svg/smil/container/moved-tree-1.xhtml @@ -0,0 +1,74 @@ + + + + Moving sub-trees + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/layout/reftests/svg/smil/container/promoted-tree-1-ref.xhtml b/layout/reftests/svg/smil/container/promoted-tree-1-ref.xhtml new file mode 100644 index 0000000000..9b40914541 --- /dev/null +++ b/layout/reftests/svg/smil/container/promoted-tree-1-ref.xhtml @@ -0,0 +1,26 @@ + + + + Promoted subtree + + + +

+ + + + + + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/promoted-tree-1.xhtml b/layout/reftests/svg/smil/container/promoted-tree-1.xhtml new file mode 100644 index 0000000000..f788d57e11 --- /dev/null +++ b/layout/reftests/svg/smil/container/promoted-tree-1.xhtml @@ -0,0 +1,71 @@ + + + + Promoted subtree + + + + + +

+ + + + + + + + + + + + + +

+ + diff --git a/layout/reftests/svg/smil/container/reftest.list b/layout/reftests/svg/smil/container/reftest.list new file mode 100644 index 0000000000..c492817d3f --- /dev/null +++ b/layout/reftests/svg/smil/container/reftest.list @@ -0,0 +1,18 @@ +# Tests related to SVG Animation (using SMIL), focusing on animation-sorting +# to see which animation takes precedence (out of multiple animations on the +# same attribute) + +random == enveloped-tree-1.xhtml enveloped-tree-1-ref.xhtml # bug 470868 +fuzzy(0-1,0-810) == promoted-tree-1.xhtml promoted-tree-1-ref.xhtml +random == moved-tree-1.xhtml moved-tree-1-ref.xhtml # bug 470868 +random-if(cocoaWidget||d2d) == deferred-anim-1.xhtml deferred-anim-1-ref.xhtml # bug 470868, bug 585484 +random-if(cocoaWidget&&layersGPUAccelerated) == deferred-tree-1.xhtml deferred-tree-1-ref.xhtml # bug 470868 +random-if(cocoaWidget&&layersGPUAccelerated) fuzzy(0-1,0-530) == deferred-tree-2a.xhtml deferred-tree-2-ref.xhtml # bug 470868 +random-if(cocoaWidget&&layersGPUAccelerated) fuzzy(0-1,0-530) == deferred-tree-2b.xhtml deferred-tree-2-ref.xhtml # bug 470868 +fuzzy(0-1,0-410) == deferred-tree-3a.xhtml deferred-tree-3-ref.xhtml +fuzzy(0-1,0-110) == deferred-tree-3b.xhtml deferred-tree-3-ref.xhtml +fuzzy(0-1,0-110) == deferred-tree-3c.xhtml deferred-tree-3-ref.xhtml +fuzzy(0-1,0-110) == deferred-tree-3d.xhtml deferred-tree-3-ref.xhtml +# this will occasionally fail until we correctly clear animation effects from +# no-longer-targeted elements +random == invalid-elem-1.xhtml invalid-elem-1-ref.xhtml -- cgit v1.2.3