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

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

Issue 2722613003: [css-grid] "normal" alignment is "start" for replaced elements (Closed)
Patch Set: Applied suggested changes 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
Index: third_party/WebKit/Source/core/layout/LayoutBox.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.cpp b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
index 456e411cbfb3a0d7b3ddef0e74bf1e6bd0209937..519f49d51b47e747acbd8676dfe9dc1881eccc9b 100644
--- a/third_party/WebKit/Source/core/layout/LayoutBox.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutBox.cpp
@@ -2756,11 +2756,11 @@ bool LayoutBox::hasStretchedLogicalWidth() const {
const ComputedStyle* parentStyle = isAnonymous() ? cb->style() : nullptr;
if (cb->isHorizontalWritingMode() != isHorizontalWritingMode())
return style
- .resolvedAlignSelf(cb->selfAlignmentNormalBehavior(),
+ .resolvedAlignSelf(cb->selfAlignmentNormalBehavior(this),
parentStyle)
.position() == ItemPositionStretch;
return style
- .resolvedJustifySelf(cb->selfAlignmentNormalBehavior(),
+ .resolvedJustifySelf(cb->selfAlignmentNormalBehavior(this),
parentStyle)
.position() == ItemPositionStretch;
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutBox.h ('k') | third_party/WebKit/Source/core/layout/LayoutFullScreen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698