W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2019

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

From: Amelia Bellamy-Royds via GitHub <sysbot+gh@w3.org>
Date: Mon, 22 Jul 2019 21:42:26 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-513966167-1563831744-sysbot+gh@w3.org>
> 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

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