[CSS21] display:block nested inside display:inline = display:inline-block ?

I may just be being unobservant but I can't seem to find anything in the 
CSS2.1 spec stating the formatting behaviour when an element with 
display:block is the child of an element with display:inline.

An oft-seen example is <a><img></a> where img has been given display:block.

What is the formatting model for this situation? Is the display:block 
element treated as display:inline-block (or even has its computed value 
changed to this)?

Cheers,
Anton Prowse
http://dev.moonhenge.net

Received on Sunday, 7 September 2008 09:49:46 UTC