Closed
Bug 719141
Opened 13 years ago
Closed 11 years ago
Enable toggling position fixed depending on scroll position with CSS
Categories
(Core :: CSS Parsing and Computation, enhancement)
Tracking
()
RESOLVED
DUPLICATE
of bug 886646
People
(Reporter: spammed.user, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0
Build ID: 20120111092507
Steps to reproduce:
Enter a web site (e.g. http://fiddle.jshell.net/AlienWebguy/CV3UA/1/show/ (the "test" block), 9gag.com) with elements that change their position correspondingly to the scroll position: In cases where they would normally become hidden under the browser's Navigation Toolbar, their position property is set to fixed to keep them visible.
Expected results:
This is done by JavaScript, but it could have been a lot easier with something like position:-moz-fixed-in-parent; Elements with this style will always "try" to stay in their parent node AND in the screen by changing their position, but if they can't they'll prefer to stay in the parent.
Reporter | ||
Updated•13 years ago
|
Severity: normal → enhancement
OS: Windows 7 → All
Comment 1•11 years ago
|
||
So, exactly like sticky positioning :)
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•