Index: Source/core/css/CSSParser.cpp |
diff --git a/Source/core/css/CSSParser.cpp b/Source/core/css/CSSParser.cpp |
index cfb057fa67c0bc1308e1ac7e05a37b648da08428..22f90cd6d90a388773c761dc44bf9a7b4af10227 100644 |
--- a/Source/core/css/CSSParser.cpp |
+++ b/Source/core/css/CSSParser.cpp |
@@ -676,11 +676,13 @@ static inline bool isValidKeywordPropertyAndValue(CSSPropertyID propertyId, int |
// inline | block | list-item | run-in | inline-block | table | |
// inline-table | table-row-group | table-header-group | table-footer-group | table-row | |
// table-column-group | table-column | table-cell | table-caption | -webkit-box | -webkit-inline-box | none | inherit |
- // -webkit-flex | -webkit-inline-flex | -webkit-grid | -webkit-inline-grid |
+ // -webkit-flex | -webkit-inline-flex | -webkit-grid | -webkit-inline-grid | lazy-block |
if ((valueID >= CSSValueInline && valueID <= CSSValueWebkitInlineFlex) || valueID == CSSValueNone) |
return true; |
if (parserContext.isCSSGridLayoutEnabled && (valueID == CSSValueWebkitGrid || valueID == CSSValueWebkitInlineGrid)) |
return true; |
+ if (valueID == CSSValueLazyBlock) |
+ return RuntimeEnabledFeatures::lazyLayoutEnabled(); |
break; |
case CSSPropertyEmptyCells: // show | hide | inherit |