Skip to content
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

Breaks position:fixed; in Chrome and Safari #26

Closed
olivierbeaulieu opened this issue Apr 20, 2012 · 3 comments
Closed

Breaks position:fixed; in Chrome and Safari #26

olivierbeaulieu opened this issue Apr 20, 2012 · 3 comments

Comments

@olivierbeaulieu
Copy link

This guy here :

body {
-webkit-transform: translate3d(0,0,0);
}

Breaks position:fixed in Chrome and Safari, making it behave like it was position:absolute

@daneden
Copy link
Collaborator

daneden commented Apr 20, 2012

Yup.

From the W3C:

"Any value other than ‘none’ for the transform results in the creation of both a stacking context and a containing block. The object acts as a containing block for fixed positioned descendants." (http://www.w3.org/TR/css3-2d-transforms/)

THIS is why I didn't implement hardware acceleration this way. I knew there was a reason. I guess we turn it back?

@Ahrengot
Copy link

yeah, that thing does some wierd stuff. Also messes up image sprites in Chrome (Generated via Compass).

@vjpr
Copy link

vjpr commented May 2, 2012

+1

@daneden daneden closed this as completed in f91ff86 May 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants