Open Bug 1835341 Opened 2 years ago Updated 1 year ago

content-based 'flex-basis' produces a width of 0, in case where descendant with aspect ratio and resolvable percent height should prop it up

Categories

(Web Compatibility :: Knowledge Base, defect)

defect

Tracking

(Not tracked)

People

(Reporter: ksenia, Unassigned)

References

Details

User Story

url:www.rainews.it/*
url:www.reddit.com/*

Symptoms:

  • An image in a gallery or a slider has zero width and therefore invisible
  • The site is using height: 0px; and large percent-valued padding-bottom or padding-top on the parent element of the slider image

Solutions:

Possible workarounds:

  • Adding pixel-valued padding instead of percent-valued or setting height: auto for the affected element.
Duplicate of this bug: 1891072
Blocks: 1891071
User Story: (updated)
No longer depends on: 1748339
You need to log in before you can comment on or make changes to this bug.