зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
dc502df61b
Коммит
5918e97f4e
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче