flexbugs icon indicating copy to clipboard operation
flexbugs copied to clipboard

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

Open ruafozy opened this issue 9 years ago • 1 comments

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.

ruafozy avatar Feb 01 '16 21:02 ruafozy

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.

philipwalton avatar Feb 12 '16 02:02 philipwalton