gecko-dev/accessible
Masayuki Nakano a353ab7e90 Bug 1789967 - part 3: Make HTMLEditor::CollapseSelectionToEndOfLastLeafNodeOfDocument and HTMLEditor::InitEditorContentAndSelection do nothing if the document is partially editable r=m_kato
They and their callees work with the result of `GetRoot()` which is the document
element or the body element.  If the body is not editable, `Selection` should
not be updated in non-editable region nor `<br>` elements should not be
inserted in both non-focused editable elements and non-editable elements.
Therefore, they should run only when the document element or the `<body>`
element is editable.

To keep testing crashtests as reported, this patch makes tests which have
`contenteditable` except `<html>` and `<body>` initialize `Selection` as
what we've done.  And clean up the tests for helping to port them to WPT
in the future (bug 1725850).

Differential Revision: https://phabricator.services.mozilla.com/D157408
2022-09-22 06:27:37 +00:00
..
android Bug 1786519 - Null check BrowserParent's element and its owner doc. r=Jamie 2022-08-30 23:04:14 +00:00
aom Bug 1777574, automate CC zone handling, r=mccr8 2022-09-07 11:22:51 +00:00
atk Bug 1786638: Return early if we can't fetch an internal obj when computing ATK relations r=Jamie 2022-08-24 04:44:38 +00:00
base Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
basetypes Bug 1787101: HyperTextAccessibleBase::OffsetAtPoint: Transform the offset before returning it. r=morgan 2022-08-26 07:25:12 +00:00
docs
generic Bug 1789790: When a row is added to a table, push a cache update for the table's layout guess. r=morgan 2022-09-08 23:47:37 +00:00
html Bug 1788143 - Rely on selection state to determine combo box value, r=Jamie 2022-09-13 16:18:52 +00:00
interfaces Bug 1791245 - More cleanup for the <mfenced> element. r=emilio 2022-09-20 03:53:50 +00:00
ipc Backed out changeset 6376af715fb9 (bug 1787274) for Fenix UI test failures. 2022-09-15 13:10:33 -04:00
mac Bug 1726124: [Part 2] Only fire TABLE_STYLING_CHANGED events on tables, not table parts r=Jamie 2022-08-30 23:12:19 +00:00
other
tests Bug 1789967 - part 3: Make HTMLEditor::CollapseSelectionToEndOfLastLeafNodeOfDocument and HTMLEditor::InitEditorContentAndSelection do nothing if the document is partially editable r=m_kato 2022-09-22 06:27:37 +00:00
windows Bug 1787692: Partially support ISimpleDOMNode::nodeInfo for cached RemoteAccessibles. r=morgan 2022-09-05 04:30:44 +00:00
xpcom
xul
moz.build