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

Unified Diff: Source/core/html/HTMLProgressElement.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/HTMLProgressElement.cpp
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp
index 11579e013791fd70fd76ae62bd9498e852e191fd..17e78906f25101090b88ba51af49df7a0b13013c 100644
--- a/Source/core/html/HTMLProgressElement.cpp
+++ b/Source/core/html/HTMLProgressElement.cpp
@@ -90,9 +90,9 @@ void HTMLProgressElement::parseAttribute(const QualifiedName& name, const Atomic
LabelableElement::parseAttribute(name, value);
}
-void HTMLProgressElement::attach()
+void HTMLProgressElement::attach(const AttachContext& context)
{
- LabelableElement::attach();
+ LabelableElement::attach(context);
if (RenderProgress* render = renderProgress())
render->updateFromElement();
}

Powered by Google App Engine
This is Rietveld 408576698