summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLStyleElement.h
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/html/HTMLStyleElement.h
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/html/HTMLStyleElement.h')
-rw-r--r--dom/html/HTMLStyleElement.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/html/HTMLStyleElement.h b/dom/html/HTMLStyleElement.h
index bd69a6aa1..7d98a494a 100644
--- a/dom/html/HTMLStyleElement.h
+++ b/dom/html/HTMLStyleElement.h
@@ -59,7 +59,7 @@ public:
NS_DECL_NSIMUTATIONOBSERVER_CONTENTINSERTED
NS_DECL_NSIMUTATIONOBSERVER_CONTENTREMOVED
- bool Disabled();
+ bool Disabled() const;
void SetDisabled(bool aDisabled);
void SetMedia(const nsAString& aMedia, ErrorResult& aError)
{
@@ -88,7 +88,8 @@ protected:
nsAString& aType,
nsAString& aMedia,
bool* aIsScoped,
- bool* aIsAlternate) override;
+ bool* aIsAlternate,
+ bool* aIsExplicitlyEnabled) override;
/**
* Common method to call from the various mutation observer methods.
* aContent is a content node that's either the one that changed or its