- From: Oriol Brufau via GitHub <sysbot+gh@w3.org>
- Date: Sat, 28 Jan 2023 19:24:06 +0000
- To: public-css-archive@w3.org
https://drafts.csswg.org/css-pseudo/#highlight-bounds > For text, the corresponding overlay must cover at least the entire em box and may extend further above/below the em box to the line box edges. https://drafts.csswg.org/css-highlight-api/#painting > The painting of [custom highlights](https://drafts.csswg.org/css-highlight-api/#custom-highlight) is also handled identically to that of the built-in [highlight pseudo-elements](https://drafts.csswg.org/css-pseudo-4/#highlight-pseudo-element), as specified in [CSS Pseudo-Elements 4 § 3.4 Area of a Highlight](https://drafts.csswg.org/css-pseudo-4/#highlight-bounds) and [CSS Pseudo-Elements 4 § 3.6 Painting the Highlight](https://drafts.csswg.org/css-pseudo-4/#highlight-painting) I guess this allows some highlights to be taller than others, but it doesn't look great. CC @delan -- GitHub Notification of comment by Loirooriol Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8363#issuecomment-1407468672 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 28 January 2023 20:11:17 UTC