[Webkit-unassigned] [Bug 278969] New: Length CSSPrimitiveValue::resolveAsLength() casts to double then Length casts to float
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 31 12:49:32 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=278969
Bug ID: 278969
Summary: Length CSSPrimitiveValue::resolveAsLength() casts to
double then Length casts to float
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: simon.fraser at apple.com
CC: koivisto at iki.fi
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))
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240831/9016203d/attachment-0001.htm>
More information about the webkit-unassigned
mailing list