Re: [csswg-drafts] [CSS-22][CSS-21][CSS3] Stacking context complicated

Yes, and we should specify that the context is not created for sticky BEFORE the sticky stop to be an experimental. 

Yes, IE11 also doesn't create stacking context like EDGE for fixed positioned elements. I have more work due to it because I want to put layer between two parts of header, that second part on mobile devices is shown close to bottom edge of phone. Too much complicated solution!

But spec:
> If the box has 'position: fixed' or if it is the root, it also establishes a new stacking context. 

On part of websites I also found the sticky also create a stacking context but IMO should not. 

> Element with a position value "fixed" or "sticky" (**sticky for all mobile browsers, but not older desktop).** WUT?

https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context

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

Received on Friday, 16 February 2018 22:55:45 UTC