Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Misdescribed bug: "Inline elements are not treated as flex-items" #123

Open
ruafozy opened this issue Feb 1, 2016 · 1 comment
Open

Comments

@ruafozy
Copy link

ruafozy commented Feb 1, 2016

Bug 12, "Inline elements are not treated as flex-items", seems to be
misdescribed, at least for IE11. With that browser, on Windows 7, if I open
up the workaround (12.1.b, at http://codepen.io/philipwalton/pen/NqLoNp) and
change display: block to display: inline, the bug doesn't strike and the
page is unchanged.

If I reload the page and add

  .FlexContainer::before
  {
    display: inline;
  }

at the end of the CSS, the bug doesn't strike and the page is unchanged.

@philipwalton
Copy link
Owner

Hmmm, it looks like you're right. It seems pseudo-elements don't work when no display value is used, but when a display value of inline is used, they work fine. That makes me wonder what default value IE11 gives them.

Unfortunately I don't think it's possible to tell, since the developer tools don't let me select the pseudo-element.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants