WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
89897
Fixed positioning is broken when body has a webkit-transform style
https://bugs.webkit.org/show_bug.cgi?id=89897
Summary
Fixed positioning is broken when body has a webkit-transform style
jmayhew
Reported
2012-06-25 11:18:22 PDT
Created
attachment 149329
[details]
This file has a fixed position div (Blue) that incorrectly scrolls with the page content. IF you remove the webkit-transform from the body element, the blue div no longer scrolls. Applying a webkit-transform to the body breaks the positioning of all fixed positioned elements. If you remove the webkit-transform from the body, fixed positioned content is then properly positioned and no longer scrolls with the page content. The attached file provides an example.
Attachments
This file has a fixed position div (Blue) that incorrectly scrolls with the page content. IF you remove the webkit-transform from the body element, the blue div no longer scrolls.
(4.27 KB, text/html)
2012-06-25 11:18 PDT
,
jmayhew
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2012-06-27 08:30:52 PDT
The spec says that transformed elements act as fixed position containers, so this behaves correctly.
jmayhew
Comment 2
2012-06-27 09:05:12 PDT
(In reply to
comment #1
)
> The spec says that transformed elements act as fixed position containers, so this behaves correctly.
Thanks for the info. That is good to know.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug