Skip to content

Stacking contexts should more often be drawn in tree order #7983

Closed

Description

@mrobinson

According to CSS 2.1 Appendix E: Elaborate description of Stacking Contexts E.2.8, stacking contexts with a z-index of 0 or auto and positioned element should be drawn in tree order. Currently these two types of descendents are split into two display list sections positioned_content and children. In order to preserve tree order, at least some of the stacking contexts will need to be in the same list as the positioned content or carry a tree order number.

My proposal is that positioned_content and children be replaced with positioned_content_and_stacking_contexts that holds an enums carrying either a DisplayItem or a StackingContext.

cc @pcwalton

Activity

  1. pcwalton commented on Oct 12, 2015

    @pcwalton
    Contributor

    I agree.

  2. changed the title [-]Positioned content and some stacking contexts should be drawn in tree order[/-] [+]Stacking contexts should more often be drawn in tree order[/+] on Oct 12, 2015
  3. added 5 commits that reference this issue on Nov 2, 2015
    5c63287
    90a16a4
    a2acb2a
    5b3e953
    c1a38e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions