Submitting a bug report that was discovered by @aferditamuriqi
Short description of the issue/suggestion:
There is a rendering issue with audio and video because of width: auto and height: auto in this declaration (should also impact the vertical writing version of the module).
https://github.com/readium/readium-css/blob/583011453612e6f695056ab6c086a2c4f4cac9c0/css/src/modules/ReadiumCSS-safeguards.css#L48-L69
For instance, in this screenshot, there should be audio controls:

And when you disable width and height in dev tools, they are displayed correctly:

Given these can be useful for other media e.g. img, audio + video should be moved to their own specific declaration. If we want to safeguard the sizing and fall back to the browser’s default, it seems we can use the revert value:

This should be fixed quickly as it’s a high priority bug.
Submitting a bug report that was discovered by @aferditamuriqi
Short description of the issue/suggestion:
There is a rendering issue with
audioandvideobecause ofwidth: autoandheight: autoin this declaration (should also impact the vertical writing version of the module).https://github.com/readium/readium-css/blob/583011453612e6f695056ab6c086a2c4f4cac9c0/css/src/modules/ReadiumCSS-safeguards.css#L48-L69
For instance, in this screenshot, there should be audio controls:
And when you disable
widthandheightin dev tools, they are displayed correctly:Given these can be useful for other media e.g.
img,audio+videoshould be moved to their own specific declaration. If we want to safeguard the sizing and fall back to the browser’s default, it seems we can use therevertvalue:This should be fixed quickly as it’s a high priority bug.