Re: [csswg-drafts] [css-inline] CSS properties appply to SVG elements (#3411)

> line-height to text content elements (SVG2 actually misses to specify it)

The [SVG 2 prose](https://svgwg.org/svg2-draft/text.html#LineHeightProperty) is:

> SVG uses the line-height property to determine the amount of leading space which is added between lines in multi-line text (both for horizontal and vertical text). It is not applicable to text on a path.

Firefox is the only browser that has implemented `line-height` in SVG text content (for pre-formatted line breaks), and they support it on `<textPath>`, which seems logical enough for me. Probably should be an issue on the SVG spec.

-- 
GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3411#issuecomment-637651583 using your GitHub account

Received on Tuesday, 2 June 2020 16:06:56 UTC