Index: Source/core/dom/Document.cpp |
diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp |
index 64597aca002b7bdb3bbda792e3284c9ffb02653f..8b14e1582e5a5d06ae7ce4bf07bf9913ca5ab7e4 100644 |
--- a/Source/core/dom/Document.cpp |
+++ b/Source/core/dom/Document.cpp |
@@ -5659,7 +5659,7 @@ void Document::getTransitionElementData(Vector<TransitionElementData>& elementDa |
} |
} |
-void Document::hideTransitionElements(const AtomicString& cssSelector) |
+void Document::onTransitionElementOpacity(const AtomicString& cssSelector, const double opacity) |
esprehn
2014/10/15 18:01:26
updateTransitionElementOpacity? "on" is what we us
Zhen Wang
2014/10/15 19:50:58
Done.
|
{ |
TrackExceptionState exceptionState; |
RefPtrWillBeRawPtr<StaticElementList> elementList = querySelectorAll(cssSelector, exceptionState); |
@@ -5668,7 +5668,7 @@ void Document::hideTransitionElements(const AtomicString& cssSelector) |
for (unsigned nodeIndex = 0; nodeIndex < nodeListLength; ++nodeIndex) { |
Element* element = elementList->item(nodeIndex); |
- element->setInlineStyleProperty(CSSPropertyOpacity, 0.0, CSSPrimitiveValue::CSS_NUMBER); |
+ element->setInlineStyleProperty(CSSPropertyOpacity, opacity, CSSPrimitiveValue::CSS_NUMBER); |
} |
} |
} |