Re: [csswg-drafts] [css-contain] Clarify what happens when `display: contents` and `contain: style` are used together (#7392)

Could we get the spec updated to reflect this?  CC @frivoal; maybe this needs to be on the CSSWG agenda?

Assuming we're in agreement, we need to update at least one WPT since the expectations have changed:
http://wpt.live/css/css-contain/contain-style-counters-002.html

Right now that test has the following note in an assert meta-tag (emphasis added by me):
> In this test, the div#test does not generate a principal box because of 'display: contents'. Despite that particular condition, 'contain: style' **will have an effect** on div#test

If we change the spec as discussed above, then the test should be updated to expect that contain:style has *no* effect.

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


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

Received on Thursday, 2 March 2023 23:08:42 UTC