Skip to content

Vertical-align is ignored in div with display: table-cell #11492

Closed

Description

@ocerman

Vertical-align is ignored in div with display: table-cell within div with display:table
cell

<!doctype html>
<html><body style="font-size: 2em;">
    <div style="display: table; height: 4em;">
        <div style="display: table-cell; vertical-align: middle; background: lightblue;">
            Servo
        </div>
    </div>
</body></html>

This issue affects github.com: that's why "This repository" tag within searchbox is not aligned correctly.
gith

Activity

  1. added
    C-has-manual-testcase
    on May 29, 2016
  2. adamncasey commented on Jul 27, 2016

    @adamncasey
    Contributor

    I think this'll be fixed when #12593 lands

    capture

  3. notriddle commented on Jul 30, 2016

    @notriddle
    Contributor

    Can confirm that the test case and the "This Repository" pill on Github are fixed in master.

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

    A-layout/tableC-has-manual-testcase

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions