commit | d4c901508f17074ce54d1064cac7912e66332e81 | [log] [tgz] |
---|---|---|
author | Emilio Cobos Álvarez <emilio@crisal.io> | Tue Apr 20 12:27:38 2021 |
committer | moz-wptsync-bot <wptsync@mozilla.com> | Wed Apr 21 15:07:19 2021 |
tree | 2899f413eb9b510f1814aad2e94bb6c1a66e52dc | |
parent | b728cf284f4b1443988e684e0f84cfaee9445905 [diff] |
Fix inert-node-is-unselectable.tentative.html. Seems legit to select the whitespace around the inert node. Differential Revision: https://phabricator.services.mozilla.com/D112718 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1706301 gecko-commit: 5d02922bd6d4b03034e5ed5535b8d8f2477e3da9 gecko-reviewers: masayuki
diff --git a/inert/inert-node-is-unselectable.tentative.html b/inert/inert-node-is-unselectable.tentative.html index 7d5e908..b99af0d 100644 --- a/inert/inert-node-is-unselectable.tentative.html +++ b/inert/inert-node-is-unselectable.tentative.html
@@ -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>