getSelection endContainer return body when double click the textnode

RESOLVED INACTIVE

Status

()

Core
Selection
RESOLVED INACTIVE
a year ago
23 hours ago

People

(Reporter: karthikeyan V, Unassigned, NeedInfo)

Tracking

47 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

a year ago
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20161031133903

Steps to reproduce:

1). Focus the iframe bbb textnode
2). double click the node
3). click the selection button
4). See the console.log result in developer tab
5). End container is a body


Actual results:

1). When double click the textnode, The textnode is only selected but it return a endcontainer as body


Expected results:

start container and the end container should be the same textnode. For this issue we can't get the current node selection.
(Reporter)

Comment 1

a year ago
Hi Team,

  Please find the sample link: http://jsfiddle.net/karthik_selvaa/TCnG4/1033/ 

Regards,
Karthikeyan V
Flags: needinfo?(karthikeyancse21)

Updated

a year ago
Component: Untriaged → Selection
Product: Firefox → Core

Comment 2

23 hours ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 23 hours ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.