- From: <bugzilla@jessica.w3.org>
- Date: Fri, 13 Dec 2013 01:40:28 +0000
- To: public-webapps@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24083
Bug ID: 24083
Summary: Window.getSelection() and HTMLDocument.getSelection()
should return a nullable
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: HTML Editing APIs
Assignee: ayg@aryeh.name
Reporter: ehsan@mozilla.com
QA Contact: sideshowbarker+html-editing-api@gmail.com
CC: mike@w3.org, public-webapps@w3.org
This is what Gecko implements. One of the reasons why a selection might be
null is if the presentation of the document has not yet been set up (for
example, this can happen to an iframe's selection object when you add it a
document before we hit the event loop.) These tests exercise this condition:
<https://dvcs.w3.org/hg/editing/file/57abe6d3cb60/selecttest/getSelection.html#l157>
--
You are receiving this mail because:
You are on the CC list for the bug.
Received on Friday, 13 December 2013 01:40:33 UTC