RESOLVED FIXED 278969
Length CSSPrimitiveValue::resolveAsLength() casts to double then Length casts to float
https://bugs.webkit.org/show_bug.cgi?id=278969
Summary Length CSSPrimitiveValue::resolveAsLength() casts to double then Length casts...
Simon Fraser (smfr)
Reported 2024-08-31 12:49:32 PDT
This doesn't make much sense. When we create a Length for a Fixed length, CSSPrimitiveValue::resolveAsLength does Length(clampTo<double>(resolveAsLengthDouble(conversionData)..., but then the Length ctor does : m_floatValue(static_cast<float>(value))
Attachments
Radar WebKit Bug Importer
Comment 1 2024-08-31 12:49:47 PDT
Simon Fraser (smfr)
Comment 2 2024-08-31 12:55:11 PDT
EWS
Comment 3 2024-09-01 08:58:50 PDT
Committed 283037@main (7e186a333e75): <https://commits.webkit.org/283037@main> Reviewed commits have been landed. Closing PR #32989 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.