Bug 84489

Summary: Selection highlights of lines in adjoining blocks can overlap
Product: WebKit Reporter: mitz
Component: Layout and RenderingAssignee: mitz
Status: RESOLVED FIXED    
Severity: Normal Keywords: InRadar
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Use an adjusted selection top for highlighting when the last line in the preceding block is selected and overlaps andersca: review+

Description mitz 2012-04-20 13:49:46 PDT
Selection highlights of lines in adjoining blocks can overlap
Comment 1 mitz 2012-04-20 13:52:46 PDT
<rdar://problem/10786000>

For example, if the selection spans the last line of one block and the first line of the next block, and those lines overlap (due to margins or line-height), the selection highlights will overlap.

<div>first line</div><div style="margin-top: -1ex;">second line</div>
Comment 2 mitz 2012-04-20 14:03:54 PDT
Created attachment 138157 [details]
Use an adjusted selection top for highlighting when the last line in the preceding block is selected and overlaps
Comment 3 mitz 2012-04-20 14:42:49 PDT
Fixed in <http://trac.webkit.org/r114784>.