WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
103672
Fixed position element in transformed container is not fixed when the container is scrollable
https://bugs.webkit.org/show_bug.cgi?id=103672
Summary
Fixed position element in transformed container is not fixed when the contain...
Xianzhu Wang
Reported
2012-11-29 15:01:01 PST
Created
attachment 176825
[details]
test case Fixed position element under a transformed element (which creates a containing block) should be fixed within the containing block. However, currently, the fixed position element behaves just like an absolute position element. When the containing block is scrollable, the fixed position element will scroll along with other contents. To reproduce: open the attached test case, try to scroll the green block (a transformed element with overflow: scroll). Actual result: the yellow block (fixed position element) scrolls in its container. Expected result: the yellow block should remain fixed within its container (though it can scroll when the whole page is scrolled.)
Attachments
test case
(436 bytes, text/html)
2012-11-29 15:01 PST
,
Xianzhu Wang
no flags
Details
More complex test case for fixed-positioned element inside of a scrollable-div inside of a transformed element.
(423 bytes, text/html)
2014-07-01 12:29 PDT
,
byronmwong
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
byronmwong
Comment 1
2014-07-01 12:29:17 PDT
Created
attachment 234188
[details]
More complex test case for fixed-positioned element inside of a scrollable-div inside of a transformed element. Attaching a test case for a fixed-positioned element inside of a scrollable-dev inside of a transformed element. Chrome, Firefox, and IE keep the yellow box fixed when the green box is scrolled. I tested Safari 9537.77.4 and WebKit
r170147
, and both do NOT keep the yellow box fixed.
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