Changeset 286795 in webkit for trunk/Source/WebCore/css/CSSValuePool.h
- Timestamp:
- Dec 9, 2021, 12:22:34 PM (3 years ago)
- Author:
- [email protected]
- Message:
-
Unprefix -webkit-mask
https://bugs.webkit.org/show_bug.cgi?id=229082
Patch by Matt Woodrow <[email protected]> on 2021-12-09
Reviewed by Antti Koivisto.
LayoutTests/imported/w3c:
- web-platform-tests/css/css-masking/animations/mask-image-interpolation-expected.txt:
- web-platform-tests/css/css-masking/animations/mask-position-interpolation-expected.txt:
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-expected.html:
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-filter-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-expected.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-filter.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-incompatible-shapes1-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-expected.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-incompatible-shapes1.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-incompatible-shapes2-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-expected.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-incompatible-shapes2.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-overflow-expected.html: Added.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-overflow.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-three-keyframes1-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-expected.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-three-keyframes1.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-three-keyframes2-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-expected.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-three-keyframes2.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html:
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-transition-expected.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-expected.html.
- web-platform-tests/css/css-masking/clip-path/animations/clip-path-transition.html: Copied from LayoutTests/imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation.html.
- web-platform-tests/css/css-masking/clip-path/animations/w3c-import.log:
- web-platform-tests/css/css-masking/clip-path/clip-path-columns-shape-002.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-descendant-text-mutated-001.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-element-userSpaceOnUse-001.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-element-userSpaceOnUse-002.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-element-userSpaceOnUse-003.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-element-userSpaceOnUse-004.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-fixed-scroll-expected.html: Added.
- web-platform-tests/css/css-masking/clip-path/clip-path-fixed-scroll.html: Added.
- web-platform-tests/css/css-masking/clip-path/clip-path-path-001-expected.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-path-002-expected.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-path-interpolation-001-expected.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-path-interpolation-002-expected.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-reference-restore.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-svg-invalidate-expected.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-svg-invalidate.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-svg-text-backdrop-filter.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-svg-text-font-loading.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-transform-mutated-001.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-transform-mutated-002.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-url-reference-change-from-empty.html:
- web-platform-tests/css/css-masking/clip-path/clip-path-url-reference-change.html:
- web-platform-tests/css/css-masking/clip-path/reference-local-url-with-base-001.html:
- web-platform-tests/css/css-masking/clip-path/reference-mutated.html:
- web-platform-tests/css/css-masking/clip-path/reference-nonexisting-existing-local.html:
- web-platform-tests/css/css-masking/clip-path/w3c-import.log:
- web-platform-tests/css/css-masking/clip-rule/clip-rule-001.html:
- web-platform-tests/css/css-masking/clip-rule/clip-rule-002.html:
- web-platform-tests/css/css-masking/hit-test/clip-path-element-objectboundingbox-001.html:
- web-platform-tests/css/css-masking/hit-test/clip-path-element-objectboundingbox-002.html:
- web-platform-tests/css/css-masking/hit-test/clip-path-element-userspaceonuse-001.html:
- web-platform-tests/css/css-masking/idlharness.html:
- web-platform-tests/css/css-masking/inheritance.sub-expected.txt:
- web-platform-tests/css/css-masking/parsing/mask-position-valid-expected.txt:
- web-platform-tests/css/css-masking/parsing/mask-valid.sub-expected.txt:
Source/WebCore:
Tests: fast/masking/parsing-webkit-mask.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-filter.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-incompatible-shapes1.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-incompatible-shapes2.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-overflow.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-three-keyframes1.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-animation-three-keyframes2.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/animations/clip-path-transition.html
imported/w3c/web-platform-tests/css/css-masking/clip-path/clip-path-fixed-scroll.html
svg/masking/mask-external-reference-expected.svg
svg/masking/mask-external-reference.svg
- animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::createPositionListForLayer):
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle):
- css/CSSImageValue.cpp:
(WebCore::ResolvedURL::isLocalURL const):
(WebCore::CSSImageValue::reresolvedURL const):
- css/CSSImageValue.h:
- css/CSSPrimitiveValue.h:
(WebCore::CSSPrimitiveValue::create):
- css/CSSPrimitiveValueMappings.h:
(WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
(WebCore::CSSPrimitiveValue::operator CompositeOperator const):
(WebCore::CSSPrimitiveValue::operator FillBox const):
- css/CSSProperties.json:
- css/CSSToStyleMap.cpp:
(WebCore::CSSToStyleMap::mapFillMaskMode):
- css/CSSValueKeywords.in:
- css/CSSValuePool.h:
(WebCore::CSSValuePool::createValue):
- css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::svgPropertyValue):
- css/StyleProperties.cpp:
(WebCore::StyleProperties::getPropertyValue const):
(WebCore::resolvedClipValue):
(WebCore::isSameAsInitialClipValue):
(WebCore::StyleProperties::getLayeredShorthandValue const):
(WebCore::StyleProperties::asText const):
- css/parser/CSSPropertyParser.cpp:
(WebCore::consumeMaskClip):
(WebCore::consumePrefixedBackgroundComposite):
(WebCore::consumeBackgroundComposite):
(WebCore::consumeBackgroundComponent):
(WebCore::CSSPropertyParser::parseSingleValue):
(WebCore::consumeBackgroundPosition):
(WebCore::CSSPropertyParser::consumeBackgroundShorthand):
(WebCore::CSSPropertyParser::parseShorthand):
- css/parser/CSSPropertyParserHelpers.cpp:
(WebCore::CSSPropertyParserHelpers::consumePositionCoordinates):
- display/css/DisplayBoxDecorationPainter.cpp:
(WebCore::Display::BoxDecorationPainter::paintFillLayer const):
- rendering/style/FillLayer.cpp:
(WebCore::clipMax):
(WebCore::FillLayer::computeClipMax const):
- rendering/style/FillLayer.h:
- rendering/style/RenderStyle.cpp:
(WebCore::rareNonInheritedDataChangeRequiresLayerRepaint):
- rendering/style/RenderStyle.h:
(WebCore::RenderStyle::hasPositionedMask const):
- rendering/style/RenderStyleConstants.cpp:
(WebCore::operator<<):
- rendering/style/RenderStyleConstants.h:
- rendering/style/SVGRenderStyle.cpp:
(WebCore::SVGRenderStyle::SVGRenderStyle):
(WebCore::SVGRenderStyle::operator== const):
(WebCore::SVGRenderStyle::copyNonInheritedFrom):
(WebCore::SVGRenderStyle::diff const):
- rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::initialLightingColor):
(WebCore::SVGRenderStyle::y const):
(WebCore::SVGRenderStyle::hasFill const):
(WebCore::SVGRenderStyle::initialMaskerResource): Deleted.
(WebCore::SVGRenderStyle::maskerResource const): Deleted.
(WebCore::SVGRenderStyle::hasMasker const): Deleted.
(WebCore::SVGRenderStyle::isolatesBlending const): Deleted.
(WebCore::SVGRenderStyle::setMaskerResource): Deleted.
- rendering/style/SVGRenderStyleDefs.cpp:
(WebCore::StyleResourceData::StyleResourceData): Deleted.
(WebCore::StyleResourceData::copy const): Deleted.
(WebCore::StyleResourceData::operator== const): Deleted.
- rendering/style/SVGRenderStyleDefs.h:
(WebCore::StyleResourceData::create): Deleted.
(WebCore::StyleResourceData::operator!= const): Deleted.
- rendering/style/StyleCachedImage.cpp:
(WebCore::StyleCachedImage::imageURL const):
(WebCore::StyleCachedImage::reresolvedURL const):
(WebCore::StyleCachedImage::imageURL): Deleted.
- rendering/style/StyleCachedImage.h:
- rendering/style/WillChangeData.cpp:
(WebCore::WillChangeData::propertyCreatesStackingContext):
- rendering/svg/SVGRenderSupport.cpp:
(WebCore::SVGRenderSupport::isolatesBlending):
(WebCore::SVGRenderSupport::updateMaskedAncestorShouldIsolateBlending):
- rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeResources):
- rendering/svg/SVGRenderingContext.cpp:
(WebCore::SVGRenderingContext::prepareToRenderSVGContent):
- rendering/svg/SVGResources.cpp:
(WebCore::SVGResources::buildCachedResources):
LayoutTests:
- fast/masking/parsing-mask-expected.txt:
- fast/masking/parsing-mask-mode.html:
- fast/masking/parsing-mask.html:
- fast/masking/parsing-webkit-mask-expected.txt: Copied from LayoutTests/fast/masking/parsing-mask-expected.txt.
- fast/masking/parsing-webkit-mask.html: Copied from LayoutTests/fast/masking/parsing-mask.html.
- platform/mac/imported/w3c/web-platform-tests/css/css-masking/animations/mask-image-interpolation-expected.png: Added.
- platform/mac/imported/w3c/web-platform-tests/css/css-masking/parsing/mask-valid.sub-expected.png: Added.
- svg/masking/mask-external-reference-expected.svg: Added.
- svg/masking/mask-external-reference.svg: Added.
- svg/masking/resources/mask-resource.svg: Added.
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSValuePool.h
r285373 r286795 88 88 Ref<CSSPrimitiveValue> createCustomIdent(const String& value) { return CSSPrimitiveValue::create(value, CSSUnitType::CustomIdent); } 89 89 template<typename T> static Ref<CSSPrimitiveValue> createValue(T&& value) { return CSSPrimitiveValue::create(std::forward<T>(value)); } 90 template<typename T> static Ref<CSSPrimitiveValue> createValue(T&& value, CSSPropertyID identifier) { return CSSPrimitiveValue::create(std::forward<T>(value), identifier); } 90 91 91 92 void drain();