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

Unified Diff: Source/core/html/HTMLFormControlElement.cpp

Issue 16599003: :hover style not applied on hover if its display property is different from original style's (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Patch Created 7 years, 6 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: Source/core/html/HTMLFormControlElement.cpp
diff --git a/Source/core/html/HTMLFormControlElement.cpp b/Source/core/html/HTMLFormControlElement.cpp
index b1507544c8fa9a7242174c3d6d55b659a837c43c..ba0c4603d4e221af12c8f3f26a7155a948197daf 100644
--- a/Source/core/html/HTMLFormControlElement.cpp
+++ b/Source/core/html/HTMLFormControlElement.cpp
@@ -203,11 +203,11 @@ static void focusPostAttach(Node* element)
element->deref();
}
-void HTMLFormControlElement::attach()
+void HTMLFormControlElement::attach(const AttachContext& context)
{
PostAttachCallbackDisabler disabler(this);
- HTMLElement::attach();
+ HTMLElement::attach(context);
// The call to updateFromElement() needs to go after the call through
// to the base class's attach() because that can sometimes do a close

Powered by Google App Engine
This is Rietveld 408576698