|
|
| SVG Text Features | Name | Info / Comments | Required | Support |
|
|
|
|--------------------------|---------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------|----------|---------------------|
|
|
|
| Required Properties | text-overflow | | X | |
|
|
|
| | text-align | | X | |
|
|
|
| | text-align-all | | X | |
|
|
|
| | text-align-last | | X | |
|
|
|
| | text-indent | | X | |
|
|
|
| | white-space | | X | |
|
|
|
| | text-space-collapse | | X | |
|
|
|
| | vertical-align | | X | |
|
|
|
| | font-feature-settings | | X | |
|
|
|
| | font-kerning | | X | |
|
|
|
| | font-size-adjust | | X | |
|
|
|
| | font-variant | | X | |
|
|
|
| | text-decoration | | X | |
|
|
|
| | text-decoration-fill | | X | |
|
|
|
| | text-decoration-stroke | | X | |
|
|
|
| Text Layout | CSS based multi-line text for ‘text content elements’ | | | |
|
|
|
| | - text area is contrained using 'inline-size' | | | |
|
|
|
| | - SVG creates a 'content area' and defers to CSS to perform layout within that area | | | |
|
|
|
| | Support more whitespace preservation options using CSS white-space property | | | |
|
|
|
| | shape-inside | To support text in shape | | |
|
|
|
| | shape-subtract | | | |
|
|
|
| | shape-image-threshold | text in a shape modifier | | |
|
|
|
| | shape-padding | | | |
|
|
|
| | shape-margin | | | |
|
|
|
| Text on path changes | textPath | now can directly specify path data through path attribute | | |
|
|
|
| | textPath | allow referencing basic shapes | | |
|
|
|
| | side | attribute added to textPath to enable control of which side the path text is placed on | | |
|
|
|
| | Clarify other areas where there have been inconsistencies | | | |
|
|
|
| | CSS/OpenType font feature support | alternate glyphs, font-variant, etc | Y | |
|
|
|
| | Support for @font-face roles | | Y | |
|
|
|
| | vector-effect | non-scaling-size, non-rotation, and fixed position as options (plus non-scaling-stroke) | X | |
|
|
|
|
|
|
|||||| |
|
|
\ No newline at end of file |