Bug 253937

Summary: Container query units should work inside SVG attributes
Product: WebKit Reporter: Tim Nguyen (:ntim) <ntim>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, koivisto, webkit-bug-importer
Priority: P2 Keywords: InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
URL: https://wpt.fyi/results/css/css-contain/container-queries/container-units-svglength.html?label=master&label=experimental&product=chrome&product=firefox&product=safari&aligned&view=interop&q=label%3Ainterop-2023-container
Bug Depends on: 258003    
Bug Blocks:    

Attachments
Radar WebKit Bug Importer
Comment 1 2023-03-14 23:25:00 PDT
Antti Koivisto
Comment 2 2023-08-23 16:28:57 PDT
Currently our SVGLength code only supports unit types defined in SVGLengthType enum: enum class SVGLengthType : uint8_t { Unknown = 0, Number, Percentage, Ems, Exs, Pixels, Centimeters, Millimeters, Inches, Points, Picas }; Per spec (https://svgwg.org/svg2-draft/types.html#InterfaceSVGLength) other types can be supported too. This is not a container unit specific issue but a general SVG issue.
Note You need to log in before you can comment on or make changes to this bug.