Re: [css3-selectors] What's the point of :empty?

This may be difficult for us to change, since it's going to be a compatibility concern for us (given how heavily inline-block is used on OS X in conjunction with overflow:hidden).

WebKit's current behavior (which predates the spec, and is in my opinion superior to what is specified) is actually to respect the line box baseline if the overflow section isn't scrolled and the line box baseline is visible. Otherwise we do switch to using the bottom margin edge.  This allows overflow:hidden inline blocks that don't actually end up doing any clipping in the block progression direction to still respect baseline alignment.

dave

On Nov 2, 2010, at 5:21 PM, Rob Crowther wrote:

> On 02/11/10 16:03, Rob Crowther wrote:
>> Boris Zbarsky wrote:
>>> Yep, that'd be a bug. Want to report it to the webkit folks? ;)
>>> 
>> Yeah, I'll do it this evening.
>> 
> There's already an open defect:
> 
> https://bugs.webkit.org/show_bug.cgi?id=36084
> 
> Rob
> 

Received on Tuesday, 2 November 2010 22:31:28 UTC