| Index: Source/core/dom/Document.cpp
|
| diff --git a/Source/core/dom/Document.cpp b/Source/core/dom/Document.cpp
|
| index 5dff7d9be6b17f60c61c6dafcbe06da45d9792d9..6515feb3325be6b808f0502da8e762170c6d25cc 100644
|
| --- a/Source/core/dom/Document.cpp
|
| +++ b/Source/core/dom/Document.cpp
|
| @@ -61,6 +61,7 @@
|
| #include "core/dom/AddConsoleMessageTask.h"
|
| #include "core/dom/Attr.h"
|
| #include "core/dom/CDATASection.h"
|
| +#include "core/dom/ClientRect.h"
|
| #include "core/dom/Comment.h"
|
| #include "core/dom/ContextFeatures.h"
|
| #include "core/dom/DOMImplementation.h"
|
| @@ -5615,13 +5616,20 @@ void Document::getTransitionElementData(Vector<TransitionElementData>& elementDa
|
| if (!nodeListLength)
|
| continue;
|
|
|
| + TransitionElementData newElements;
|
| StringBuilder markup;
|
| for (unsigned nodeIndex = 0; nodeIndex < nodeListLength; ++nodeIndex) {
|
| Element* element = elementList->item(nodeIndex);
|
| markup.append(createStyledMarkupForNavigationTransition(element));
|
| + TransitionElement transitionElement;
|
| + if (element->hasID())
|
| + transitionElement.name = element->getIdAttribute().string();
|
| + else
|
| + transitionElement.name = "";
|
| + transitionElement.rect = element->boundsInRootViewSpace();
|
| + newElements.elements.append(transitionElement);
|
| }
|
|
|
| - TransitionElementData newElements;
|
| newElements.scope = metaElementContents.substring(firstSemicolon + 1).stripWhiteSpace();
|
| newElements.selector = selector;
|
| newElements.markup = markup.toString();
|
|
|