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

Unified Diff: Source/core/html/shadow/TextControlInnerElements.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 (fixed test that was expected to fail and is now passing) 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/shadow/TextControlInnerElements.cpp
diff --git a/Source/core/html/shadow/TextControlInnerElements.cpp b/Source/core/html/shadow/TextControlInnerElements.cpp
index 9a6370ddc8fe88ba8d5289b3b2d17006d02fff59..0eb551db2502b5a88621933f5df9d56de3df14d1 100644
--- a/Source/core/html/shadow/TextControlInnerElements.cpp
+++ b/Source/core/html/shadow/TextControlInnerElements.cpp
@@ -188,13 +188,13 @@ PassRefPtr<SearchFieldCancelButtonElement> SearchFieldCancelButtonElement::creat
return element.release();
}
-void SearchFieldCancelButtonElement::detach()
+void SearchFieldCancelButtonElement::detach(const AttachContext& context)
{
if (m_capturing) {
if (Frame* frame = document()->frame())
frame->eventHandler()->setCapturingMouseEventsNode(0);
}
- HTMLDivElement::detach();
+ HTMLDivElement::detach(context);
}
@@ -399,15 +399,15 @@ void InputFieldSpeechButtonElement::setRecognitionResult(int, const SpeechInputR
renderer()->repaint();
}
-void InputFieldSpeechButtonElement::attach()
+void InputFieldSpeechButtonElement::attach(const AttachContext& context)
{
ASSERT(!m_listenerId);
if (SpeechInput* input = SpeechInput::from(document()->page()))
m_listenerId = input->registerListener(this);
- HTMLDivElement::attach();
+ HTMLDivElement::attach(context);
}
-void InputFieldSpeechButtonElement::detach()
+void InputFieldSpeechButtonElement::detach(const AttachContext& context)
{
if (m_capturing) {
if (Frame* frame = document()->frame())
@@ -421,7 +421,7 @@ void InputFieldSpeechButtonElement::detach()
m_listenerId = 0;
}
- HTMLDivElement::detach();
+ HTMLDivElement::detach(context);
}
void InputFieldSpeechButtonElement::startSpeechInput()
« no previous file with comments | « Source/core/html/shadow/TextControlInnerElements.h ('k') | Source/core/html/shadow/TextFieldDecorationElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698