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

Unified Diff: Source/core/rendering/RenderRegion.cpp

Issue 18374008: Propagate writing-mode from the first region to the flow thread. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address minor issues raised together with the LGTM. Created 7 years, 4 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
« no previous file with comments | « Source/core/rendering/RenderNamedFlowThread.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/RenderRegion.cpp
diff --git a/Source/core/rendering/RenderRegion.cpp b/Source/core/rendering/RenderRegion.cpp
index 203d207afa8b76d2b40bd1781b838e356578728f..1a739f880d8e765c489a2646992c0464c2e9616e 100644
--- a/Source/core/rendering/RenderRegion.cpp
+++ b/Source/core/rendering/RenderRegion.cpp
@@ -270,6 +270,9 @@ void RenderRegion::styleDidChange(StyleDifference diff, const RenderStyle* oldSt
checkRegionStyle();
updateRegionHasAutoLogicalHeightFlag();
+
+ if (oldStyle && oldStyle->writingMode() != style()->writingMode())
+ m_flowThread->regionChangedWritingMode(this);
}
void RenderRegion::layoutBlock(bool relayoutChildren, LayoutUnit)
« no previous file with comments | « Source/core/rendering/RenderNamedFlowThread.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698