Open Bug 1495817 Opened 6 years ago Updated 2 years ago

Height of <audio> controls could depend on its previous state

Categories

(Toolkit :: Video/Audio Controls, defect, P3)

defect

Tracking

()

People

(Reporter: timdream, Unassigned)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

STR: See URL. Expected: both <audio controls> should have the same height Actual: the one has its height set to 1px, reflowed, and the height removed is shorter. Note: The HTML in the URL is: <audio controls></audio> <audio controls></audio> <script> window.onload = () => { var el = document.body.firstChild; el.style.height = "1px"; el.offsetHeight; el.style.height = ""; } </script> This is not caused by UA Widget. This is essentially the height version of bug 1367875. We'll need a reftest with it.
Priority: -- → P3

FWIW: I can still reproduce this bug in current Nightly. (I'm in the neighborhood since I noticed that some other similar bugs e.g. bug 1495821 have been fixed since filing -- but this one hasn't been.)

While I'm here, I'll attach the data-URL as an actual testcase attachment, since it seems data-URI-testcases-in-bugzilla's-URL-field don't work anymore (in either Firefox or Chrome).

Attachment #9266163 - Attachment description: test-audio.html → testcase 1: the two audio elements are expected to render the same height (but the one on the left is shorter)
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: