Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1166d972ab8594ecf6202b5dfb7e4b9e674b2abe
https://github.com/WebKit/WebKit/commit/1166d972ab8594ecf6202b5dfb7e4b9e674b2abe
Author: Antoine Quint <[email protected]>
Date: 2024-04-05 (Fri, 05 Apr 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/web-animations/responsive/width-expected.txt
M Source/WebCore/platform/Length.cpp
Log Message:
-----------
[web-animations] web-animations/responsive/width.html is a failure
https://bugs.webkit.org/show_bug.cgi?id=272084
Reviewed by Antti Koivisto.
In 242527@main, a check was added to return a zero-length in cases where we
were trying to
blending lengths with mixed types, but one used a keyword. In the case of the
WPT test
web-animations/responsive/width.html which tested `width` blending between
`min-content`
and a fixed value, this meant that we would always resolve a zero-width for the
first half
such an animation, instead of returning `min-content`.
We adjust the change made in 242527@main to deal with "intrinsic" values
specifically since
these will always yield discrete interpolation, as established by
`canInterpolateLengths()`,
and thus we can return either the "from" or "to" value.
*
LayoutTests/imported/w3c/web-platform-tests/web-animations/responsive/width-expected.txt:
* Source/WebCore/platform/Length.cpp:
(WebCore::blendMixedTypes):
Canonical link: https://commits.webkit.org/277112@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes