Re: [svgwg] Wrong description of percentage units

> Ideally I would rewrite Chapter 8 to drop the notion that viewBox is optional. 

That's probably a more effective approach (and how I think of it). There is still the confusion between "the viewport element", which is what is being discussed in this paragraph, being separate from its viewport size.

Maybe it's best to avoid the viewport/viewBox confusion, and focus on the terms defined in the previous paragraph:

> Each SVG viewport generates a viewport coordinate system and a local coordinate system. The initial local coordinate system is defined by providing a ‘viewBox’ attribute on a viewport element, as described in [The ‘viewBox’ attribute](https://svgwg.org/svg2-draft/coords.html#ViewBoxAttribute).  If no `viewBox` attribute is provided, the initial local coordinate system is identical to the viewport coordinate system.
>
> Child elements of a viewport can further modify the local coordinate system, for example by specifying the transform property.
> 
> SVG viewports can be nested. Percentage units are resolved with reference to the initial local coordinate system of the nearest ancestral viewport-defining element, as defined in [Units](https://svgwg.org/svg2-draft/coords.html#Units).

I mean, the whole chapter could use a re-write. But, this is just an introduction that should be linking to the normative details later.


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

Received on Thursday, 9 August 2018 18:07:02 UTC