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

Layout `position: fixed` in the initial containing block #25273

Merged
merged 13 commits into from Dec 13, 2019
Merged

Commits on Dec 12, 2019

  1. Give `PositioningContext` more responsibilities

    Iits details are now private to the module.
    
    It has a couple methods that take closures to make sure that "before" and "after" steps are done together:
    
    * In an absolutely positioned box, take care of nested abspos (establish a new containing block, etc.)
    * For a box that *might* be `position: relative`, optionally take care of the same.
    SimonSapin committed Dec 12, 2019
  2. Fix a width v.s. height confusion bug in abspos layout

    SimonSapin committed Dec 12, 2019
  3. Parse `background: <color>`

    SimonSapin committed Dec 12, 2019
You can’t perform that action at this time.