Bug 902992 enables position:sticky only on Nightly and Aurora. Among other things, we should wait for a more stable specification before enabling it on Beta and Release.
3 years ago
3 years ago
Can we prioritize that for 1.4 ? The code of sms/contacts/call log is using their own fixed header solution implemented in JS and will let us remove it as well as saving some extra repaints. The feeling of fixed headers will be also much better since the current code relies on "scroll" events and the fixed headers are lagging behind the user gesture with APZC enabled.
David, can we get this for 1.4?
Milan Do we need this for 1.4? Or is this something that can be moved to 1.5
I'm basing 1.4+ on Comment 1, so I'll leave it to Vivien to answer that. I personally have a feeling that this would be identified as a blocker by our partners, but only in a few weeks, at which point it would be much more expensive to fix.
Actually, I think this is enabled in B2G already (bug 945777), and most of our apps are now using position:sticky (eg bug 945481 for Messages). Not sure why this bug is a blocker then.
Got it. I'll update the summary so that it's clear this is for non-B2G platforms.
Any ETA? Would be great if that could be activated soon. Fiddling around with sicky js-libraries that all are a bit buggy (for our use-case, for others they seem to work just fine), where-as position:sticky on the nightly works perfectly.
Created attachment 8418434 [details] [diff] [review] Bug 916315 Patch To Enable Sticky Preference By Default, r=dbaron This patch enables the layout.css.sticky.enabled preference by default in release builds.
Did you send an intent to ship message to dev-platform per https://wiki.mozilla.org/WebAPI/ExposureGuidelines ?
(In reply to David Baron [:dbaron] (needinfo? me) (UTC-7) from comment #9) > Did you send an intent to ship message to dev-platform per > https://wiki.mozilla.org/WebAPI/ExposureGuidelines ? I have sent the intent to ship message to dev-platform and am awaiting feedback.
FYI, I think we had to disable position:sticky in a number of gaia apps for performance reasons. For example, see bug 977680 and bug 978067. I guess the issue is that it creates additional layerization costs. I don't think this should hold up exposing the API, but just wanted to share that since comment 5 mentioned b2g was using it.
Thead and table type of element is still not supported Sticky, Chrome Canary has supported.
That's bug 975644.
(In reply to David Baron [:dbaron] (Away/Busy May 10-22) (UTC+9) from comment #15) > That's bug 975644. Thanks! Current position: sticky does not seem to realize iOS 7 contacts that effect.
Verified on Win 7 x64, Ubuntu 12.10 x86, Mac OS X 10.9.4 with Firefox 32 Beta 1 (BuildID: 20140722195627): "layout.css.sticky.enabled" pref is "true" by default, and position sticky seems to work fine (http://html5-demos.appspot.com/static/css/sticky.html).
The compat table of https://developer.mozilla.org/en-US/docs/MDN/Contribute/Tools_with_restricted_access has been updated. https://developer.mozilla.org/en-US/Firefox/Releases/32#CSS , too.