- From: Philip Rogers via GitHub <sysbot+gh@w3.org>
- Date: Mon, 29 Jul 2019 22:21:07 +0000
- To: public-css-archive@w3.org
I'm trying to work through what this would actually look like if we could specify baseline. I made a simple example: ``` <span style="background: lightblue; font-family: cursive; color: darkblue;"> Testing an integral <img src="https://pr.gg/integral.svg" style="height: 1.6em; vertical-align: middle"> symbol. </span> ``` Does the containing page needs to know more than just the baseline to correctly position an integral symbol? For example, what height should the page specify for the image? (possibly `height: 1lh` for one line-height?) Is just the baseline sufficient for the math usecase or are other font glyph properties needed? Should the `currentColor` attribute flow through the image too? This seems needed for dark mode (see: [this blog post](https://hiddedevries.nl/en/blog/2018-12-24-making-single-color-svg-icons-work-in-dark-mode)). -- GitHub Notification of comment by progers Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4116#issuecomment-516184471 using your GitHub account
Received on Monday, 29 July 2019 22:21:09 UTC