Skip to content

Using overflow:auto changes the stacking order #7281

Closed

Description

@paulrouget
      <style>
        div {
          width: 100px;
          height: 100px;
          position: absolute;
          top: 0;
          left: 0;
        }
      </style>

      <div style="background:red;    overflow:auto;"></div>
      <div style="background:green;  top:10px;left:10px"> </div>

With overflow:auto, the red div is on top of the green div.

screen shot 2015-08-19 at 09 28 00

Activity

  1. pcwalton commented on Aug 19, 2015

    @pcwalton
    Contributor

    This is because we don't use the LAYERS_NEEDED_FOR_POSITIONED_DESCENDANTS infrastructure in enough cases. I have what I believe to be a fix ready.

  2. added 3 commits that reference this issue on Aug 19, 2015
    ec0b67b
    9cdb911
    eb70fdb
  3. added a commit that references this issue on Aug 21, 2015
    b93cfa4
  4. added a commit that references this issue on Aug 21, 2015
    ea22ffd
  5. added a commit that references this issue on Aug 21, 2015
    e41f966
  6. added a commit that references this issue on Aug 21, 2015
    c0d658e
  7. added 2 commits that reference this issue on Aug 21, 2015
    3d940c3
    0aa7b24
  8. added a commit that references this issue on Aug 22, 2015
    1dbb877
  9. added a commit that references this issue on Aug 22, 2015
    6031b10
  10. added a commit that references this issue on Aug 22, 2015
    703dfc7
  11. added a commit that references this issue on Aug 22, 2015
    ddf598f
  12. added a commit that references this issue on Aug 22, 2015
    09cd54b
  13. added a commit that references this issue on Aug 22, 2015
    ec1c90d
  14. added a commit that references this issue on Aug 22, 2015
    7945c17
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