-
Notifications
You must be signed in to change notification settings - Fork 715
[css-color-4] Paint order of non-positioned stacking context #3793
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is related to, and might be a duplicate of #2717. Editing CSS 2 as suggested there to account for all non-positioned stacking context might be a better fix. |
Isn't this handled by the sentence:
|
I… don’t think so? |
Ah, you're right, sorry; my brain was interpreting that as "turning on" z-index, thus making it effectively positioned. I agree that the wording should be restored, unless we decide to take on the more general case of altering the painting of all stacking contexts; in either case, we can still add the text now with a note that it might be obsoleted by more general text later. |
I just came across an interesting example of this when it comes to |
Looks good, thanks! |
CSS Color Level 3 defines:
https://drafts.csswg.org/css-color-3/#transparency
However this sentence was apparently removed from Level 4: https://drafts.csswg.org/css-color/#transparency
I think this removal is a bug and that definition is necessary, because CSS 2 appendix E is written with the assumption that elements that create a stacking context are all positioned. (This is because only the
z-index
property creates a stacking context in CSS 2, and it only applies to positioned elements.)css-transforms has an alternative wording that also works:
https://drafts.csswg.org/css-transforms-1/#transform-rendering
The text was updated successfully, but these errors were encountered: