Bug 84489 - Selection highlights of lines in adjoining blocks can overlap
Summary: Selection highlights of lines in adjoining blocks can overlap
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: mitz
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2012-04-20 13:49 PDT by mitz
Modified: 2012-04-20 14:42 PDT (History)
0 users

See Also:


Attachments
Use an adjusted selection top for highlighting when the last line in the preceding block is selected and overlaps (11.95 KB, patch)
2012-04-20 14:03 PDT, mitz
andersca: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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>.