Skip to content

Loading…

z-index higher than greatest value #421

Closed
kurtextrem opened this Issue · 5 comments

2 participants

@kurtextrem

http://www.sitepoint.com/managing-css-stacking-contexts-hostile-environment/ "How big can z-index be anyway?". No need to use 4999999999 and 5999999999 when 2147483648 is the highest value possible

@gorhill

Why is this an issue?

@kurtextrem

Does it make sense to use a higher value than the highest value possible? It's not really a huge deal or something, but it could be irritating if you look through the source ("so the 599... element has a higher index than the 499.." and in reality they have the same)

@gorhill

The spec doesn't set a max. The author makes an unbsustantiated assumption about all implementations. I don't have to buy his assumption, and I don't. Actually, it appears Chromium uses float. Please, I rather spend time on real issues (give me a case where a real problem occurs), not dreamed ones.

@gorhill gorhill closed this
@gorhill

Sorry for having been snappy. The fact that it's the second time you open an issue for such a non-issue didn't help however.

@kurtextrem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.