[svgwg] Pull Request: Clarify that CSS width/height properties only apply to outer svg elements

goldenboy777 has just submitted a new pull request for https://github.com/w3c/svgwg:

== Clarify that CSS width/height properties only apply to outer svg elements ==
Per the [SVG WG resolution from 2026-02-05](https://www.w3.org/2026/02/05-svg-minutes.html#cba7):

> The CSS width/height properties are honored as presentation attributes for rect, image, foreignObject and outer-SVG elements and ignored by all other elements with the width/height attributes.

This change updates Section 7.8 (Sizing properties) to:

- Clarify that CSS `width` and `height` properties apply only to the **outermost** `<svg>` element, not nested ones
- Add a note explicitly stating that nested `<svg>`, `<use>`, and `<symbol>` elements have width/height attributes but do **not** accept them as CSS properties—they must be specified as XML attributes

See https://github.com/w3c/svgwg/pull/1059


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 8 February 2026 14:24:18 UTC