mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Clear the HasDirAuto and HasDirAutoSet flags when setting dir to an invalid value. Bug 831287, r=ehsan
This commit is contained in:
parent
50ee1750d8
commit
926d1bdddc
@ -824,6 +824,8 @@ nsGenericHTMLElement::AfterSetAttr(int32_t aNamespaceID, nsIAtom* aName,
|
|||||||
} else {
|
} else {
|
||||||
ClearHasValidDir();
|
ClearHasValidDir();
|
||||||
ClearHasFixedDir();
|
ClearHasFixedDir();
|
||||||
|
ClearHasDirAuto();
|
||||||
|
ClearHasDirAutoSet();
|
||||||
if (NodeInfo()->Equals(nsGkAtoms::bdi)) {
|
if (NodeInfo()->Equals(nsGkAtoms::bdi)) {
|
||||||
SetHasDirAuto();
|
SetHasDirAuto();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user