Re: [css21][css3-box] Box generation for inlines and display:none

On 22/10/2012 19:19, Boris Zbarsky wrote:
> On 10/22/12 1:06 PM, Anton Prowse wrote:
>> It's likely that we'll start modelling this as follows: an inline
>> element generates a single principal inline box which is then possibly
>> fragmented across multiple line boxes.
>
> How does that model handle this case:
>
> <!DOCTYPE html>
> <meta charset="utf-8">
> ע<span style="border:1px solid green;background:yellow">ִבְרִית 17</span>95
>
> In particular, consider the set of boxes that actually get generated
> here for the <span>.
>
> Note that the current handling of that case is best described as
> "awkward" for borders/padding/margins, but I'm not sure there are really
> sane ways to handle those in situations like this.  On the other hand,
> current handling of background color is just fine.  background _images_
> are likely a mess.

Yes, it's this kind of issue that needs to be thought out.  It remains 
to be seen if it can be made to work.  (FWIW the proposal is not mine...)

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

Received on Monday, 22 October 2012 17:30:29 UTC