Skip to content

position:absolute;bottom:x vertical position is wrong #7071

Closed

Description

@paulrouget

Not sure what's going on, but the bottom property doesn't appear to work correctly (osx).

For example:

<div style="position: absolute; bottom: 0; left: 100px; width: 400px; height: 400px; background: #DDD">

This draws a grey rectangle: 400x344, at y = 100vh (good positioning, wrong size).

<div style="position: absolute; bottom: 20px; left: 100px; width: 400px; height: 400px; background: #DDD">

This draws a grey rectangle: 400x332, at y = calc(100vh - 12px) (wrong positioning, wrong size).

Activity

  1. frewsxcv commented on Aug 7, 2015

    @frewsxcv
    Contributor

    Might be related to #7035

  2. added
    I-wrong
    on Aug 7, 2015
  3. paulrouget commented on Aug 7, 2015

    @paulrouget
    ContributorAuthor

    Updated servo. It appears to be fixed.

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

    I-wrong

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions