Re: [csswg-drafts] [css-pseudo-4] need for clarification on how ::selection text-shadows work (#3932)

To summarize, the things we seem to want are:

- Author can set text-shadow on a highlight pseudo and have it take effect.
- The default case of selection with a background suppresses document text-shadows, for readability.
- ::spelling-error and ::grammar-error, by default, do not suppress text shadows.

Possible models to make things happy:

- Non-transparent background on any layer disables shadows on layers below
- Background on any layer paints over shadows on layers below (but they may show through if semi-transparent or larger than the background area).
- ???

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

Received on Wednesday, 10 July 2019 20:39:49 UTC