[Webkit-unassigned] [Bug 61305] REGRESSION Content jumps around when find-in-page highlight drawn around text

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 13 23:56:18 PST 2011


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


Ben Wells <benwells at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |benwells at chromium.org




--- Comment #7 from Ben Wells <benwells at chromium.org>  2011-11-13 23:56:17 PST ---
What appears to be happening is that when the find tool selects the text (in the WebCore\editing code), it makes it visible. This 'scrolls' it into view.

I think that as the text is in an overflow: hidden div this should be prevented somehow - either by clipping the rect for the selection (i.e. chop off the hidden overflow) or by preventing the scroll.

If anyone has any hints, clues, suggestions or comments feel free to chime in.

BTW the attached test case can be reduced further to:

<!DOCTYPE HTML> 
<style>
div {
  overflow: hidden;
  padding-top: 20px;
}

span {
  padding-bottom: 20px;
}
</style> 
<div><span>TITLE</span></div>

-- 
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