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

Unified Diff: Source/core/html/shadow/TextFieldDecorationElement.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
« no previous file with comments | « Source/core/html/shadow/TextFieldDecorationElement.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/shadow/TextFieldDecorationElement.cpp
diff --git a/Source/core/html/shadow/TextFieldDecorationElement.cpp b/Source/core/html/shadow/TextFieldDecorationElement.cpp
index d20fb0d86d0abc2d3bca248d969b93a017e4e2ea..f281d438896f3f98857c8b7a1811cd03e9253d5d 100644
--- a/Source/core/html/shadow/TextFieldDecorationElement.cpp
+++ b/Source/core/html/shadow/TextFieldDecorationElement.cpp
@@ -169,16 +169,16 @@ RenderObject* TextFieldDecorationElement::createRenderer(RenderArena* arena, Ren
return image;
}
-void TextFieldDecorationElement::attach()
+void TextFieldDecorationElement::attach(const AttachContext& context)
{
- HTMLDivElement::attach();
+ HTMLDivElement::attach(context);
updateImage();
}
-void TextFieldDecorationElement::detach()
+void TextFieldDecorationElement::detach(const AttachContext& context)
{
m_textFieldDecorator->willDetach(hostInput());
- HTMLDivElement::detach();
+ HTMLDivElement::detach(context);
}
bool TextFieldDecorationElement::isMouseFocusable() const
« no previous file with comments | « Source/core/html/shadow/TextFieldDecorationElement.h ('k') | Source/core/page/DragController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698