[Webkit-unassigned] [Bug 52281] No way to get the source code of the selection only
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Jan 12 16:38:17 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=52281
Alexey Proskuryakov <ap at webkit.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ap at webkit.org
--- Comment #1 from Alexey Proskuryakov <ap at webkit.org> 2011-01-12 16:38:17 PST ---
Will this work for you?
1. Get Range from DOMSelection - window.getSelection().getRangeAt(0).
2. Call Range.extract.
3. Serialize the extracted 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