Bug 1850238, 1850293: apply code formatting via Lando

# ignore-this-changeset
This commit is contained in:
Otto Länd 2023-08-30 09:26:04 +00:00
parent c27a2129fd
commit 573066d4bb

View File

@ -400,8 +400,7 @@ void ElementInternals::UpdateBarredFromConstraintValidation() {
if (mTarget) {
MOZ_ASSERT(mTarget->IsFormAssociatedElement());
SetBarredFromConstraintValidation(
mTarget->IsDisabled() ||
mTarget->HasAttr(nsGkAtoms::readonly) ||
mTarget->IsDisabled() || mTarget->HasAttr(nsGkAtoms::readonly) ||
mTarget->HasFlag(ELEMENT_IS_DATALIST_OR_HAS_DATALIST_ANCESTOR));
}
}