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, 15 Jul 2019 01:45:18 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-511254221-1563155117-sysbot+gh@w3.org>
> CSS could describe the semantic for such a thing, and could have a style-level override

The style override already exists, in the `vertical-align` property.  So it really comes down to CSS saying that replaced inline boxes can have baselines if the content inside them defines them to exist.  Then the layout would behave like an inline-block CSS box.

Also relevant: [CSS Inline 3 has a note](https://drafts.csswg.org/css-inline-3/#baseline-synthesis-replaced) about a possible `baseline-table` property that could define multiple baselines on an `<img>` or similar element, separate from the `vertical-align` property that defines which one to use.  For SVG, we could use the same property on the root element, and then define that the auto behavior of `baseline-table` is to use the values from the embedded file if they exist.

GitHub Notification of comment by AmeliaBR
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4116#issuecomment-511254221 using your GitHub account
Received on Monday, 15 July 2019 01:45:20 UTC

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