Skip to content

overflow:hidden + inline-block + position:relative: element not painted #7571

Closed

Description

@paulrouget
<style>
  div {
    overflow:hidden;
    display:inline-block;
    position:relative;
    width:100px;
    height:100px;
    background:red
  }
</style>
<div></div>

The div is not visible. Remove one of them: overflow|display|position, and the div shows up.

screen shot 2015-09-09 at 07 52 12

Activity

  1. paulrouget commented on Sep 9, 2015

    @paulrouget
    ContributorAuthor
  2. added 3 commits that reference this issue on Sep 15, 2015
    578815c
    53670e6
    9e914ca
  3. added a commit that references this issue on Sep 18, 2015
    7fdcafb
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