Backed out changeset ed12a3822cb9 (bug 1132768) for mochitest-oop-1 test failures

This commit is contained in:
Carsten "Tomcat" Book 2015-02-25 15:49:55 +01:00
parent 2971fbd92b
commit 9b98e07747
5 changed files with 1 additions and 31 deletions

View File

@ -1,11 +0,0 @@
<!DOCTYPE html>
<html>
<script>
function test() {
getSelection().selectAllChildren(document.querySelector("span"));
}
</script>
<body onload="test()">
<div>foo<span>bar</span>baz</div>
</body>
</html>

View File

@ -1,16 +0,0 @@
<!DOCTYPE html>
<html class="reftest-wait">
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script>
function test() {
synthesizeMouseAtCenter(document.querySelector("span"), {});
}
function focused() {
document.documentElement.removeAttribute("class");
}
</script>
<body onload="setTimeout(test, 0)">
<div contenteditable spellcheck="false" onfocus="focused()"
style="outline: none">foo<span contenteditable=false>bar</span>baz</div>
</body>
</html>

View File

@ -70,8 +70,6 @@ support-files =
bug1123067-2.html
bug1123067-3.html
bug1123067-ref.html
bug1132768-1.html
bug1132768-1-ref.html
selection-utils.js
multi-range-user-select.html
multi-range-user-select-ref.html

View File

@ -152,7 +152,6 @@ var tests = [
// [ 'bug1123067-1.html' , 'bug1123067-ref.html' ] , TODO: bug 1129205
[ 'bug1123067-2.html' , 'bug1123067-ref.html' ] ,
[ 'bug1123067-3.html' , 'bug1123067-ref.html' ] ,
[ 'bug1132768-1.html' , 'bug1132768-1-ref.html'] ,
function() {SpecialPowers.pushPrefEnv({'clear': [['touchcaret.enabled']]}, nextTest);} ,
];

View File

@ -9,7 +9,7 @@
cursor: text;
}
*|*:-moz-read-write :-moz-read-only {
*|*:focus:-moz-read-write :-moz-read-only {
-moz-user-select: all !important;
}