diff options
author | Moonchild <moonchild@palemoon.org> | 2020-08-30 09:29:45 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-08-30 09:29:45 +0000 |
commit | a4780ebaeb123ce9c793b85bb38a1701fad8f7ac (patch) | |
tree | 6354d39f9cda4637b084c265befd88e895e74aa8 /dom/html/HTMLStyleElement.h | |
parent | c384fa6e25b07b37e9cc406da0c0aef583c61513 (diff) | |
download | UXP-a4780ebaeb123ce9c793b85bb38a1701fad8f7ac.tar UXP-a4780ebaeb123ce9c793b85bb38a1701fad8f7ac.tar.gz UXP-a4780ebaeb123ce9c793b85bb38a1701fad8f7ac.tar.lz UXP-a4780ebaeb123ce9c793b85bb38a1701fad8f7ac.tar.xz UXP-a4780ebaeb123ce9c793b85bb38a1701fad8f7ac.zip |
Issue #1629 - Uplift implementation of <link disabled> behavior for stylesheets.
Diffstat (limited to 'dom/html/HTMLStyleElement.h')
-rw-r--r-- | dom/html/HTMLStyleElement.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dom/html/HTMLStyleElement.h b/dom/html/HTMLStyleElement.h index 6b2a12b1f..9f82b8e51 100644 --- a/dom/html/HTMLStyleElement.h +++ b/dom/html/HTMLStyleElement.h @@ -58,7 +58,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) { @@ -87,7 +87,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 |