[Webkit-unassigned] [Bug 283507] New: Pack CSS::PrimitiveNumeric
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Nov 21 11:32:50 PST 2024
https://bugs.webkit.org/show_bug.cgi?id=283507
Bug ID: 283507
Summary: Pack CSS::PrimitiveNumeric
Product: WebKit
Version: Safari 18
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sam at webkit.org
Pack CSS::PrimitiveNumeric by replacing std::variant with a union, and using the CSSUnitType to determine the correct alternative.
An alternative we may want to explore in the future when we no longer have the old CSSValue system around is creating a type per unit (e.g. Px { double value; }; Em { double value; }; ...) and using a std::variant with them, but since we still need to utilize CSSUnitTypes for the moment, that would be less efficient.
--
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/20241121/9dc2d52f/attachment.htm>
More information about the webkit-unassigned
mailing list