W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2018

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

From: Dirk Schulze via GitHub <sysbot+gh@w3.org>
Date: Sat, 08 Dec 2018 21:35:47 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-388961652-1544304946-sysbot+gh@w3.org>
dirkschulze has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-inline] CSS properties appply to SVG elements ==
Some of the properties in CSS inline apply to certain SVG elements as well. According to SVG2:
* `alignment-baseline` to `tspan` and `textPath` elements
* `baseline-shift` to `tspan` and `textPath` elements
* `dominent-baseline` to [text content elements](https://svgwg.org/svg2-draft/text.html#TermTextContentElement)
* `inline-sizing` to `text` elements (at-risk for SVG 2)
* `line-height`  to [text content elements](https://svgwg.org/svg2-draft/text.html#TermTextContentElement) (SVG2 actually misses to specify it) CC @AmeliaBR 

Those are the properties currently covered by SVG's text algorithms. Some of the other properties in CSS inline layout should apply to certain SVG elements as well in the future.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3411 using your GitHub account
Received on Saturday, 8 December 2018 21:35:49 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:40 UTC