Re: [whatwg] caption (was: How not to fix HTML)

2006-11-04 Thread Matthew Paul Thomas

On Nov 1, 2006, at 7:50 PM, Michel Fortin wrote:


Le 1 nov. 2006 à 22:01, Jonathan Worent a écrit :
...

or make the association implicit by using the for attribute
embed id=funnyVid ...
caption for=funnyVidA funny video of a man being hit in the groin 
by a football/caption


That would work for the current page layouts of YouTube and Google 
Video.


I think what would work best for this is the figure element I've 
proposed back in june:


figure
  captionSome caption here/caption
  ...
/figure
...


That would not. (At least, not without some tricky CSS.)

--
Matthew Paul Thomas
http://mpt.net.nz/


Re: [whatwg] caption (was: How not to fix HTML)

2006-11-01 Thread Jonathan Worent


--- Lachlan Hunt [EMAIL PROTECTED] wrote:

 Lachlan Hunt wrote:
  Ian Hickson wrote:
  Joe Clark wrote:
  http://blog.fawny.org/2006/10/28/tbl-html/
  
  FYI, my response to that his here. 
  http://lachy.id.au/log/2006/10/fixing-html
 
 Joe Clark has responed.
 http://lachy.id.au/log/2006/10/fixing-html#comment-713
 
 His comment is copied here for discussion.
 
  [snip]
  
  caption generically applicable to tables and figures: We can call it 
  legend if you'd like.

I think this is a good idea. Caption could be used with just about any embedded 
content. 

Taking cues form the label element for forms you could either make the 
association explicit by
wrapping the caption around the element its captioning
caption
   embed ...
   A funny video of a man being hit in the groin by a football
/caption

or make the association implicit by using the for attribute
embed id=funnyVid ...
caption for=funnyVidA funny video of a man being hit in the groin by a 
football/caption

[not that it matters but Football in the Groin is from a Simpsons episode]

  
  [snip]
 
 -- 
 Lachlan Hunt
 http://lachy.id.au/
 


#9484;#9472;#9472;#9472;#9472;#9472;#9472; Jonathan Worent 
#9472;#9472;#9472;#9472;#9472;#9472;#9488;
#9492;#9472;#9472;#9472;#9472;#9472;#9472;#9472;#9472;#9472; 
Webmaster #9472;#9472;#9472;#9472;#9472;#9472;#9472;#9472;#9472;#9496;


 
__
Check out the New Yahoo! Mail - Fire up a more powerful email and get things 
done faster. 
(http://advision.webevents.yahoo.com/mailbeta) 



Re: [whatwg] caption (was: How not to fix HTML)

2006-11-01 Thread Michel Fortin

Le 1 nov. 2006 à 22:01, Jonathan Worent a écrit :

I think this is a good idea. Caption could be used with just about  
any embedded content.


Taking cues form the label element for forms you could either make  
the association explicit by

wrapping the caption around the element its captioning
caption
   embed ...
   A funny video of a man being hit in the groin by a football
/caption

or make the association implicit by using the for attribute
embed id=funnyVid ...
caption for=funnyVidA funny video of a man being hit in the  
groin by a football/caption


I think what would work best for this is the figure element I've  
proposed back in june:


figure
  captionSome caption here/caption
  ...
/figure

where ... could be an image, flash or video content, inline or  
external SVG or MathML or anything else. It could be made of block- 
level HTML elements too: code could be used for captioned code  
snippets, paragraphs and headers could be used when you need a sample  
document, etc. I see no reason to be restrictive on the kind of  
content that can be captioned.



Michel Fortin
[EMAIL PROTECTED]
http://www.michelf.com/