зеркало из https://github.com/mozilla/gecko-dev.git
Don't clear HasDirAutoSet on a <bdi>. Bug 838489, r=ehsan
This commit is contained in:
Родитель
66525abd82
Коммит
38295b7830
|
@ -823,11 +823,11 @@ nsGenericHTMLElement::AfterSetAttr(int32_t aNamespaceID, nsIAtom* aName,
|
|||
} else {
|
||||
ClearHasValidDir();
|
||||
ClearHasFixedDir();
|
||||
ClearHasDirAuto();
|
||||
ClearHasDirAutoSet();
|
||||
if (NodeInfo()->Equals(nsGkAtoms::bdi)) {
|
||||
SetHasDirAuto();
|
||||
} else {
|
||||
ClearHasDirAuto();
|
||||
ClearHasDirAutoSet();
|
||||
dir = RecomputeDirectionality(this, aNotify);
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче