From 716fbb5f127a2838d3bdfdc3b92f8967f5a4abe8 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Sat, 26 Nov 2011 13:51:49 +0900 Subject: [PATCH] Bug 674770 part.3 Add tests for middle-clicking on anchor element when the page has contenteditable element r=roc --- editor/libeditor/html/tests/Makefile.in | 2 + .../html/tests/file_bug674770-1.html | 5 ++ .../html/tests/test_bug674770-1.html | 69 +++++++++++++++++++ 3 files changed, 76 insertions(+) create mode 100644 editor/libeditor/html/tests/file_bug674770-1.html create mode 100644 editor/libeditor/html/tests/test_bug674770-1.html diff --git a/editor/libeditor/html/tests/Makefile.in b/editor/libeditor/html/tests/Makefile.in index c702714eafd6..b3618a8291a1 100644 --- a/editor/libeditor/html/tests/Makefile.in +++ b/editor/libeditor/html/tests/Makefile.in @@ -85,6 +85,8 @@ _TEST_FILES = \ test_bug629845.html \ test_bug640321.html \ test_bug668599.html \ + test_bug674770-1.html \ + file_bug674770-1.html \ test_bug674861.html \ test_bug676401.html \ test_bug677752.html \ diff --git a/editor/libeditor/html/tests/file_bug674770-1.html b/editor/libeditor/html/tests/file_bug674770-1.html new file mode 100644 index 000000000000..6750bb878943 --- /dev/null +++ b/editor/libeditor/html/tests/file_bug674770-1.html @@ -0,0 +1,5 @@ + + diff --git a/editor/libeditor/html/tests/test_bug674770-1.html b/editor/libeditor/html/tests/test_bug674770-1.html new file mode 100644 index 000000000000..510e075ccc0d --- /dev/null +++ b/editor/libeditor/html/tests/test_bug674770-1.html @@ -0,0 +1,69 @@ + + + + + Test for Bug 674770 + + + + + + +Mozilla Bug 674770 +

+
+test +
+test +
+
+
+
+
+ +