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

Flexbug #12 (Inline elements not treated as flex-items) affected Safari 8, fixed in 9 #292

Open
glin opened this issue Jun 5, 2021 · 0 comments

Comments

@glin
Copy link

glin commented Jun 5, 2021

Flexbug #12 (inline elements are not treated as flex-items) seems to have affected older versions of Safari as well. I'm not sure which exact versions, but I was able to reproduce the bug in Safari 8.0.8 (Yosemite), and confirm that the bug was no longer reproducible in Safari 9.1.2 (El Capitan).

I've searched this repo and the WebKit Bugzilla but couldn't find any mention of this issue, so I'm curious if anyone else knows more, or can also reproduce it.


Here's a screenshot of the flexbug 12 bug demo in Safari 8.0.8. -webkit-box-flex: 1 appears to have no affect on the inline elements. The three items should each have the same width:

Safari 8.0.8: Flexbug 12 bug demo

Here's a screenshot of the flexbug 12 workaround demo in Safari 8.0.8. Adding display: block gets the inline flex items working:

Safari 8.0.8: Flexbug #12 workaround demo


Here's a screenshot of the flexbug 12 bug demo in Safari 9.1.2. The issue isn't reproducible in this version:

Safari 9.1.2: Flexbug #12 bug demo

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

1 participant