- From: Karl Dubost via GitHub <noreply@w3.org>
- Date: Fri, 27 Feb 2026 02:18:12 +0000
- To: public-svg-issues@w3.org
karlcow has just merged goldenboy777's pull request 1059 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 Friday, 27 February 2026 02:18:13 UTC