Child nodes sometimes inaccessible inside a contenteditable div

Fixed Issue #6492250

Details

Created
Feb 9, 2016
Privacy
This issue is public.
Reports
Reported by 0 people

Sign in to watch or report this issue.

Steps to reproduce

URL:

Repro Steps:

Create a contenteditable div “editable” filled with <div><br></div>
Focus that div, and press return
editable.firstChild.innerHTML is <br> but editable.firstChild.firstChild and editable.firstChild.children are empty
In other webkit browsers, editable.firstChild.firstChild and editable.firstChild.children contain the expected br element

Repro file:
http://codepen.io/twuttke/pen/eJQRvV?editors=1010

Expected Results:

Elements inside content editable div should expose their actual child nodes in all cases.

Actual Results:

Dev Channel specific:

No

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Mara P.”

      Changed Assigned To to “Amit J.”

      Changed Assigned To to “Travis L.”

      Changed Steps to Reproduce

      Changed Assigned To from “Travis L.” to “Sanket J.”

      Changed Status to “Confirmed”

      Changed Assigned To from “Sanket J.” to “Travis L.”

      Changed Assigned To from “Travis L.” to “IE S.”

      Changed Status from “Confirmed” to “Fixed”

    You need to sign in to your Microsoft account to add a comment.

    Sign in