зеркало из https://github.com/mozilla/gecko-dev.git
f6c34fc75b
Previously we supported insertParagraph as a synonym for formatBlock "p", which is both useless and incompatible with all other browsers. Edge's behavior doesn't look useful and looks redundant with insertHTML (although it matches the name nicely, probably because they invented the command). Blink/WebKit treat it the same as hitting Enter, which is useful for cross-browser testing until we get synthesizeKey() in wpt. At the same time, I added insertLineBreak, which Blink/WebKit support with the same functionality as pressing Shift-Enter. The new event.html failures are spurious -- we used to pass by mistake because we didn't support insertlinebreak at all. insertlinebreak.html has only new passes, no new failures, although it's not clear on the diff. MozReview-Commit-ID: 16oPcxXwGcj |
||
---|---|---|
.. | ||
composer | ||
libeditor | ||
reftests | ||
txmgr | ||
txtsvc | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsEditorCID.h | ||
nsIContentFilter.idl | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorIMESupport.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorObserver.idl | ||
nsIEditorSpellCheck.idl | ||
nsIEditorStyleSheets.idl | ||
nsIEditorUtils.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizeListener.idl | ||
nsIHTMLObjectResizer.idl | ||
nsIPlaintextEditor.idl | ||
nsITableEditor.idl | ||
nsIURIRefObject.idl | ||
nsPIEditorTransaction.idl |