[Webkit-unassigned] [Bug 39315] selections in margins wrong with div followed by a span

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 31 03:47:10 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=39315





--- Comment #2 from Robin Qiu <robin.qiu at torchmobile.com.cn>  2010-05-31 03:47:09 PST ---
It seems that FF use half of the margin as the boundary of this two elements. 
Should I change this code 
if (isChildHitTestCandidate(childBox) && contentsY < childBox->frameRect().bottom())
to 
if (isChildHitTestCandidate(childBox) && contentsY < childBox->frameRect().bottom() +  childBox->maxBottomMargin(true) / 2)
?

Is there any specification defines this?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list