I was wondering if the audio and video elements block or inline elements?
I ran the following web page in Chrome 11...
<!DOCTYPE html>
<audio></audio>
<canvas></canvas>
<script>
var c = document.getElementsByTagName('audio')[0];
alert(getComputedStyle(c, null).display);
</script>
...and it reported inline
for both canvas and audio. For what it's worth.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With