Changeset 284718 in webkit for trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
- Timestamp:
- Oct 22, 2021, 3:17:02 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp
r284642 r284718 3794 3794 if (!operation) 3795 3795 return cssValuePool.createIdentifierValue(CSSValueNone); 3796 if (is<Reference ClipPathOperation>(*operation))3797 return CSSPrimitiveValue::create(downcast<Reference ClipPathOperation>(*operation).url(), CSSUnitType::CSS_URI);3796 if (is<ReferencePathOperation>(*operation)) 3797 return CSSPrimitiveValue::create(downcast<ReferencePathOperation>(*operation).url(), CSSUnitType::CSS_URI); 3798 3798 auto list = CSSValueList::createSpaceSeparated(); 3799 if (is<Shape ClipPathOperation>(*operation)) {3800 auto& shapeOperation = downcast<Shape ClipPathOperation>(*operation);3799 if (is<ShapePathOperation>(*operation)) { 3800 auto& shapeOperation = downcast<ShapePathOperation>(*operation); 3801 3801 list->append(valueForBasicShape(style, shapeOperation.basicShape())); 3802 3802 if (shapeOperation.referenceBox() != CSSBoxType::BoxMissing) 3803 3803 list->append(cssValuePool.createValue(shapeOperation.referenceBox())); 3804 3804 } 3805 if (is<Box ClipPathOperation>(*operation))3806 list->append(cssValuePool.createValue(downcast<Box ClipPathOperation>(*operation).referenceBox()));3805 if (is<BoxPathOperation>(*operation)) 3806 list->append(cssValuePool.createValue(downcast<BoxPathOperation>(*operation).referenceBox())); 3807 3807 return list; 3808 3808 }
Note:
See TracChangeset
for help on using the changeset viewer.