Child nodes sometimes inaccessible inside a contenteditable div

Fixed Issue #6492250


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

Sign in to watch or report this issue.

Steps to reproduce


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:

Expected Results:

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

Actual Results:

Dev Channel specific:



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