TextDirection HTMLElement::directionalityIfhasDirAutoAttribute(bool& isAuto) const { isAuto = hasDirectionAuto(); if (!isAuto) return LTR; return directionality(); }
TextDirection HTMLElement::directionalityIfhasDirAutoAttribute(bool& isAuto) const { if (!(selfOrAncestorHasDirAutoAttribute() && hasDirectionAuto())) { isAuto = false; return LTR; } isAuto = true; return directionality(); }