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

Add support for position:sticky #1573

Merged
merged 1 commit into from Aug 16, 2017
Merged

Commits on Aug 16, 2017

  1. Add support for position:sticky

    We add a new clip scroll tree node type which is a sticky frame. The
    StickyFrame doesn't do any clipping, but will adjust the position of its
    contents to satisfy a given set of sticky constraints. The constraints
    consist of a margin (distance from the particular edge of the viewport)
    and a max_offset, which determines how far the sticky frame can move
    from its original (scrolled) position. The design of these  constraints
    can be modified if they are particularly unpleasant for Gecko to
    implement.
    
    Fixes #1277.
    mrobinson committed Aug 16, 2017
You can’t perform that action at this time.