mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
4a9dec68d7
The main fix here involves the introduction of the nsHTMLEditor::IsNodeInActiveEditor API. This API returns true if the current selection in the document falls inside the active editable section. The patch adds a bunch of checks using this API to various places in the code to make sure that editing operations do not escape their editing host. There are also some unrelated fixes to range promotion code which fix the bugs that have existed in that code before, but because of the lack of this check were not uncovered before. This patch also removes the nsTextEditUtils::InBody API which only made sense in designMode documents, and was insufficient for contenteditable elements. |
||
---|---|---|
.. | ||
crashtests | ||
public | ||
src | ||
test | ||
Makefile.in |