Re: [svgwg] Can a container element (g) with transform applied establish a viewport? (#1016)

Is there something to clarify in the spec?

It currently says:

so for SVG inside SVG.

> Including an ‘[svg](https://www.w3.org/TR/SVG2/struct.html#SVGElement)’ element inside SVG content 
> * creates a new SVG viewport into which all contained graphics are drawn; 
> * this implicitly establishes both a new viewport coordinate system 
> * and a new user coordinate system. 
> * Additionally, there is a new meaning for percentage units therein, because a new SVG viewport has been established (see [Units](https://www.w3.org/TR/SVG2/coords.html#Units)).


Then it says:

> The following elements establish new SVG viewports:
> 
> * The ‘[svg](https://www.w3.org/TR/SVG2/struct.html#SVGElement)’ element
> * A ‘[symbol](https://www.w3.org/TR/SVG2/struct.html#SymbolElement)’ element that is instanced by a ‘[use](https://www.w3.org/TR/SVG2/struct.html#UseElement)’ element.

Nothing about `g`. 

But the question from @nullhook seems more related to `g` with a `transform`, not to the `svg` element. 





-- 
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1016#issuecomment-3459593621 using your GitHub account


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

Received on Wednesday, 29 October 2025 04:36:36 UTC