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

Place floats in layout 2020, but don't flow text around the floats yet. #27415

Closed
wants to merge 1 commit into from

Commits on Jul 31, 2020

  1. Place floats in layout 2020, but don't flow text around the floats yet.

    This commit puts floats behind the `layout.floats.enabled` pref, because of the
    following issues and unimplemented features:
    
    * Inline formatting contexts don't take floats into account, so text doesn't
      flow around the floats yet.
    
    * Non-floated block formatting contexts don't take floats into account, so BFCs
      can overlap floats.
    
    * The `clear` property is only respected on floats, not on other elements; i.e.
      regular boxes can't clear past floats yet.
    
    * Block formatting contexts that contain floats don't expand vertically to
      contain all the floats. That is, floats can stick out the bottom of BFCs,
      contra spec.
    
    * Floats don't respect negative margins yet.
    
    * Floats are painted in the same order as regular content, contra spec.
    pcwalton committed Jul 31, 2020
You can’t perform that action at this time.