[Webkit-unassigned] [Bug 16118] Selection must be always visible when designMode="on"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 25 08:52:45 PDT 2011


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





--- Comment #6 from Ryosuke Niwa <rniwa at webkit.org>  2011-05-25 08:52:45 PST ---
(In reply to comment #5)
> Basically, there should be an auto-scroll whenever a selection change takes place. The full contents of the selection must be visible (for multi-line or object selections), added by some padding space to not have the selection touching the viewport border.

I'm not sure about adding padding part but I see that auto-scrolling to show the selection is a reasonable behavior.  But is this really limited to design mode?  Shouldn't we auto-scroll to where selection is when selection is set programmatically in non-design mode as well?

> Note that this should also work for nested viewports (e.g. iframe inside iframe inside window)... all of them must scroll to show the selection.

Sure.

One question.  What should happen if the selected region was larger than the frame's viewport?  i.e. you select the entire document in iframe which has a vertical scroll bar.  Should we auto-scroll to where the selection extent is?

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