Backed out changeset b047f4782ae2 (bug 1423331) for 4 failures in layout/base/tests/test_reftests_with_caret.html r=backout on a CLOSED TREE

This commit is contained in:
Margareta Eliza Balazs 2018-01-09 17:48:14 +02:00
parent 5b113a4b69
commit 5a9938931a
8 changed files with 1 additions and 151 deletions

View File

@ -1,20 +0,0 @@
<!doctype html>
<meta charset="utf-8">
<title>Test reference for bug 1423331: Contenteditable insertion with pseudo-elements</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<style>
#editable {
outline: 1px solid black;
width: 300px;
height: 100px;
}
#editable::before {
content: "Write here";
}
</style>
<div id="editable" contenteditable></div>
<script>
SimpleTest.waitForFocus(function() {
document.getElementById("editable").focus();
});
</script>

View File

@ -1,23 +0,0 @@
<!doctype html>
<meta charset="utf-8">
<title>Test for bug 1423331: Contenteditable insertion with pseudo-elements</title>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<style>
#editable {
outline: 1px solid black;
width: 300px;
height: 100px;
}
#editable::before {
content: "Write here";
}
</style>
<div id="editable" contenteditable></div>
<script>
SimpleTest.waitForFocus(function() {
let div = document.getElementById("editable");
synthesizeMouseAtCenter(div, {});
synthesizeMouseAtCenter(div, {});
});
</script>

View File

@ -1,22 +0,0 @@
<!doctype html>
<meta charset="utf-8">
<title>Test reference for bug 1423331: Contenteditable insertion with pseudo-elements</title>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<style>
#editable {
outline: 1px solid black;
width: 300px;
height: 100px;
}
</style>
<div id="editable" contenteditable></div>
<script>
SimpleTest.waitForFocus(function() {
let div = document.getElementById("editable");
div.focus();
synthesizeKey("x", {});
synthesizeKey("x", {});
synthesizeKey("x", {});
});
</script>

View File

@ -1,26 +0,0 @@
<!doctype html>
<meta charset="utf-8">
<title>Test for bug 1423331: Contenteditable insertion with pseudo-elements</title>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<style>
#editable {
outline: 1px solid black;
width: 300px;
height: 100px;
}
#editable:empty::before {
content: "Write here";
}
</style>
<div id="editable" contenteditable></div>
<script>
SimpleTest.waitForFocus(function() {
let div = document.getElementById("editable");
synthesizeMouseAtCenter(div, {});
synthesizeMouseAtCenter(div, {});
synthesizeKey("x", {});
synthesizeKey("x", {});
synthesizeKey("x", {});
});
</script>

View File

@ -1,23 +0,0 @@
<!doctype html>
<meta charset="utf-8">
<title>Test for bug 1423331: Contenteditable insertion with pseudo-elements</title>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<style>
#editable {
outline: 1px solid black;
width: 300px;
height: 100px;
}
#editable::before {
content: "Write here";
}
</style>
<div id="editable" contenteditable></div>
<script>
SimpleTest.waitForFocus(function() {
let div = document.getElementById("editable");
synthesizeMouse(div, 2, 2, {});
synthesizeMouse(div, 2, 2, {});
});
</script>

View File

@ -1,26 +0,0 @@
<!doctype html>
<meta charset="utf-8">
<title>Test for bug 1423331: Contenteditable insertion with pseudo-elements</title>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<style>
#editable {
outline: 1px solid black;
width: 300px;
height: 100px;
}
#editable:empty::before {
content: "Write here";
}
</style>
<div id="editable" contenteditable></div>
<script>
SimpleTest.waitForFocus(function() {
let div = document.getElementById("editable");
synthesizeMouse(div, 2, 2, {});
synthesizeMouse(div, 2, 2, {});
synthesizeKey("x", {});
synthesizeKey("x", {});
synthesizeKey("x", {});
});
</script>

View File

@ -307,12 +307,6 @@ support-files =
bug1354478-6-ref.html
bug1359411.html
bug1359411-ref.html
bug1423331-1.html
bug1423331-1-ref.html
bug1423331-2.html
bug1423331-2-ref.html
bug1423331-3.html
bug1423331-4.html
image_rgrg-256x256.png
input-invalid-ref.html
input-maxlength-invalid-change.html

View File

@ -171,7 +171,7 @@ var tests = [
[ 'bug1097242-1.html', 'bug1097242-1-ref.html'] ,
[ 'bug1109968-1.html', 'bug1109968-1-ref.html'] ,
[ 'bug1109968-2.html', 'bug1109968-2-ref.html'] ,
[ 'bug1123067-1.html' , 'bug1123067-ref.html' ] ,
// [ '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'] ,
@ -193,10 +193,6 @@ var tests = [
[ 'bug1354478-5.html' , 'bug1354478-5-ref.html'] ,
[ 'bug1354478-6.html' , 'bug1354478-6-ref.html'] ,
[ 'bug1359411.html' , 'bug1359411-ref.html' ] ,
[ 'bug1423331-1.html' , 'bug1423331-1-ref.html' ] ,
[ 'bug1423331-2.html' , 'bug1423331-2-ref.html' ] ,
[ 'bug1423331-3.html' , 'bug1423331-1-ref.html' ] ,
[ 'bug1423331-4.html' , 'bug1423331-2-ref.html' ] ,
function() {SpecialPowers.pushPrefEnv({'clear': [['layout.accessiblecaret.enabled']]}, nextTest);} ,
];