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

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

Issue 1763553002: Invalidate :default pseudo classes when a default button is added or removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/HTMLFormElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLFormElement.h b/third_party/WebKit/Source/core/html/HTMLFormElement.h
index 9bb909cbde9cd2e009faa67f6d13fdf7f6b2e006..219c15e8a8be74da880722e37482610f42fabeb2 100644
--- a/third_party/WebKit/Source/core/html/HTMLFormElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLFormElement.h
@@ -117,6 +117,7 @@ public:
const WillBeHeapVector<RawPtrWillBeMember<HTMLImageElement>>& imageElements();
void anonymousNamedGetter(const AtomicString& name, RadioNodeListOrElement&);
+ void invalidateDefaultButtonStyle() const;
private:
explicit HTMLFormElement(Document&);
@@ -173,6 +174,7 @@ private:
bool m_associatedElementsAreDirty : 1;
bool m_imageElementsAreDirty : 1;
bool m_hasElementsAssociatedByParser : 1;
+ bool m_hasElementsAssociatedByFormAttribute : 1;
bool m_didFinishParsingChildren : 1;
bool m_wasUserSubmitted : 1;

Powered by Google App Engine
This is Rietveld 408576698