Bug 1951893 - Remove unneeded StaticAtom suffixes. r=emilio

Differential Revision: https://phabricator.services.mozilla.com/D240598
This commit is contained in:
Tom Schuster
2025-03-11 11:36:09 +00:00
parent 4a07aebf8e
commit b8d11d463f
40 changed files with 856 additions and 858 deletions

View File

@@ -5472,7 +5472,7 @@ already_AddRefed<Element> ScrollContainerFrame::MakeScrollbar(
if (mIsRoot) {
e->SetProperty(nsGkAtoms::docLevelNativeAnonymousContent,
reinterpret_cast<void*>(true));
e->SetAttr(kNameSpaceID_None, nsGkAtoms::root_, u"true"_ns, false);
e->SetAttr(kNameSpaceID_None, nsGkAtoms::root, u"true"_ns, false);
// Don't bother making style caching take [root="true"] styles into account.
aKey = AnonymousContentKey::None;
@@ -5632,7 +5632,7 @@ nsresult ScrollContainerFrame::CreateAnonymousContent(
mScrollCornerContent->SetProperty(
nsGkAtoms::docLevelNativeAnonymousContent,
reinterpret_cast<void*>(true));
mScrollCornerContent->SetAttr(kNameSpaceID_None, nsGkAtoms::root_,
mScrollCornerContent->SetAttr(kNameSpaceID_None, nsGkAtoms::root,
u"true"_ns, false);
// Don't bother making style caching take [root="true"] styles into