Bug 1706301 - Fix inert-node-is-unselectable.tentative.html. r=masayuki

Seems legit to select the whitespace around the inert node.

Differential Revision: https://phabricator.services.mozilla.com/D112718
This commit is contained in:
Emilio Cobos Álvarez 2021-04-20 12:20:55 +00:00
Родитель dc502df61b
Коммит 5918e97f4e
2 изменённых файлов: 1 добавлений и 5 удалений

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

@ -1,4 +0,0 @@
[inert-node-is-unselectable.tentative.html]
[Inert nodes cannot be selected.]
expected: FAIL

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

@ -13,7 +13,7 @@
<script>
test(function() {
document.execCommand('SelectAll');
assert_equals(window.getSelection().toString(), "I'm selectable.");
assert_equals(window.getSelection().toString().trim(), "I'm selectable.");
}, "Inert nodes cannot be selected.");
</script>
</body>