Index: Source/core/editing/StyledMarkupAccumulator.cpp |
diff --git a/Source/core/editing/StyledMarkupAccumulator.cpp b/Source/core/editing/StyledMarkupAccumulator.cpp |
index 1c1e9399715b8c05df76257236ee6be3f11246a3..a4496f6efe65f489376710645441bc4c0fea2117 100644 |
--- a/Source/core/editing/StyledMarkupAccumulator.cpp |
+++ b/Source/core/editing/StyledMarkupAccumulator.cpp |
@@ -180,9 +180,6 @@ void StyledMarkupAccumulator::appendElement(StringBuilder& out, Element& element |
if (shouldAnnotate()) |
newInlineStyle->mergeStyleFromRulesForSerialization(&toHTMLElement(element)); |
- if (&element == m_highestNodeToBeSerialized && m_shouldAnnotate == AnnotateForNavigationTransition) |
- newInlineStyle->addAbsolutePositioningFromElement(element); |
- |
if (addDisplayInline) |
newInlineStyle->forceInline(); |
@@ -253,7 +250,7 @@ bool StyledMarkupAccumulator::shouldApplyWrappingStyle(const Node& node) const |
bool StyledMarkupAccumulator::shouldAnnotate() const |
{ |
- return m_shouldAnnotate == AnnotateForInterchange || m_shouldAnnotate == AnnotateForNavigationTransition; |
+ return m_shouldAnnotate == AnnotateForInterchange; |
} |
} // namespace blink |