8000 [css-2][css-flexbox][css-grid] baseline position of inline-flex/inline-grid elements with overflow:hidden · Issue #2838 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

[css-2][css-flexbox][css-grid] baseline position of inline-flex/inline-grid elements with overflow:hidden #2838

@madmoizo

Description

@madmoizo

overflow: hidden with display: inline-flex result in an extra space (below the dom node)
The extra space is unexpected and the way to fix it (with vertical-align) seems to be hacky.

This behaviour is implemented on Gecko but not on Blink/EdgeHTML.

https://codepen.io/frlinw/pen/WyYgjM

Specs

https://www.w3.org/TR/CSS2/visuren.html#block-formatting
https://www.w3.org/TR/css-flexbox-1/

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

      0