Skip to content

element, in a position:relative + overflow:hidden element, is shifted #7373

Closed

Description

@paulrouget
<div style="overflow:hidden;position:relative;width:400px;height:40px;top:20px;background:red">
<span style="font-size:40px">foobar</span>
</div>

In the div, if top:X, the div is shifted down by X. It's expected. But the span is also shifted down by X within the div.

screen shot 2015-08-26 at 09 23 33

Activity

  1. paulrouget commented on Aug 26, 2015

    @paulrouget
    ContributorAuthor
  2. changed the title [-]inline element, in a position:relative + overflow:hidden element, is shifted[/-] [+]element, in a position:relative + overflow:hidden element, is shifted[/+] on Aug 26, 2015
  3. paulrouget commented on Sep 7, 2015

    @paulrouget
    ContributorAuthor

    Apparently, it's fixed now. Probably because of 2276d64

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