Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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
- Loading branch information