[svgwg] Check whether behaviour of new CSS3 units needs clarification in SVG context

BigBadaboom has just created a new issue for 
https://github.com/w3c/svgwg:

== Check whether behaviour of new CSS3 units needs clarification in 
SVG context ==
The SVG2 spec allows the use of the new CSS3 units (ch, rem, vw, vh, 
vmin, vmax and q), but doesn't say anything about their behaviour in 
an SVG context.

One of them is fine as already defined:
```
ch      width of the "0" (ZERO, U+0030) glyph in the element’s font
```

But the others might need clarification:
```
rem         font size of the root element
```
Is this the outermost `<svg>` element or the whole document?

```
vw      1% of viewport’s width
vh      1% of viewport’s height
vi      1% of viewport’s size in the root element’s inline axis
vb      1% of viewport’s size in the root element’s block axis
vmin     1% of viewport’s smaller dimension
vmax    1% of viewport’s larger dimension
```
Are we using the SVG viewport here or the entire page?  And `vi` and 
`vb` may also need clarification re root element.

The only browser I tried that appears to support these units is 
Chrome. It uses the HTML viewport for embedded SVG content and the 
`<html>` element for the "root element"-related units.



Please view or discuss this issue at 
https://github.com/w3c/svgwg/issues/207 using your GitHub account

Received on Thursday, 14 July 2016 13:11:38 UTC