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

In my opinion, we have well a block element :

    aaa<inline>bbb<block>ccc</block>ddd/</inline>eee

Is rendered :

    aaabbb
    ccc
    dddeee

As we had got :

    aaa<inline:not-boxed><inline>bbb</inline><block>ccc</block><inline>ddd</inline></inline:not-boxed>eee

Fremy
--------------------------------------------------
From: "Anton Prowse" <prowse@moonhenge.net>
Sent: Sunday, September 07, 2008 11:48 AM
To: <www-style@w3.org>
Subject: [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 11:06:59 UTC