Bulma: "height: auto" overrides default height for audio elements, setting it to zero

Created on 27 Jun 2017  路  3Comments  路  Source: jgthms/bulma



Overview of the problem



I'm using Bulma version 0.3.0
My browser is: Google Chrome Version 59.0.3071.109 (Official Build) (64-bit)

Description


When the property height is set to auto for an audio element, the height of that element becomes zero while browser renders it with a default height, so that it appears cut or above other html elements. Removing "height: auto;" for audio tags solves the problem.

Steps to Reproduce

  1. Add an audio element inside a bulma content element.

Expected behavior

The audio element should have the height assigned by default (user agent stylesheet).

Actual behavior

The audio element appears cut or above other html elements.

Image 1:

screen shot 2017-06-27 at 12 14 07

Image 2:

screen shot 2017-06-27 at 13 30 42

Most helpful comment

This issue does not appear to be fixed. The CSS still sets height: auto; for the audio tag. As I understand it, this is a problem because audio has no height property. For some reason, this doesn't make a difference in Firefox or Safari, but it breaks in Chrome.

All 3 comments

Nice catch! Fixing now.

This issue does not appear to be fixed. The CSS still sets height: auto; for the audio tag. As I understand it, this is a problem because audio has no height property. For some reason, this doesn't make a difference in Firefox or Safari, but it breaks in Chrome.

Are you going to merge this fix anytime soon @jgthms ?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

JenCant picture JenCant  路  3Comments

scottgrayson picture scottgrayson  路  3Comments

leofontes picture leofontes  路  3Comments

jaredreich picture jaredreich  路  3Comments

rogervila picture rogervila  路  3Comments