Skip to content

Latest commit

 

History

History
101 lines (94 loc) · 5.12 KB

BROWSERINCONSISTENCIES.md

File metadata and controls

101 lines (94 loc) · 5.12 KB

List of contenteditable Browser Inconsistencies

Playground: http://jsbin.com/iwEWUXo/2/edit?js,console,output

document.execCommand commands

Range.insertNode

Document.queryCommandState

Element.focus

  • Firefox: Giving focus to a contenteditable will place the caret outside of any block elements. Chrome behaves correctly by placing the caret at the earliest point possible inside the first block element: http://jsbin.com/eLoFOku/1/edit?js,console,output

Events

Other

Range.commonAncestorContainer