author | Aryeh Gregor <ayg@aryeh.name> |
Thu, 05 Jul 2012 21:35:10 +0100 | |
changeset 98444 | 7851dc0f395cc916ce188de45d276223080444fb |
parent 98443 | aa7493c796cefc4885f70ab4c75ff30e422b13be |
child 98445 | c265b644a72cb0121684c4664bec9892efe360ef |
push id | 11482 |
push user | neil@parkwaycc.co.uk |
push date | Thu, 05 Jul 2012 20:35:18 +0000 |
treeherder | mozilla-inbound@7851dc0f395c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | ehsan |
bugs | 767684, 752210 |
milestone | 16.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
editor/libeditor/html/tests/Makefile.in | file | annotate | diff | comparison | revisions | |
editor/libeditor/html/tests/test_bug767684.html | file | annotate | diff | comparison | revisions |
--- a/editor/libeditor/html/tests/Makefile.in +++ b/editor/libeditor/html/tests/Makefile.in @@ -74,16 +74,17 @@ include $(topsrcdir)/config/rules.mk test_dom_input_event_on_htmleditor.html \ test_htmleditor_keyevent_handling.html \ test_keypress_untrusted_event.html \ test_select_all_without_body.html \ file_select_all_without_body.html \ test_root_element_replacement.html \ test_bug738366.html \ test_bug757371.html \ + test_bug767684.html \ $(NULL) ifneq (mobile,$(MOZ_BUILD_APP)) _TEST_FILES += test_spellcheck_pref.html \ $(NULL) endif _DATA_FILES = \
new file mode 100644 --- /dev/null +++ b/editor/libeditor/html/tests/test_bug767684.html @@ -0,0 +1,15 @@ +<!DOCTYPE html> +<!-- +https://bugzilla.mozilla.org/show_bug.cgi?id=767684 +--> +<title>Test for Bug 767684</title> +<script src="/tests/SimpleTest/SimpleTest.js"></script> +<link rel="stylesheet" href="/tests/SimpleTest/test.css"> +<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=767684">Mozilla Bug 767684</a> +<div contenteditable>foo<b>bar</b>baz</div> +<script> +getSelection().selectAllChildren(document.querySelector("div")); +document.execCommand("increaseFontSize"); +is(document.querySelector("div").innerHTML, "<big>foo<b>bar</b>baz</big>", + "All selected text must be embiggened"); +</script>