Bug 253937
| Summary: | Container query units should work inside SVG attributes | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | CSS | Assignee: | 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: | |||
Tim Nguyen (:ntim)
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
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/106739462>
Antti Koivisto
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.