haikuwebkit/LayoutTests/animations/resources
Antoine Quint 76be41aab0 Correctly handle "auto" values when blending z-index
https://bugs.webkit.org/show_bug.cgi?id=222870

Reviewed by Dean Jackson.

LayoutTests/imported/w3c:

Add an extra 72 PASS results. We now pass all the z-index interpolation tests.

Another test has new failures, but this is expected, this test behaves the same way
across Firefox and Chrome as well.

* web-platform-tests/css/css-transitions/animations/z-index-interpolation-expected.txt:
* web-platform-tests/css/css-transitions/properties-value-auto-001-expected.txt:

Source/WebCore:

Create a dedicated wrapper for z-index such that we can handle "auto" values
instead of just blending an int.

* animation/CSSPropertyAnimation.cpp:
(WebCore::ZIndexPropertyWrapper::ZIndexPropertyWrapper):
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):

LayoutTests:

Fix the test animations/stacking-context-unchanged-while-running.html which made the
wrong assumption about blending of z-index with auto values. We now make this test
expect an "auto" value and update the helper to know how to deal with "auto" values
for "z-index".

* animations/resources/animation-test-helpers.js:
(getPropertyValue):
(comparePropertyValue):
* animations/stacking-context-unchanged-while-running.html:

Canonical link: https://commits.webkit.org/234991@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@274055 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-03-07 20:16:46 +00:00
..
anim.html
animation-leak-iframe.html
animation-test-helpers.js Correctly handle "auto" values when blending z-index 2021-03-07 20:16:46 +00:00
animation-test.js
blue-100.png
crash-on-removing-animation-window.html
dynamic-stylesheet-insertion-inserted.css
dynamic-stylesheet-insertion-main.css
green-100.png
keyframes.css
page-cache-helper.html
stop-animation-on-suspend-subframe.html
stripes-100.png