Index: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
index eb4b6f3c3f839f616a27e5fc3664a55fe1748483..851020393ffa38593bef40777a2a7e0a4571c706 100644 |
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.cpp |
@@ -70,6 +70,11 @@ void LayoutSVGBlock::willBeDestroyed() { |
LayoutBlockFlow::willBeDestroyed(); |
} |
+void LayoutSVGBlock::updateFromStyle() { |
+ LayoutBlockFlow::updateFromStyle(); |
+ setFloating(false); |
wkorman
2017/01/04 22:27:08
What was causing floating to be set to true in som
Xianzhu
2017/01/04 22:49:59
isFloating() is set in LayoutBox::updateFromStyle(
|
+} |
+ |
void LayoutSVGBlock::styleDidChange(StyleDifference diff, |
const ComputedStyle* oldStyle) { |
if (diff.needsFullLayout()) { |