summaryrefslogtreecommitdiffstats
path: root/dom/html/HTMLOptionElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/html/HTMLOptionElement.h')
-rw-r--r--dom/html/HTMLOptionElement.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dom/html/HTMLOptionElement.h b/dom/html/HTMLOptionElement.h
index 965cdeb8f..de556b645 100644
--- a/dom/html/HTMLOptionElement.h
+++ b/dom/html/HTMLOptionElement.h
@@ -69,6 +69,10 @@ public:
nsresult CopyInnerTo(mozilla::dom::Element* aDest);
+ virtual bool IsDisabled() const override {
+ return HasAttr(kNameSpaceID_None, nsGkAtoms::disabled);
+ }
+
bool Disabled() const
{
return GetBoolAttr(nsGkAtoms::disabled);