Re: [csswg-drafts] [css-highlight-api] Support for some font styles and decorations (#8355)

I feel like this could be special cased in practice though, like if the user explicitly wants to make the font bold or italic via custom highlights then hopefully the browser could measure the box that a regular character would occupy, render the bold or italic character in there, and chop away anything that overflows, _forcing_ the highlight to not be layout affecting, whether it would have been layout affecting all things considered or not.

Like I think there's enough good that would be unlocked by this capability that is worth considering.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 25 September 2023 11:40:17 UTC