Backed out changeset e3f87c81e43e (bug 1460740) for selection wpt failures. CLOSED TREE

This commit is contained in:
Csoregi Natalia 2020-10-20 19:21:10 +03:00
Родитель 7a78919c05
Коммит 067c15def6
3 изменённых файлов: 0 добавлений и 36 удалений

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

@ -100,7 +100,6 @@ fail-if = (os == 'linux' && os_version == '18.04') # Bug 1600208 permafail on ub
[test_bug1307853.html]
support-files = file_bug1307853.html
[test_bug1408607.html]
[test_bug1460740.html]
[test_bug1499961.html]
[test_bug1566783.html]
support-files = file_bug1566783.html

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

@ -1,30 +0,0 @@
<!DOCTYPE html>
<meta charset="utf-8">
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script src="/tests/SimpleTest/EventUtils.js"></script>
<style>
@font-face {
font-family: "Ahem";
src: url(/tests/fonts/Ahem.ttf);
}
details {
font: 16px/1 Ahem;
}
</style>
<details id="d"></details>
<script>
const selection = getSelection();
d.addEventListener("DOMSubtreeModified", ev => {
window.find("cthulu", true, false);
selection.extend(document.body, document.body.childNodes.length);
})
SimpleTest.waitForExplicitFinish();
window.onload = () => {
selection.collapse(document.body);
synthesizeMouse(d, 20, 10, { type: "mousedown" });
synthesizeMouse(d, 20, 10, { type: "mouseup" });
is(selection.focusNode, document.body);
SimpleTest.finish();
};
</script>

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

@ -783,11 +783,6 @@ video > .caption-box {
}
/* details & summary */
details > summary:-moz-native-anonymous {
/* TODO(krosylight): Remove this when fixing bug 1308080 */
user-select: none;
}
details > summary:is(:first-of-type, :-moz-native-anonymous) {
display: list-item;
counter-increment: list-item 0;