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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutBlock.cpp

Issue 2683773004: Fix missed invalidation in markFixedPositionObjectForLayoutIfNeeded. (Closed)
Patch Set: Created 3 years, 10 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 | « third_party/WebKit/LayoutTests/fast/block/positioning/fixed-in-abs-in-rel-top-change.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
index 8d111bb57d37d7b494d39004698e14fae44abb4b..12300e2c4704453ddc633e1a2c85d952e7179925 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
@@ -698,7 +698,8 @@ void LayoutBlock::markFixedPositionObjectForLayoutIfNeeded(
LayoutUnit newLeft = computedValues.m_position;
if (newLeft != box->logicalLeft())
layoutScope.setChildNeedsLayout(child);
- } else if (hasStaticBlockPosition) {
+ }
+ if (hasStaticBlockPosition) {
LogicalExtentComputedValues computedValues;
box->computeLogicalHeight(computedValues);
LayoutUnit newTop = computedValues.m_position;
« no previous file with comments | « third_party/WebKit/LayoutTests/fast/block/positioning/fixed-in-abs-in-rel-top-change.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698