diff --git a/layout/base/tests/bug1258308-1-ref.html b/layout/base/tests/bug1258308-1-ref.html new file mode 100644 index 000000000000..3c975569c5fe --- /dev/null +++ b/layout/base/tests/bug1258308-1-ref.html @@ -0,0 +1,32 @@ + + + + + + + Testcase #1 for bug 1258308 + + + + + + + + + diff --git a/layout/base/tests/bug1258308-1.html b/layout/base/tests/bug1258308-1.html new file mode 100644 index 000000000000..3f6c2554076b --- /dev/null +++ b/layout/base/tests/bug1258308-1.html @@ -0,0 +1,40 @@ + + + + + + + Testcase #1 for bug 1258308 + + + + + + + + + diff --git a/layout/base/tests/bug1258308-2-ref.html b/layout/base/tests/bug1258308-2-ref.html new file mode 100644 index 000000000000..88659d3f490f --- /dev/null +++ b/layout/base/tests/bug1258308-2-ref.html @@ -0,0 +1,37 @@ + + + + + + + Testcase #2 for bug 1258308 + + + + +
abc
+def
+ghi
+ + + + diff --git a/layout/base/tests/bug1258308-2.html b/layout/base/tests/bug1258308-2.html new file mode 100644 index 000000000000..f1472dc6684a --- /dev/null +++ b/layout/base/tests/bug1258308-2.html @@ -0,0 +1,31 @@ + + + + + + + Testcase #2 for bug 1258308 + + + + +
abc
+def
+ghi
+ + + + diff --git a/layout/base/tests/mochitest.ini b/layout/base/tests/mochitest.ini index ea47565f6d00..0cc29131fe1d 100644 --- a/layout/base/tests/mochitest.ini +++ b/layout/base/tests/mochitest.ini @@ -39,6 +39,10 @@ support-files = bug1237236-1-ref.html bug1237236-2.html bug1237236-2-ref.html + bug1258308-1.html + bug1258308-1-ref.html + bug1258308-2.html + bug1258308-2-ref.html selection-utils.js multi-range-user-select.html multi-range-user-select-ref.html diff --git a/layout/base/tests/test_reftests_with_caret.html b/layout/base/tests/test_reftests_with_caret.html index 1fe02090114e..96b6ca635f24 100644 --- a/layout/base/tests/test_reftests_with_caret.html +++ b/layout/base/tests/test_reftests_with_caret.html @@ -157,6 +157,7 @@ var tests = [ [ 'bug1132768-1.html' , 'bug1132768-1-ref.html'] , [ 'bug1237236-1.html' , 'bug1237236-1-ref.html' ] , [ 'bug1237236-2.html' , 'bug1237236-2-ref.html' ] , + [ 'bug1258308-2.html' , 'bug1258308-2-ref.html' ] , function() {SpecialPowers.pushPrefEnv({'clear': [['layout.accessiblecaret.enabled']]}, nextTest);} , ]; @@ -170,6 +171,7 @@ if (navigator.appVersion.indexOf("Android") == -1 && tests.push([ 'bug966992-2.html' , 'bug966992-2-ref.html' ]); tests.push([ 'bug966992-3.html' , 'bug966992-3-ref.html' ]); tests.push(function() {SpecialPowers.pushPrefEnv({'clear': [['layout.css.overflow-clip-box.enabled']]}, nextTest);}); + tests.push([ 'bug1258308-1.html' , 'bug1258308-1-ref.html' ]); // maybe VK_END doesn't work on Android? } else { is(SpecialPowers.getIntPref("layout.spellcheckDefault"), 0, "Spellcheck should be turned off for this platform or this if..else check removed"); }