Hacker News new | ask | show | jobs
by mulya 5009 days ago
What does the spec say? is there a bug opened already? or are all the browsers wrong and Chrome is right?
1 comments

The spec says Chrome is right (was recently changed). Chrome is not the only browser. iOS browsers, the Android browser and Chrome for Android have always used the new behavior. The reason for the change is faster scroll performance, particularly on mobile.
Really? Can you point to the spec change? Did I miss a working group decision on this somewhere? Last I checked, the discussion on this got nowhere, with WebKit folks claiming this change was needed to optimize stuff and Opera and Mozilla folks claiming that optimizing scrolling worked just fine without this behavior change...
This has no such change. Try again.
Those are all webkit based browsers, so it seems normal that they'd all behave the same.
Well they did not. Until Chrome changed the behavior to comply with http://www.w3.org/TR/CSS21/zindex.html
The CSS 2.1 spec was last updated in 2011 and does not include any mention of this new stacking context behavior (which was only proposed on the CSS mailing list in May 2012 and has not yet made it into any spec).
No, they changed it to no longer comply with that spec, actually. Please do read the spec, not assume it says what the "html5rocks" marketing folks want it to say.