[Webkit-unassigned] [Bug 34821] should add Range.modify to match Selection.modify

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 6 10:56:15 PST 2010


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





--- Comment #6 from Ojan Vafai <ojan at chromium.org>  2010-12-06 10:56:14 PST ---
If we could design this from scratch, I would not have a Range object at all. There would just be Selection and you could instantiate a Selection object that's not the browser's actual selection.

Unfortunately, we can't start from scratch. So far we've taken the approach of trying to make Range and Selection more like each other, but maybe that's not the best way forward?

You could imagine Selection being a subclass of Range.

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