Closed
Bug 1804406
Opened 2 years ago
Closed 2 years ago
Prevent internal SVG elements from becoming query containers for size features
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
109 Branch
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: Oriol, Assigned: Oriol)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
I'm not sure the spec is clear about this, but internal SVG elements don't generate CSS boxes, and both Blink and WebKit prevent them from becoming query containers for size features:
<!DOCTYPE html>
<style>
g { container-type: size }
@container (width >= 0) {
rect { fill: red }
}
</style>
<svg width="100" height="100">
<g><rect width="100" height="100"></rect></g>
</svg>
Assignee | ||
Comment 1•2 years ago
|
||
Pushed by oriol-bugzilla@hotmail.com:
https://hg.mozilla.org/integration/autoland/rev/e39ace891b11
Prevent internal SVG elements from becoming query containers for size features. r=emilio
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox109:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•