Skip to content

flexbox model: render this test case properly #7304

Closed as not planned
Closed as not planned

Activity

  1. paulrouget commented on Aug 22, 2015

    @paulrouget
    ContributorAuthor

    @zentner-kyle This test case crashes Servo:

    thread 'LayoutWorker worker 3/3' panicked at 'attempted to divide by zero', /Users/paul/github/servo/components/util/geometry.rs:169
    
  2. paulrouget commented on Aug 22, 2015

    @paulrouget
    ContributorAuthor

    Filed an issue: #7316

  3. paulrouget commented on Aug 22, 2015

    @paulrouget
    ContributorAuthor

    I've worked around the 2 crashers (adding non-flex content in empty divs and removing position:absolute properties), I get this:

    screen shot 2015-08-22 at 18 36 13

    Looks messed up :) But the ordering and the directions look valid.

    I'm aware the first PR just landed and this is just the beginning, just wanted to do some initial investigation.

  4. pcwalton commented on Aug 22, 2015

    @pcwalton
    Contributor

    @paulrouget Yeah, flexbox doesn't actually flex yet :)

  5. lumiscosity commented on Jul 28, 2025

    @lumiscosity
    Member

    Appears to have been fixed. Tested on Arch Linux x86_64, Servo built against commit 633d746, profiling build, compared against Firefox 141.0, Epiphany 48.5 and Chromium 138.0.7204.168 (left to right).

    Image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions