зеркало из https://github.com/mozilla/gecko-dev.git
Remove node from nsTextNodeDirectionalityMap when another node is going to replace it. Bug 816253, r=peterv
This commit is contained in:
Родитель
ec38219fdc
Коммит
6472ad7f01
|
@ -732,6 +732,9 @@ void SetAncestorDirectionIfAuto(nsINode* aTextNode, Directionality aDir,
|
|||
// we found the node that set the element's direction after our
|
||||
// text node, so we need to reset the direction
|
||||
resetDirection = true;
|
||||
nsTextNodeDirectionalityMap::RemoveElementFromMap(
|
||||
directionWasSetByTextNode, parent
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче