Bug 306833

Summary: [SVG] Convert SVGTextChunk::ChunkStyle to enum class with OptionSet for type safety
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: SVGAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

David Kilzer (:ddkilzer)
Reported 2026-02-02 20:43:23 PST
The SVGTextChunk class uses an unscoped ChunkStyle enum with unsigned member variable for bitfield operations. This approach lacks type safety and uses less expressive bitwise operations instead of semantic method calls.
Attachments
Radar WebKit Bug Importer
Comment 1 2026-02-02 20:58:45 PST
David Kilzer (:ddkilzer)
Comment 2 2026-02-02 22:02:14 PST
EWS
Comment 3 2026-02-03 14:24:02 PST
Committed 306732@main (e06b3d98e63b): <https://commits.webkit.org/306732@main> Reviewed commits have been landed. Closing PR #57755 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.