[svgwg] Issue: Check whether behaviour of new CSS3 units needs clarification in SVG context marked as SVG 2

AmeliaBR has just labeled an issue for https://github.com/w3c/svgwg as
 "SVG 2":

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

Two of them are fine as already defined:
```
q       quarter-millimeters
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.  The units work when the SVG is embedded in HTML, but not for 
standalone SVG files.  When embedded, Chrome uses the HTML viewport 
and the `<html>` element for unit calculations.



See https://github.com/w3c/svgwg/issues/207

Received on Thursday, 14 July 2016 15:43:19 UTC