+13
−0
Loading
Bug 1748018 - Make `HTMLEditUtils::GetFirstListItemElement` scan only within the given list element r=m_kato It calls `nsINode::GetNextNode()` to scan first descendant list item in the list without specifying the root node to scan within. Therefore, it may return following list item element of the given list element if the list element does not have children. Differential Revision: https://phabricator.services.mozilla.com/D135110