diff options
Diffstat (limited to 'dom/html/HTMLOptGroupElement.h')
-rw-r--r-- | dom/html/HTMLOptGroupElement.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/html/HTMLOptGroupElement.h b/dom/html/HTMLOptGroupElement.h index e46a6a953..d53a2e32b 100644 --- a/dom/html/HTMLOptGroupElement.h +++ b/dom/html/HTMLOptGroupElement.h @@ -46,6 +46,10 @@ public: virtual nsIDOMNode* AsDOMNode() override { return this; } + virtual bool IsDisabled() const override { + return HasAttr(kNameSpaceID_None, nsGkAtoms::disabled); + } + bool Disabled() const { return GetBoolAttr(nsGkAtoms::disabled); |