You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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.
The text was updated successfully, but these errors were encountered:
This is now https://crbug.com/1480139. The WPT test css/css-pseudo/active-selection-031.html fails in part due to the fact that chromium paints selection using a box that extends beyond the em box.
Should we desire to spec this, I would propose that "Custom Highlight background painting should match the overlay painted for selection."
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:
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.
The text was updated successfully, but these errors were encountered: