← back to v141 · support-width-and-height-as-presentation-attributes-on-nested-svg-elements

conformance · v141

v141 · support-width-and-height-as-presentation-attributes-on-nested-svg-elements — conformance probe

6 assertions drawn from the spec. Each is a single contract the spec text makes. Pass/fail reflects what this browser executed; blocked means the contract was not run because it needs user mediation, hardware, or another unavailable precondition. Open the page in Chrome stable / canary / Firefox / Safari to compare.

browser: spec: https://svgwg.org/svg2-draft/geometry.html#Sizing chromestatus: #5178789386256384 generated 2026-06-01T08:13:08Z by conformance-author-v1-subagent
0
pass
0
fail
0
blocked
6
total
id contract kind verdict detail
svg-element-supported SVGSVGElement is the type of a nested <svg> element on which width/height now apply as presentation attributes. exists
width-as-css-property CSS.supports recognises width as a property; the spec change makes width on nested <svg> a presentation attribute mapped to this CSS property. css-supports
height-as-css-property CSS.supports recognises height as a property; nested <svg> height is now equally a presentation attribute mapped to height. css-supports
nested-svg-width-attribute-reflects A nested <svg> with width='50' produces a getBBox width of 50 (the attribute is honoured by layout). script
css-width-overrides-attribute Setting style.width on a nested <svg> overrides the width presentation attribute via normal CSS cascade. script
svg-namespace-correct createElementNS with the SVG namespace produces an SVGElement; nested <svg> only counts when properly namespaced. script