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

Unified Diff: third_party/WebKit/Source/core/html/HTMLFormControlElement.h

Issue 1756483005: Option, checkbox and radio should support ':default' selector (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated as per review comments Created 4 years, 10 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
Index: third_party/WebKit/Source/core/html/HTMLFormControlElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFormControlElement.h b/third_party/WebKit/Source/core/html/HTMLFormControlElement.h
index b2cc2c60a44b52d953fbbc9633dd58e0e53a9f3b..a102ba5d3996489f3ea5ec2586faa91aca217b6e 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormControlElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFormControlElement.h
@@ -133,6 +133,7 @@ protected:
void didChangeForm() override;
void didMoveToNewDocument(Document& oldDocument) override;
+ bool isDefaultButtonForForm() const override;
bool supportsFocus() const override;
bool isKeyboardFocusable() const override;
virtual bool shouldShowFocusRingOnMouseFocus() const;
@@ -161,7 +162,6 @@ private:
short tabIndex() const final;
- bool isDefaultButtonForForm() const final;
bool isValidElement() override;
bool matchesValidityPseudoClasses() const override;
void updateAncestorDisabledState() const;

Powered by Google App Engine
This is Rietveld 408576698