Backed out changeset 2d480000f34e (bug 1517385) for high frequency failures on AccessibleCaretSelectionModeTestCase. CLOSED TREE

This commit is contained in:
Razvan Maries 2020-10-22 11:15:36 +03:00
Родитель f23fdd74fb
Коммит 1bfdb790e4
5 изменённых файлов: 1 добавлений и 54 удалений

Просмотреть файл

@ -114,10 +114,8 @@ nsAutoString AccessibleCaret::AppearanceString(Appearance aAppearance) {
nsAutoString string;
switch (aAppearance) {
case Appearance::None:
string = u"none"_ns;
break;
case Appearance::NormalNotShown:
string = u"hidden"_ns;
string = u"none"_ns;
break;
case Appearance::Normal:
string = u"normal"_ns;

Просмотреть файл

@ -1,18 +0,0 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<style>
#content {
position: absolute;
font-size: 20px;
width: 20px;
top: 0;
right: 0;
}
</style>
<body>
<div id="content">A</div>
</body>
</html>

Просмотреть файл

@ -1,28 +0,0 @@
<!DOCTYPE html>
<html>
<meta charset="utf-8">
<title>Bug 1517385: Test AccessibleCaret doesn't occupied space when its appearance is Appearance::None.</title>
<style>
#content {
position: absolute;
font-size: 20px;
width: 20px;
top: 0;
right: 0;
}
</style>
<script>
function runTest() {
let sel = window.getSelection();
let content = document.getElementById("content");
sel.selectAllChildren(content);
sel.removeAllRanges();
}
</script>
<body onload="runTest()">
<div id="content">A</div>
</body>
</html>

Просмотреть файл

@ -2072,7 +2072,6 @@ pref(layout.css.supports-selector.enabled,false) != 1499386.html 1499386-ref.htm
fuzzy-if(winWidget&&!webrender,0-104,0-1423) == 1513423-1.html 1513423-1-ref.html
fuzzy-if(winWidget&&!webrender,0-89,0-1420) == 1513423-2.html 1513423-2-ref.html
== 1513423-3.html 1513423-3-ref.html
pref(layout.accessiblecaret.enabled,true) == 1517385.html 1517385-ref.html
fuzzy-if(!webrender,1-5,66-547) fuzzy-if(geckoview&&!webrender,1-2,64-141) == 1529992-1.html 1529992-1-ref.html
fuzzy-if(!webrender,0-6,0-34) fuzzy-if(Android,9-14,44-60) fails-if(webrender) == 1529992-2.html 1529992-2-ref.html
== 1535040-1.html 1535040-1-ref.html

Просмотреть файл

@ -455,10 +455,6 @@ div:-moz-native-anonymous.moz-accessiblecaret.none {
display: none;
}
div:-moz-native-anonymous.moz-accessiblecaret.hidden {
visibility: hidden;
}
@media (min-resolution: 1.5dppx) {
div:-moz-native-anonymous.moz-accessiblecaret.normal > #image {
background-image: url("resource://gre-resources/accessiblecaret-normal@1.5x.png");