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: Re-enable parallel layout and refactor boxes significantly #2174

Merged
merged 1 commit into from May 2, 2014

Commits on May 2, 2014

  1. layout: Re-enable parallel layout by removing all `RefCell` instances

    from `Flow`s; in the process, remove `InlineInfo` in favor of the
    range-based design that was originally planned and halfway implemented.
    
    Now, the DOM tree structure for inline flows is reflected not by a
    series of arrays but instead by a flat list of ranges into the list of
    boxes. As part of this, the `border` and `padding` fields, which were
    incorrect in the case of inlines and necessitated separate
    `noncontent_inline_foo` methods, have been merged into a single
    `border_padding` field that is always guaranteed to be correct after
    width assignment, even for inlines.
    pcwalton committed May 2, 2014
You can’t perform that action at this time.