[whatwg] The <pic> element
simonp at opera.com
Mon Jun 4 01:17:42 PDT 2012
On Mon, 04 Jun 2012 09:58:52 +0200, Kornel Lesiński <kornel at geekhood.net>
> Since it's impossible to introduce void element at this point
It's not impossible, but we generally try to only do it when there's a
container (like <video>) so it gets popped off the stack soon enough to
not break the whole page in old browsers.
However, when we *want* fallback, we *should* use a non-void element,
because using the content as fallback is better than using an attribute as
* It actually gets rendered in old browsers instead of getting ignored.
* It supports rich markup (which enables e.g. tagging multiple languages,
bidi, ruby, etc).
<canvas> was originally implemented as a void element in Safari, but was
specced as as non-void element for the above reasons.
More information about the whatwg