[svgwg] Allow line-height (and pre-formatted line breaks) on textPath (#799)

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

== Allow line-height (and pre-formatted line breaks) on textPath ==
Regarding `line-height`, [SVG 2 currently says](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.

The Firefox implementation recognizes line-height when applying pre-formatted line breaks to text on a path, I saw no reason to forbid it when updating the property definitions in CSS Inline (see https://github.com/w3c/csswg-drafts/issues/3411 for discussion).

Note that I also matched existing implementations for which SVG text content elements the other alignment properties, which expands them compared to SVG 1.1 definitions.


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

Received on Wednesday, 10 June 2020 03:58:57 UTC