[csswg-drafts] [css-highlight-api] Ensuring that the height of ::highlight and ::selection match (#8363)

fabiospampinato has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-highlight-api] Ensuring that the height of ::highlight and ::selection match ==
In the following screenshot taken under Chrome@latest one can see that the height of the dark background set with a ::highlight doesn't match the height of the blue selection:

<img width="116" alt="Screen Shot 2023-01-26 at 21 24 02" src="https://user-images.githubusercontent.com/1812093/214953984-2cd162d5-42be-4c41-8818-af7e1a5c03d7.png">

Reading the spec I can't figure out if this matches the spec or not. 

It looks like a bug to me because it means that one can't quite use ::highlight as a way to render multiple selections, since the height of the two seems to be calculated differently, which seems undesirable.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8363 using your GitHub account


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

Received on Thursday, 26 January 2023 21:29:06 UTC