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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 2722613003: [css-grid] "normal" alignment is "start" for replaced elements (Closed)
Patch Set: New version 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/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index e4fd80eba60e87d23f215b0a8a17cbaefcf3ac8a..cd15350fc90c43e565333004c16b1703a5b6448c 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -512,6 +512,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
bool isLayoutMultiColumnSpannerPlaceholder() const {
return isOfType(LayoutObjectLayoutMultiColumnSpannerPlaceholder);
}
+ bool isLayoutReplaced() const { return isOfType(LayoutObjectLayoutReplaced); }
bool isLayoutScrollbarPart() const {
return isOfType(LayoutObjectLayoutScrollbarPart);
}
@@ -1910,6 +1911,7 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
LayoutObjectLayoutMultiColumnSet,
LayoutObjectLayoutMultiColumnSpannerPlaceholder,
LayoutObjectLayoutPart,
+ LayoutObjectLayoutReplaced,
LayoutObjectLayoutScrollbarPart,
LayoutObjectLayoutView,
LayoutObjectRuby,

Powered by Google App Engine
This is Rietveld 408576698