mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
When the text node that set the directionality of an element with dir=auto is removed, and there is no other text node that can set the directionality, clear the dirAutoSetBy property on the element. Bug 815500, r=peterv
This commit is contained in:
parent
a8db051490
commit
5f1677a1eb
@ -490,6 +490,9 @@ private:
|
||||
startAfterNode);
|
||||
if (textNode) {
|
||||
nsTextNodeDirectionalityMap::AddEntryToMap(textNode, rootNode);
|
||||
} else {
|
||||
rootNode->ClearHasDirAutoSet();
|
||||
rootNode->UnsetProperty(nsGkAtoms::dirAutoSetBy);
|
||||
}
|
||||
return PL_DHASH_REMOVE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user