From 2aa4a82499d4becd2284cdb482213d541b8804dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 16:29:10 +0200 Subject: Adding upstream version 86.0.1. Signed-off-by: Daniel Baumann --- layout/reftests/web-animations/1246046-1.html | 25 ++++++++++ layout/reftests/web-animations/1267937-1.html | 58 ++++++++++++++++++++++ layout/reftests/web-animations/1267937-ref.html | 18 +++++++ layout/reftests/web-animations/1298742-1.html | 32 ++++++++++++ layout/reftests/web-animations/1298742-ref.html | 13 +++++ layout/reftests/web-animations/1363639-1.html | 28 +++++++++++ layout/reftests/web-animations/animation-utils.js | 13 +++++ .../cancel-animation-with-selector-matching.html | 26 ++++++++++ ...hild-in-animating-element-display-none-ref.html | 18 +++++++ .../child-in-animating-element-display-none.html | 33 ++++++++++++ layout/reftests/web-animations/green-box.html | 17 +++++++ layout/reftests/web-animations/reftest.list | 26 ++++++++++ .../web-animations/restyle-after-display-none.html | 43 ++++++++++++++++ ...king-context-animation-changing-target-ref.html | 24 +++++++++ .../stacking-context-animation-on-table-ref.html | 20 ++++++++ .../stacking-context-animation-ref.html | 19 +++++++ .../stacking-context-opacity-changing-effect.html | 33 ++++++++++++ ...context-opacity-changing-keyframe-in-delay.html | 30 +++++++++++ ...stacking-context-opacity-changing-keyframe.html | 28 +++++++++++ ...g-context-opacity-changing-target-in-delay.html | 36 ++++++++++++++ .../stacking-context-opacity-changing-target.html | 31 ++++++++++++ ...text-opacity-losing-css-animation-in-delay.html | 32 ++++++++++++ ...ontext-transform-changing-display-property.html | 29 +++++++++++ ...context-transform-changing-effect-on-table.html | 37 ++++++++++++++ ...stacking-context-transform-changing-effect.html | 35 +++++++++++++ ...ntext-transform-changing-keyframe-in-delay.html | 31 ++++++++++++ ...acking-context-transform-changing-keyframe.html | 28 +++++++++++ ...context-transform-changing-target-in-delay.html | 36 ++++++++++++++ ...stacking-context-transform-changing-target.html | 31 ++++++++++++ ...xt-transform-losing-css-animation-in-delay.html | 33 ++++++++++++ ...rm-none-animation-before-appending-element.html | 31 ++++++++++++ .../style-updates-for-iteration-composite-ref.html | 11 ++++ ...style-updates-on-current-iteration-changed.html | 25 ++++++++++ ...osition-changed-from-accumulate-to-replace.html | 28 +++++++++++ ...osition-changed-from-replace-to-accumulate.html | 28 +++++++++++ 35 files changed, 986 insertions(+) create mode 100644 layout/reftests/web-animations/1246046-1.html create mode 100644 layout/reftests/web-animations/1267937-1.html create mode 100644 layout/reftests/web-animations/1267937-ref.html create mode 100644 layout/reftests/web-animations/1298742-1.html create mode 100644 layout/reftests/web-animations/1298742-ref.html create mode 100644 layout/reftests/web-animations/1363639-1.html create mode 100644 layout/reftests/web-animations/animation-utils.js create mode 100644 layout/reftests/web-animations/cancel-animation-with-selector-matching.html create mode 100644 layout/reftests/web-animations/child-in-animating-element-display-none-ref.html create mode 100644 layout/reftests/web-animations/child-in-animating-element-display-none.html create mode 100644 layout/reftests/web-animations/green-box.html create mode 100644 layout/reftests/web-animations/reftest.list create mode 100644 layout/reftests/web-animations/restyle-after-display-none.html create mode 100644 layout/reftests/web-animations/stacking-context-animation-changing-target-ref.html create mode 100644 layout/reftests/web-animations/stacking-context-animation-on-table-ref.html create mode 100644 layout/reftests/web-animations/stacking-context-animation-ref.html create mode 100644 layout/reftests/web-animations/stacking-context-opacity-changing-effect.html create mode 100644 layout/reftests/web-animations/stacking-context-opacity-changing-keyframe-in-delay.html create mode 100644 layout/reftests/web-animations/stacking-context-opacity-changing-keyframe.html create mode 100644 layout/reftests/web-animations/stacking-context-opacity-changing-target-in-delay.html create mode 100644 layout/reftests/web-animations/stacking-context-opacity-changing-target.html create mode 100644 layout/reftests/web-animations/stacking-context-opacity-losing-css-animation-in-delay.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-changing-display-property.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-changing-effect-on-table.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-changing-effect.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-changing-keyframe-in-delay.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-changing-keyframe.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-changing-target-in-delay.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-changing-target.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-losing-css-animation-in-delay.html create mode 100644 layout/reftests/web-animations/stacking-context-transform-none-animation-before-appending-element.html create mode 100644 layout/reftests/web-animations/style-updates-for-iteration-composite-ref.html create mode 100644 layout/reftests/web-animations/style-updates-on-current-iteration-changed.html create mode 100644 layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-accumulate-to-replace.html create mode 100644 layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-replace-to-accumulate.html (limited to 'layout/reftests/web-animations') diff --git a/layout/reftests/web-animations/1246046-1.html b/layout/reftests/web-animations/1246046-1.html new file mode 100644 index 0000000000..ced7e5b283 --- /dev/null +++ b/layout/reftests/web-animations/1246046-1.html @@ -0,0 +1,25 @@ + + + + + Bug 1246046 + + + +
+ + + diff --git a/layout/reftests/web-animations/1267937-1.html b/layout/reftests/web-animations/1267937-1.html new file mode 100644 index 0000000000..6288ec1628 --- /dev/null +++ b/layout/reftests/web-animations/1267937-1.html @@ -0,0 +1,58 @@ + + + + +Bug 1267937 + + + +
+ + + diff --git a/layout/reftests/web-animations/1267937-ref.html b/layout/reftests/web-animations/1267937-ref.html new file mode 100644 index 0000000000..538e27fde8 --- /dev/null +++ b/layout/reftests/web-animations/1267937-ref.html @@ -0,0 +1,18 @@ + + + + +Reference of bug 1267937 + + + +
+ + diff --git a/layout/reftests/web-animations/1298742-1.html b/layout/reftests/web-animations/1298742-1.html new file mode 100644 index 0000000000..fcca85f4ad --- /dev/null +++ b/layout/reftests/web-animations/1298742-1.html @@ -0,0 +1,32 @@ + + +Bug 1298742 + +
+ + diff --git a/layout/reftests/web-animations/1298742-ref.html b/layout/reftests/web-animations/1298742-ref.html new file mode 100644 index 0000000000..7cb860e9d4 --- /dev/null +++ b/layout/reftests/web-animations/1298742-ref.html @@ -0,0 +1,13 @@ + + +Reference of bug 1298742 + +
+ diff --git a/layout/reftests/web-animations/1363639-1.html b/layout/reftests/web-animations/1363639-1.html new file mode 100644 index 0000000000..e18a8f16f8 --- /dev/null +++ b/layout/reftests/web-animations/1363639-1.html @@ -0,0 +1,28 @@ + + + + + Bug 1363639 + + + +
+ + + diff --git a/layout/reftests/web-animations/animation-utils.js b/layout/reftests/web-animations/animation-utils.js new file mode 100644 index 0000000000..d34ba635a1 --- /dev/null +++ b/layout/reftests/web-animations/animation-utils.js @@ -0,0 +1,13 @@ +function waitForIterationChange(animation) { + var initialIteration = animation.effect.getComputedTiming().currentIteration; + return new Promise(resolve => { + window.requestAnimationFrame(handleFrame = () => { + if (animation.effect.getComputedTiming().currentIteration != + initialIteration) { + resolve(); + } else { + window.requestAnimationFrame(handleFrame); + } + }); + }); +} diff --git a/layout/reftests/web-animations/cancel-animation-with-selector-matching.html b/layout/reftests/web-animations/cancel-animation-with-selector-matching.html new file mode 100644 index 0000000000..7c78bc414e --- /dev/null +++ b/layout/reftests/web-animations/cancel-animation-with-selector-matching.html @@ -0,0 +1,26 @@ + + +Discard cancelled animation styles + +
+ diff --git a/layout/reftests/web-animations/child-in-animating-element-display-none-ref.html b/layout/reftests/web-animations/child-in-animating-element-display-none-ref.html new file mode 100644 index 0000000000..9a5a1dec96 --- /dev/null +++ b/layout/reftests/web-animations/child-in-animating-element-display-none-ref.html @@ -0,0 +1,18 @@ + + + +
+
+
+ diff --git a/layout/reftests/web-animations/child-in-animating-element-display-none.html b/layout/reftests/web-animations/child-in-animating-element-display-none.html new file mode 100644 index 0000000000..57ad9f1ad2 --- /dev/null +++ b/layout/reftests/web-animations/child-in-animating-element-display-none.html @@ -0,0 +1,33 @@ + + + +Child element in animating element that display property is changed from none + + +
+
+
+ + diff --git a/layout/reftests/web-animations/green-box.html b/layout/reftests/web-animations/green-box.html new file mode 100644 index 0000000000..5f5b4d11fe --- /dev/null +++ b/layout/reftests/web-animations/green-box.html @@ -0,0 +1,17 @@ + + + + + Reference green box + + + +
+ + diff --git a/layout/reftests/web-animations/reftest.list b/layout/reftests/web-animations/reftest.list new file mode 100644 index 0000000000..6dea1aee4d --- /dev/null +++ b/layout/reftests/web-animations/reftest.list @@ -0,0 +1,26 @@ +== 1246046-1.html green-box.html +test-pref(dom.animations-api.core.enabled,true) == 1267937-1.html 1267937-ref.html +test-pref(dom.animations-api.core.enabled,true) == 1298742-1.html 1298742-ref.html +== 1363639-1.html green-box.html +== restyle-after-display-none.html green-box.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-none-animation-before-appending-element.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-opacity-changing-keyframe.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-opacity-changing-keyframe-in-delay.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-opacity-changing-target.html stacking-context-animation-changing-target-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-opacity-changing-target-in-delay.html stacking-context-animation-changing-target-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-opacity-changing-effect.html stacking-context-animation-ref.html +== stacking-context-opacity-losing-css-animation-in-delay.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-changing-keyframe.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-changing-keyframe-in-delay.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-changing-target.html stacking-context-animation-changing-target-ref.html + +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-changing-target-in-delay.html stacking-context-animation-changing-target-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-changing-effect.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-changing-effect-on-table.html stacking-context-animation-on-table-ref.html +test-pref(dom.animations-api.core.enabled,true) == stacking-context-transform-changing-display-property.html stacking-context-animation-ref.html +== stacking-context-transform-losing-css-animation-in-delay.html stacking-context-animation-ref.html +test-pref(dom.animations-api.core.enabled,true) test-pref(dom.animations-api.compositing.enabled,true) == style-updates-on-iteration-composition-changed-from-accumulate-to-replace.html style-updates-for-iteration-composite-ref.html +test-pref(dom.animations-api.core.enabled,true) test-pref(dom.animations-api.compositing.enabled,true) == style-updates-on-iteration-composition-changed-from-replace-to-accumulate.html style-updates-for-iteration-composite-ref.html +test-pref(dom.animations-api.core.enabled,true) test-pref(dom.animations-api.compositing.enabled,true) == style-updates-on-current-iteration-changed.html style-updates-for-iteration-composite-ref.html +test-pref(dom.animations-api.core.enabled,true) == cancel-animation-with-selector-matching.html about:blank +== child-in-animating-element-display-none.html child-in-animating-element-display-none-ref.html diff --git a/layout/reftests/web-animations/restyle-after-display-none.html b/layout/reftests/web-animations/restyle-after-display-none.html new file mode 100644 index 0000000000..16c0f916b9 --- /dev/null +++ b/layout/reftests/web-animations/restyle-after-display-none.html @@ -0,0 +1,43 @@ + + + + +Check for animation restyling on an element's initial restyling after leaving a display:none subtree + + + +
+ + + diff --git a/layout/reftests/web-animations/stacking-context-animation-changing-target-ref.html b/layout/reftests/web-animations/stacking-context-animation-changing-target-ref.html new file mode 100644 index 0000000000..ddc5c8c1d0 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-animation-changing-target-ref.html @@ -0,0 +1,24 @@ + +Reference of testcases for bug 1279403 + + +
+
diff --git a/layout/reftests/web-animations/stacking-context-animation-on-table-ref.html b/layout/reftests/web-animations/stacking-context-animation-on-table-ref.html new file mode 100644 index 0000000000..286602e45f --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-animation-on-table-ref.html @@ -0,0 +1,20 @@ + +Reference of testcases for bug 1273042 + + +
diff --git a/layout/reftests/web-animations/stacking-context-animation-ref.html b/layout/reftests/web-animations/stacking-context-animation-ref.html new file mode 100644 index 0000000000..817056c1ce --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-animation-ref.html @@ -0,0 +1,19 @@ + +Reference of testcases for bug 1273042 + + +
diff --git a/layout/reftests/web-animations/stacking-context-opacity-changing-effect.html b/layout/reftests/web-animations/stacking-context-opacity-changing-effect.html new file mode 100644 index 0000000000..6d5324e132 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-opacity-changing-effect.html @@ -0,0 +1,33 @@ + + + + Opacity animation creates a stacking context after changing effects + + + +
+ + diff --git a/layout/reftests/web-animations/stacking-context-opacity-changing-keyframe-in-delay.html b/layout/reftests/web-animations/stacking-context-opacity-changing-keyframe-in-delay.html new file mode 100644 index 0000000000..e0864f1d58 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-opacity-changing-keyframe-in-delay.html @@ -0,0 +1,30 @@ + + + +Changing keyframes to opacity frames creates a stacking context even if the +animation is delay phase + + + +
+ diff --git a/layout/reftests/web-animations/stacking-context-opacity-changing-keyframe.html b/layout/reftests/web-animations/stacking-context-opacity-changing-keyframe.html new file mode 100644 index 0000000000..44676d9199 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-opacity-changing-keyframe.html @@ -0,0 +1,28 @@ + + +Changing keyframes to opacity frames creates a stacking context + + +
+ diff --git a/layout/reftests/web-animations/stacking-context-opacity-changing-target-in-delay.html b/layout/reftests/web-animations/stacking-context-opacity-changing-target-in-delay.html new file mode 100644 index 0000000000..8a568f8b0b --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-opacity-changing-target-in-delay.html @@ -0,0 +1,36 @@ + + + +Changing target to an element that does not override opacity animations +creates a stacking context even if the animation is delay phase + + + +
+
+ diff --git a/layout/reftests/web-animations/stacking-context-opacity-changing-target.html b/layout/reftests/web-animations/stacking-context-opacity-changing-target.html new file mode 100644 index 0000000000..f1fdb8b442 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-opacity-changing-target.html @@ -0,0 +1,31 @@ + + + +Opacity animation creates a stacking context when changing its target + + + +
+
+ diff --git a/layout/reftests/web-animations/stacking-context-opacity-losing-css-animation-in-delay.html b/layout/reftests/web-animations/stacking-context-opacity-losing-css-animation-in-delay.html new file mode 100644 index 0000000000..01aaa091eb --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-opacity-losing-css-animation-in-delay.html @@ -0,0 +1,32 @@ + + +CSS opacity animation winning over web animation in delay phase creates +a stacking context + + + +
+ diff --git a/layout/reftests/web-animations/stacking-context-transform-changing-display-property.html b/layout/reftests/web-animations/stacking-context-transform-changing-display-property.html new file mode 100644 index 0000000000..325b6eda3d --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-changing-display-property.html @@ -0,0 +1,29 @@ + + + +Transform animation creates a stacking context when changing its display style + + + +
+ diff --git a/layout/reftests/web-animations/stacking-context-transform-changing-effect-on-table.html b/layout/reftests/web-animations/stacking-context-transform-changing-effect-on-table.html new file mode 100644 index 0000000000..76dbfce276 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-changing-effect-on-table.html @@ -0,0 +1,37 @@ + + + + Transform animation on a display:table element creates a stacking context + after changing effects + + + +
+ + diff --git a/layout/reftests/web-animations/stacking-context-transform-changing-effect.html b/layout/reftests/web-animations/stacking-context-transform-changing-effect.html new file mode 100644 index 0000000000..5e3842df36 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-changing-effect.html @@ -0,0 +1,35 @@ + + + + Transform animation creates a stacking context after changing effects + + + +
+ + diff --git a/layout/reftests/web-animations/stacking-context-transform-changing-keyframe-in-delay.html b/layout/reftests/web-animations/stacking-context-transform-changing-keyframe-in-delay.html new file mode 100644 index 0000000000..b11c4d83fb --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-changing-keyframe-in-delay.html @@ -0,0 +1,31 @@ + + + +Changing keyframes to transform frames creates a stacking context even if the +animation is delay phase + + + +
+ diff --git a/layout/reftests/web-animations/stacking-context-transform-changing-keyframe.html b/layout/reftests/web-animations/stacking-context-transform-changing-keyframe.html new file mode 100644 index 0000000000..e92cdef2e5 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-changing-keyframe.html @@ -0,0 +1,28 @@ + + +Changing keyframes to transform frames creates a stacking context + + +
+ diff --git a/layout/reftests/web-animations/stacking-context-transform-changing-target-in-delay.html b/layout/reftests/web-animations/stacking-context-transform-changing-target-in-delay.html new file mode 100644 index 0000000000..f121990a84 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-changing-target-in-delay.html @@ -0,0 +1,36 @@ + + + +Changing target to an element that does not overrider transform animations +creates a stacking context even if the animation is delay phase + + + +
+
+ diff --git a/layout/reftests/web-animations/stacking-context-transform-changing-target.html b/layout/reftests/web-animations/stacking-context-transform-changing-target.html new file mode 100644 index 0000000000..be9e4cfd42 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-changing-target.html @@ -0,0 +1,31 @@ + + + +Transform animation creates a stacking context when changing its target + + + +
+
+ diff --git a/layout/reftests/web-animations/stacking-context-transform-losing-css-animation-in-delay.html b/layout/reftests/web-animations/stacking-context-transform-losing-css-animation-in-delay.html new file mode 100644 index 0000000000..2ff9049eec --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-losing-css-animation-in-delay.html @@ -0,0 +1,33 @@ + + +CSS transform animation winning over web animation in delay phase creates +a stacking context + + + +
+ diff --git a/layout/reftests/web-animations/stacking-context-transform-none-animation-before-appending-element.html b/layout/reftests/web-animations/stacking-context-transform-none-animation-before-appending-element.html new file mode 100644 index 0000000000..2fe3cb8667 --- /dev/null +++ b/layout/reftests/web-animations/stacking-context-transform-none-animation-before-appending-element.html @@ -0,0 +1,31 @@ + + + +Transform animation whose target is not initially associated with any document creates a stacking context even if it has only 'transform:none' in its keyframe + + + diff --git a/layout/reftests/web-animations/style-updates-for-iteration-composite-ref.html b/layout/reftests/web-animations/style-updates-for-iteration-composite-ref.html new file mode 100644 index 0000000000..229e89117f --- /dev/null +++ b/layout/reftests/web-animations/style-updates-for-iteration-composite-ref.html @@ -0,0 +1,11 @@ + + +Reference of testcases for bug 1216843 + +
diff --git a/layout/reftests/web-animations/style-updates-on-current-iteration-changed.html b/layout/reftests/web-animations/style-updates-on-current-iteration-changed.html new file mode 100644 index 0000000000..3713a2c2ec --- /dev/null +++ b/layout/reftests/web-animations/style-updates-on-current-iteration-changed.html @@ -0,0 +1,25 @@ + + +Update styles when current iteration changed + + +
+ diff --git a/layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-accumulate-to-replace.html b/layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-accumulate-to-replace.html new file mode 100644 index 0000000000..e6a111e83d --- /dev/null +++ b/layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-accumulate-to-replace.html @@ -0,0 +1,28 @@ + + +Update styles when iteration composition changed from accumulate to +replace + + +
+ diff --git a/layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-replace-to-accumulate.html b/layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-replace-to-accumulate.html new file mode 100644 index 0000000000..bf4d40b259 --- /dev/null +++ b/layout/reftests/web-animations/style-updates-on-iteration-composition-changed-from-replace-to-accumulate.html @@ -0,0 +1,28 @@ + + +Update styles when iteration composition changed from replace to +accumulate + + +
+ -- cgit v1.2.3