Backed out 2 changesets (bug 1291515) for reftest assertions in textarea-fieldset-legend-ref-2.html a=backout CLOSED TREE
Backed out changeset 4fac24cc0437 (bug 1291515) Backed out changeset 4e8b918dc410 (bug 1291515) MozReview-Commit-ID: F4yQK5ujqLP
This commit is contained in:
@@ -179,8 +179,7 @@ HTMLStyleElement::AfterSetAttr(int32_t aNameSpaceID, nsIAtom* aName,
|
||||
aName == nsGkAtoms::media ||
|
||||
aName == nsGkAtoms::type) {
|
||||
UpdateStyleSheetInternal(nullptr, nullptr, true);
|
||||
} else if (aName == nsGkAtoms::scoped &&
|
||||
nsContentUtils::IsScopedStyleEnabled(OwnerDoc())) {
|
||||
} else if (aName == nsGkAtoms::scoped) {
|
||||
bool isScoped = aValue;
|
||||
UpdateStyleSheetScopedness(isScoped);
|
||||
}
|
||||
@@ -243,8 +242,7 @@ HTMLStyleElement::GetStyleSheetInfo(nsAString& aTitle,
|
||||
|
||||
GetAttr(kNameSpaceID_None, nsGkAtoms::type, aType);
|
||||
|
||||
*aIsScoped = HasAttr(kNameSpaceID_None, nsGkAtoms::scoped) &&
|
||||
nsContentUtils::IsScopedStyleEnabled(OwnerDoc());
|
||||
*aIsScoped = HasAttr(kNameSpaceID_None, nsGkAtoms::scoped);
|
||||
|
||||
nsAutoString mimeType;
|
||||
nsAutoString notUsed;
|
||||
|
||||
Reference in New Issue
Block a user