W3C home > Mailing lists > Public > www-style@w3.org > October 2012

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

From: Anton Prowse <prowse@moonhenge.net>
Date: Mon, 22 Oct 2012 19:29:46 +0200
Message-ID: <5085828A.5060700@moonhenge.net>
To: www-style@w3.org
CC: Boris Zbarsky <bzbarsky@MIT.EDU>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:01 GMT