[webkit-dev] Selection highlight painting ("gaps"?)

David Hyatt hyatt at apple.com
Mon Oct 26 11:04:13 PDT 2009

On Oct 22, 2009, at 4:38 PM, Evan Martin wrote:

> On Mon, Oct 19, 2009 at 1:22 PM, David Hyatt <hyatt at apple.com> wrote:
>>> I've actually been super frustrated with WebKit's selection  
>>> behavior for a
>>> long time, precisely because it tries to let you select  
>>> everything.  In
>> Concrete examples of where something weird happens would be  
>> helpful.  The
>> gap code is obviously not perfect and so there's plenty of room for
>> improving it, which will help out Chrome on Mac users even if  
>> Chrome on
>> Windows goes to a different style of behavior.
> This likely isn't what PK was talking about, but it's a good example
> in its irony.  Try selecting a paragraph on the front page of
> webkit.org; you'll see weird gap painting over the navbar on the left.

Yeah, there need to be more heuristics to suppress the gap extension,  
especially in the horizontal direction.  It's pretty complicated  
stuff.  There is still much room for improvement in the gap painting  


More information about the webkit-dev mailing list