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

Unified Diff: Source/core/dom/Document.cpp

Issue 653223002: Navigation transitions (web to native app): Revert exit transition (Blink side) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add tests Created 6 years, 2 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/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);
}
}
}

Powered by Google App Engine
This is Rietveld 408576698