Re: [csswg-drafts] [css-highlights] Highlight cascade behavior for shadows is rather unfortunate. (#13376)

I've also run into this sort of unexpected behavior when writing tests and debugging. I guess the rule of thumb is to only draw one of the highlight or originating for attributes that interfere when rendered. Though on second thought this is really about having "replacement" behavior for shadows and decorations just as the selection text colors "replace" the originating.

I'm totally open to discussing changes to the existing spec behavior. It's no problem from an implementation perspective.

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


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

Received on Wednesday, 28 January 2026 19:02:49 UTC