- From: Manuel Strehl <svg@manuel-strehl.de>
- Date: Mon, 8 Jul 2013 10:39:25 +0200 (CEST)
- To: public-html@w3.org
Received on Monday, 8 July 2013 08:39:48 UTC
> For example I would like to give caption to some <canvas> element. What > element can I use now for that? > > As for me this: > > <div .graph> > <label>sin(x)/x graph:<label> > <canvas /> > </div> > > looks as the only option for now. Any other labeling things like > <legend>, > <caption> and <figcaption> (what an ugly name someone invented...) > are simply not valid in given context. I don't think anyone will be happy > to see new <cancaption> or the like. Why is <figcaption> not valid, or put another way, why don't you use <figure .graph>? It would be interesting to learn, why <figcaption> was used in HTML5 instead of <figure><label></figure>. AFAIK caption could not be used, because it messed up with the DOM in legacy browsers breaking HTML5's backwards compatibility. This could also shed light to the original question. Manuel
Received on Monday, 8 July 2013 08:39:48 UTC