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

> 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