summaryrefslogtreecommitdiffstats
path: root/dom/svg
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2020-08-18 12:17:17 +0000
committerGitHub <noreply@github.com>2020-08-18 12:17:17 +0000
commit7ca7fe802e62eb1e361f54b165a102b042e8c1f3 (patch)
tree074718a27d8e292409cc9f46199c78523e8809b2 /dom/svg
parent56f8262c8e4e84e9d6b0d6da72ab39cd8e0b2751 (diff)
parent2372e190256bef645b5dddb6af9b0c1ee14cf846 (diff)
downloadUXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar.gz
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar.lz
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.tar.xz
UXP-7ca7fe802e62eb1e361f54b165a102b042e8c1f3.zip
Merge pull request #1632 from athenian200/link_element_disabled
Respond to disabled attribute set on <link> elements from HTML
Diffstat (limited to 'dom/svg')
-rw-r--r--dom/svg/SVGStyleElement.cpp4
-rw-r--r--dom/svg/SVGStyleElement.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/dom/svg/SVGStyleElement.cpp b/dom/svg/SVGStyleElement.cpp
index 22fb204df..7655c1198 100644
--- a/dom/svg/SVGStyleElement.cpp
+++ b/dom/svg/SVGStyleElement.cpp
@@ -271,9 +271,11 @@ SVGStyleElement::GetStyleSheetInfo(nsAString& aTitle,
nsAString& aType,
nsAString& aMedia,
bool* aIsScoped,
- bool* aIsAlternate)
+ bool* aIsAlternate,
+ bool* aIsExplicitlyEnabled)
{
*aIsAlternate = false;
+ *aIsExplicitlyEnabled = false;
nsAutoString title;
GetAttr(kNameSpaceID_None, nsGkAtoms::title, title);
diff --git a/dom/svg/SVGStyleElement.h b/dom/svg/SVGStyleElement.h
index 9b126e7e8..e637dfb18 100644
--- a/dom/svg/SVGStyleElement.h
+++ b/dom/svg/SVGStyleElement.h
@@ -95,7 +95,8 @@ protected:
nsAString& aType,
nsAString& aMedia,
bool* aIsScoped,
- bool* aIsAlternate) override;
+ bool* aIsAlternate,
+ bool* aIsExplicitlyEnabled) override;
virtual CORSMode GetCORSMode() const override;
/**