Summary: | Incorrect Length constructor used after blending negative Length | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Gabriel Nava Marino <gnavamarino> | ||||||||||
Component: | Animations | Assignee: | Nobody <webkit-unassigned> | ||||||||||
Status: | RESOLVED FIXED | ||||||||||||
Severity: | Normal | CC: | dino, fpizlo, graouts, graouts, simon.fraser, webkit-bug-importer | ||||||||||
Priority: | P2 | Keywords: | InRadar | ||||||||||
Version: | WebKit Nightly Build | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Attachments: |
|
Description
Gabriel Nava Marino
2021-09-27 18:25:37 PDT
Created attachment 439425 [details]
Patch
Created attachment 439870 [details]
Patch
Smaller scope patch that still addresses the issue. Created attachment 440076 [details]
Patch
Comment on attachment 440076 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=440076&action=review > Source/WebCore/platform/Length.cpp:344 > + LengthType type = from.isZero() ? to.type() : from.type(); You can use `auto` here. > Source/WebCore/style/StyleBuilderConverter.h:321 > + Length length = value.computeLength<Length>(conversionData); You can use `auto` here. Created attachment 440113 [details]
Patch
Committed r283568 (242533@main): <https://commits.webkit.org/242533@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440113 [details]. |