Re: [csswg-drafts] [css-will-change] Does `will-change: z-index` establish a stacking context? (#11827)

I think Gecko is right. I must have made a mistake in my initial tests because I thought that it wouldn't establish a stacking context even on flex items, which didn't make much sense. But checking whether the element is positioned or flex/grid item is consistent with `will-change: transform` checking whether the element is transformable, which happens in all browsers.

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


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

Received on Sunday, 9 March 2025 22:49:40 UTC