Skip to content

Positioned elements inside an element with overflow: hidden are invisible #10151

Closed

Description

@Zirro

Elements with position: absolute or position: fixed inside an element that has overflow: hidden are invisible.

Testcase:

<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8">
    <title>Testcase</title>
    <style type="text/css">
      body {
        overflow: hidden;
      }
      .position {
        position: absolute;
      }
    </style>
  </head>
  <body>
    <h1 class="position">This should be visible</h1>
  </body>
</html>

Activity

  1. added
    I-wrong
    on Mar 24, 2016
  2. self-assigned this
    on Mar 24, 2017
  3. added 3 commits that reference this issue on Apr 10, 2017
    92eae8e
    223b3af
    2721514
  4. added a commit that references this issue on Apr 10, 2017
    7ba2a0e
  5. added a commit that references this issue on Apr 11, 2017
    903230a
  6. added a commit that references this issue on Apr 11, 2017
    d4ca1c9
  7. added 2 commits that reference this issue on Apr 12, 2017
    888aa6f
    6f22182
  8. added a commit that references this issue on Apr 13, 2017
    7b3abcb
  9. added a commit that references this issue on Apr 13, 2017
    df0e7b1
  10. added 2 commits that reference this issue on Apr 17, 2017
    766df90
    4451b8a
  11. added a commit that references this issue on Apr 17, 2017
    ab7e1e2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

A-layout/uncategorizedI-wrong

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions