haikuwebkit/LayoutTests/transitions/resources
Antoine Quint 36c96d7941 calc() values resulting from blending mixed type lengths should be simplified
https://bugs.webkit.org/show_bug.cgi?id=224322

Reviewed by Sam Weinig.

LayoutTests/imported/w3c:

Mark 84 WPT progressions.

* web-platform-tests/css/css-backgrounds/animations/background-position-origin-interpolation-expected.txt:
* web-platform-tests/css/css-backgrounds/animations/border-image-width-interpolation-expected.txt:
* web-platform-tests/css/css-backgrounds/animations/border-radius-interpolation-expected.txt:
* web-platform-tests/css/css-shapes/animation/shape-outside-composition-expected.txt:
* web-platform-tests/css/css-shapes/animation/shape-outside-interpolation-expected.txt:
* web-platform-tests/css/css-sizing/animation/max-height-composition-expected.txt:
* web-platform-tests/css/css-sizing/animation/max-width-composition-expected.txt:
* web-platform-tests/css/css-sizing/animation/min-height-composition-expected.txt:
* web-platform-tests/css/css-sizing/animation/min-width-composition-expected.txt:
* web-platform-tests/css/css-transitions/animations/vertical-align-composition-expected.txt:
* web-platform-tests/css/css-transitions/animations/vertical-align-interpolation-expected.txt:
* web-platform-tests/css/css-values/animations/calc-interpolation-expected.txt:
* web-platform-tests/web-animations/animation-model/animation-types/interpolation-per-property-001-expected.txt:

Source/WebCore:

While we simplify calc() values upon parsing such that operations are resolved and
values are sorted (percentages first then alphabetically by unit), we didn't do this
when creating calc() values during blending of lengths of mixed types.

* css/CSSCalculationValue.cpp:
(WebCore::CSSCalcValue::create const):

LayoutTests:

Modify a few tests to account for the correct serialization.

* fast/css/object-position/parsing-object-position-expected.txt:
* fast/css/object-position/parsing-object-position.html:
* fast/shapes/shape-outside-floats/shape-outside-animation-expected.txt:
* fast/shapes/shape-outside-floats/shape-outside-animation.html:
* transitions/background-position-transitions.html:
* transitions/background-position-transitions-expected.txt:
* transitions/resources/transition-test-helpers.js: set computedValue such that
failures print out the actual value instead of "undefined".

Canonical link: https://commits.webkit.org/236341@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@275763 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-04-09 15:58:15 +00:00
..
Aurora.jpg
interrupted-accelerated-transition-final.html
transition-end-event-destroy-iframe-inner.html
transition-test-helpers.js calc() values resulting from blending mixed type lengths should be simplified 2021-04-09 15:58:15 +00:00