# HG changeset patch # User Masayuki Nakano # Date 1501578428 -32400 # Tue Aug 01 18:07:08 2017 +0900 # Node ID ce9e09bdf7e38bf6cf3abd54f9c323d85afc6f3e # Parent d4134557db7c4aee5dd836efe4dfee7716ebc47e Bug 1385905 - part1: Add automated test to check if editor won't create mozBR element when typing Enter before invisible
element r=m_kato MozReview-Commit-ID: AcHnK2LbTs1 diff --git a/editor/libeditor/tests/mochitest.ini b/editor/libeditor/tests/mochitest.ini --- a/editor/libeditor/tests/mochitest.ini +++ b/editor/libeditor/tests/mochitest.ini @@ -242,16 +242,17 @@ skip-if = toolkit == 'android' # bug 131 [test_bug1328023.html] [test_bug1330796.html] [test_bug1332876.html] [test_bug1352799.html] [test_bug1355792.html] [test_bug1358025.html] [test_bug1361008.html] [test_bug1368544.html] +[test_bug1385905.html] [test_CF_HTML_clipboard.html] subsuite = clipboard [test_composition_event_created_in_chrome.html] [test_contenteditable_focus.html] [test_documentCharacterSet.html] [test_dom_input_event_on_htmleditor.html] skip-if = toolkit == 'android' # bug 1054087 diff --git a/editor/libeditor/tests/test_bug1385905.html b/editor/libeditor/tests/test_bug1385905.html new file mode 100644 --- /dev/null +++ b/editor/libeditor/tests/test_bug1385905.html @@ -0,0 +1,52 @@ + + + + + + + + + +Mozilla Bug 1385905 +
+
contents
+
+
+ + + +