Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(134)

Unified Diff: Source/WebCore/html/HTMLOptGroupElement.h

Issue 10453112: Merge 118772 - REGRESSION(r109729): The optgroup element's "disabled" attribute has no effect to re… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1132/
Patch Set: Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/css/StyleResolver.cpp ('k') | Source/WebCore/html/HTMLOptGroupElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/HTMLOptGroupElement.h
===================================================================
--- Source/WebCore/html/HTMLOptGroupElement.h (revision 119185)
+++ Source/WebCore/html/HTMLOptGroupElement.h (working copy)
@@ -34,6 +34,7 @@
public:
static PassRefPtr<HTMLOptGroupElement> create(const QualifiedName&, Document*);
+ virtual bool disabled() const OVERRIDE;
HTMLSelectElement* ownerSelectElement() const;
String groupLabelText() const;
@@ -44,6 +45,7 @@
virtual const AtomicString& formControlType() const;
virtual bool supportsFocus() const;
virtual bool isFocusable() const;
+ virtual bool isEnabledFormControl() const OVERRIDE { return !disabled(); }
virtual void parseAttribute(Attribute*) OVERRIDE;
virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
virtual void attach();
« no previous file with comments | « Source/WebCore/css/StyleResolver.cpp ('k') | Source/WebCore/html/HTMLOptGroupElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698