Re: [csswg-drafts] Images with layout information (#4116)

> Note that, for bitmaps (using an SVG image), you can always embed invisible text to use for baselines.
> 
> The nice thing about deferring to a textual element is that you get all the baselines for free, not just one.

If you're creating artistic text using SVG paths, then even if you add invisible text for accessibility purposes, it's not going to have the correct set of baselines for alignment. If you're creating icons, then a random bit of invisible text isn't going to be useful for either accessibility or defining baselines.  So I wouldn't want to defer to embedded text for baselines unless that's the actual visible text that we want to align.

That said: If CSSWG decides that there isn't a need for a general CSS property to define baseline tables for a replaced element, we can discuss SVG-specific ways of defining baseline tables in SVG-WG (or SVG-CG).



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

Received on Monday, 22 July 2019 21:42:27 UTC