зеркало из https://github.com/mozilla/gecko-dev.git
349901dac4
`document.execCommand("removeformat")` removes any elements in the range which are editable, not `<a>`, not block and a container. https://searchfox.org/mozilla-central/rev/dd7e27f4a805e4115d0dbee70e1220b23b23c567/editor/libeditor/HTMLStyleEditor.cpp#760-763 This means that it removes hidden elements like `<script>` and `<style>`, or non-HTML elements like SVG elements. However, the unofficial document of `execCommand()` lists up elements which should be handled by the command. https://w3c.github.io/editing/execCommand.html#removeformat-candidate Additionally, Chrome respects this list since not including `<del>` element into the list does not make sense but Chrome ignores it. So, we should respect the list. Differential Revision: https://phabricator.services.mozilla.com/D27018 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
awsy | ||
config | ||
crashtest | ||
extensions | ||
firefox-ui | ||
geckodriver | ||
gtest | ||
jsshell | ||
marionette | ||
mochitest | ||
modules | ||
mozbase | ||
mozharness | ||
profiles | ||
raptor | ||
runtimes | ||
specialpowers | ||
talos | ||
tools | ||
tps | ||
web-platform | ||
webdriver | ||
xpcshell | ||
README.txt | ||
addtest.py | ||
cppunittest.ini | ||
mach_commands.py | ||
moz.build | ||
parse_build_tests_ccov.py | ||
remotecppunittests.py | ||
runcppunittests.py | ||
testsuite-targets.mk |
README.txt
Common testing tools for mozilla codebase projects, test suite definitions for automated test runs, tests that don't fit anywhere else, and other fun stuff