Skip to content

[css-inline] CSS properties appply to SVG elements #3411

@dirkschulze

Description

@dirkschulze

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
  • inline-sizing to text elements (at-risk for SVG 2)
  • line-height to text content elements (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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions