haikuwebkit/LayoutTests/imported/mozilla/svg
Dirk Schulze b27057cf7a [css-masking] Unprefix -webkit-clip-path
https://bugs.webkit.org/show_bug.cgi?id=187888

Reviewed by Simon Fraser.

LayoutTests/imported/mozilla:

Integrated test expectations do not match the actual expected
behavior. The reason is that the expectation files reference
resources from different documents - which is not supported by
WebKit. Since unprefixed clip-path wasn't supported either
the test passed.

* svg/svg-integration/clipPath-html-01-expected.xhtml:
* svg/svg-integration/clipPath-html-02-expected.xhtml:
* svg/svg-integration/clipPath-html-02.xhtml:
* svg/svg-integration/clipPath-html-03-expected.xhtml:
* svg/svg-integration/clipPath-html-04-expected.xhtml:
* svg/svg-integration/clipPath-html-05-expected.xhtml:
* svg/svg-integration/clipPath-html-06-expected.xhtml:

LayoutTests/imported/w3c:

Test started passing. Updating test results.

* web-platform-tests/css/css-masking/parsing/clip-path-computed-expected.txt:
* web-platform-tests/css/css-masking/parsing/clip-path-valid-expected.txt:
* web-platform-tests/css/css-shapes/basic-shape-circle-ellipse-serialization-expected.txt:
* web-platform-tests/css/css-shapes/shape-outside/formatting-context/shape-outside-formatting-context.tentative-expected.html:
        Test result is incorrect: Doesn't test the shifing of content when shape-outside is set.
* web-platform-tests/css/css-shapes/shape-outside/formatting-context/shape-outside-formatting-context.tentative.html:

Source/WebCore:

Unprefix -webkit-clip-path. Make clip-path alias the prefixed version.

We already have a wide variaty of pre-/unprexied clip-path tests.

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyinStyle):
* css/CSSProperties.json:
* css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::svgPropertyValue):
* css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseSingleValue):
* page/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
* rendering/style/SVGRenderStyle.h:
(WebCore::SVGRenderStyle::initialShadow):
(WebCore::SVGRenderStyle::y const):
(WebCore::SVGRenderStyle::initialClipperResource): Deleted.
(WebCore::SVGRenderStyle::clipperResource const): Deleted.
(WebCore::SVGRenderStyle::hasClipper const): Deleted.
(WebCore::SVGRenderStyle::setClipperResource): Deleted.
* rendering/style/SVGRenderStyleDefs.cpp:
(WebCore::StyleResourceData::StyleResourceData):
(WebCore::StyleResourceData::operator== const):
* rendering/style/SVGRenderStyleDefs.h:
* rendering/style/WillChangeData.cpp:
(WebCore::WillChangeData::propertyCreatesStackingContext):
* rendering/svg/RenderSVGResourceClipper.cpp:
(WebCore::RenderSVGResourceClipper::pathOnlyClipping):
* rendering/svg/SVGRenderTreeAsText.cpp:
(WebCore::writeResources):
* rendering/svg/SVGResources.cpp:
(WebCore::SVGResources::buildCachedResources):


Canonical link: https://commits.webkit.org/216978@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2019-10-30 17:07:02 +00:00
..
as-image
filters
image
sizing Import Mozilla test suite for SVG. 2014-12-16 02:19:52 +00:00
smil
svg-integration
text
altGlyph-01-expected.svg
altGlyph-01.svg
blend-color-burn-expected.svg
blend-color-burn.svg
blend-color-dodge-expected.svg
blend-color-dodge.svg
blend-color-expected.svg
blend-color.svg
blend-darken-expected.svg
blend-darken.svg
blend-difference-expected.svg
blend-difference-stacking-expected.html
blend-difference-stacking.html
blend-difference.svg
blend-exclusion-expected.svg
blend-exclusion.svg
blend-hard-light-expected.svg
blend-hard-light.svg
blend-hue-expected.svg
blend-hue.svg
blend-layer-blend-expected.svg
blend-layer-blend.svg
blend-layer-filter-expected.svg
blend-layer-filter.svg
blend-layer-mask-expected.svg
blend-layer-mask.svg
blend-layer-opacity-expected.svg
blend-layer-opacity.svg
blend-lighten-expected.svg
blend-lighten.svg
blend-luminosity-expected.svg
blend-luminosity.svg
blend-multiply-expected.svg
blend-multiply.svg
blend-normal-expected.svg
blend-normal.svg
blend-overlay-expected.svg
blend-overlay.svg
blend-saturation-expected.svg
blend-saturation.svg
blend-screen-expected.svg
blend-screen.svg
clip-02a-expected.svg
clip-02a.svg
clip-02b-expected.svg
clip-02b.svg
clip-surface-clone-01-expected.svg
clip-surface-clone-01.svg
clipPath-basic-01-expected.svg
clipPath-basic-01.svg
clipPath-basic-02-expected.svg
clipPath-basic-02.svg
clipPath-basic-03-expected.svg
clipPath-basic-03.svg
clipPath-basic-04-expected.svg
clipPath-basic-04.svg
clipPath-basic-05-expected.svg
clipPath-basic-05.svg
clipPath-basic-06-expected.svg
clipPath-basic-06.svg
conditions-01-expected.svg
conditions-01.svg
conditions-02-expected.svg
conditions-02.svg
conditions-03-expected.svg
conditions-03.svg
conditions-04-expected.svg
conditions-04.svg
conditions-06-expected.svg
conditions-06.svg
conditions-07-expected.svg
conditions-07.svg
conditions-08-expected.svg
conditions-08.svg
cssComment-in-attribute-01-expected.svg
cssComment-in-attribute-01.svg
currentColor-01-expected.svg
currentColor-01.svg
currentColor-02-expected.svg
currentColor-02.svg
currentColor-03-expected.svg
currentColor-03.svg
dynamic-attr-change-1-expected.svg
dynamic-attr-change-1.svg
dynamic-attr-removal-1-expected.svg
dynamic-attr-removal-1.svg
dynamic-attr-removal-2-expected.svg
dynamic-attr-removal-2.svg
dynamic-class-01-expected.svg
dynamic-class-01.svg Import Mozilla test suite for SVG. 2014-12-16 02:19:52 +00:00
dynamic-conditions-01-expected.svg
dynamic-conditions-01.svg
dynamic-conditions-03-expected.svg
dynamic-conditions-03.svg
dynamic-conditions-05-expected.svg
dynamic-conditions-05.svg
dynamic-conditions-08-expected.svg
dynamic-conditions-08.svg
dynamic-conditions-12-expected.svg
dynamic-conditions-12.svg
dynamic-filter-contents-01a-expected.svg
dynamic-filter-contents-01a.svg
dynamic-gradient-contents-01-expected.svg
dynamic-gradient-contents-01.svg
dynamic-gradient-contents-02-expected.svg
dynamic-gradient-contents-02.svg
dynamic-inner-svg-01-expected.svg
dynamic-inner-svg-01.svg
dynamic-link-style-01-expected.svg
dynamic-link-style-01.svg
dynamic-marker-01-expected.svg
dynamic-marker-01.svg
dynamic-marker-02-expected.svg
dynamic-marker-02.svg
dynamic-marker-03-expected.svg
dynamic-marker-03.svg
dynamic-mask-01-expected.svg
dynamic-mask-01.svg
dynamic-mask-contents-01-expected.svg
dynamic-mask-contents-01.svg
dynamic-mask-pre-effects-bbox-expected.html
dynamic-mask-pre-effects-bbox.html
dynamic-opacity-property-01-expected.svg
dynamic-opacity-property-01.svg
dynamic-pattern-01-expected.svg
dynamic-pattern-01.svg
dynamic-pattern-02-expected.svg
dynamic-pattern-02.svg
dynamic-pattern-contents-01-expected.svg
dynamic-pattern-contents-01.svg
dynamic-pattern-contents-02-expected.svg
dynamic-pattern-contents-02.svg
dynamic-rect-01-expected.svg
dynamic-rect-01.svg
dynamic-rect-03-expected.svg
dynamic-rect-03.svg
dynamic-reflow-01-expected.svg
dynamic-reflow-01.svg
dynamic-small-object-scaled-up-01-expected.svg
dynamic-small-object-scaled-up-01.svg
dynamic-small-object-scaled-up-02-expected.svg
dynamic-small-object-scaled-up-02.svg
dynamic-stroke-01-expected.svg
dynamic-stroke-01.svg
dynamic-stroke-opacity-01-expected.svg
dynamic-stroke-opacity-01.svg
dynamic-stroke-width-01-expected.svg
dynamic-stroke-width-01.svg
dynamic-switch-01-expected.svg
dynamic-switch-01.svg
dynamic-text-01-expected.svg
dynamic-text-01.svg
dynamic-text-02-expected.svg
dynamic-text-02.svg
dynamic-text-03-expected.svg
dynamic-text-03.svg
dynamic-text-04-expected.svg
dynamic-text-04.svg
dynamic-text-05-expected.svg
dynamic-text-05.svg
dynamic-text-06-expected.svg
dynamic-text-06.svg
dynamic-text-07-expected.svg
dynamic-text-07.svg
dynamic-text-08-expected.svg
dynamic-text-08.svg
dynamic-textPath-01-expected.svg
dynamic-textPath-01.svg
dynamic-textPath-02-expected.svg
dynamic-textPath-02.svg
dynamic-textPath-03-expected.svg
dynamic-textPath-03.svg
dynamic-use-01-expected.svg
dynamic-use-01.svg
dynamic-use-02-expected.svg
dynamic-use-02.svg
dynamic-use-03-expected.svg
dynamic-use-03.svg
dynamic-use-04-expected.svg
dynamic-use-04.svg
dynamic-use-05-expected.svg
dynamic-use-05.svg
dynamic-use-06-expected.svg
dynamic-use-06.svg
dynamic-use-07-expected.svg
dynamic-use-07.svg
dynamic-use-nested-01a-expected.svg
dynamic-use-nested-01a.svg
dynamic-use-nested-01b-expected.svg
dynamic-use-nested-01b.svg
dynamic-use-remove-width-expected.svg
dynamic-use-remove-width.svg
fallback-color-01a-expected.svg
fallback-color-01a.svg
fallback-color-01b-expected.svg
fallback-color-01b.svg
fallback-color-02a-expected.svg
fallback-color-02a.svg
fallback-color-03-expected.svg
fallback-color-03.svg
fallback-color-04-expected.svg
fallback-color-04.svg
filter-basic-01-expected.svg
filter-basic-01.svg
filter-basic-02-expected.svg
filter-basic-02.svg
filter-basic-03-expected.svg
filter-basic-03.svg
filter-bounds-01-expected.svg
filter-bounds-01.svg
filter-bounds-02-expected.svg
filter-bounds-02.svg
filter-result-01-expected.svg
filter-result-01.svg
filter-scaled-02-expected.html
filter-scaled-02.html
filter-translated-01-expected.svg
filter-translated-01.svg
filters-and-group-opacity-01-expected.svg
filters-and-group-opacity-01.svg
foreignObject-02-expected.svg
foreignObject-02.svg
foreignObject-ancestor-style-change-01-expected.svg
foreignObject-ancestor-style-change-01.svg
foreignObject-dynamic-abspos-01-expected.html
foreignObject-dynamic-abspos-01.html
foreignObject-img-form-theme-expected.html
foreignObject-img-form-theme.html
href-attr-change-restyles-expected.svg
href-attr-change-restyles.svg
linearGradient-basic-03-expected.svg
linearGradient-basic-03.svg
marker-effects-01-expected.svg
marker-effects-01.svg
marker-orientation-01-expected.svg
marker-orientation-01.svg
marker-viewBox-01-expected.svg
marker-viewBox-01.svg
markers-and-group-opacity-01-expected.svg
markers-and-group-opacity-01.svg
mask-basic-01-expected.svg
mask-basic-01.svg
mask-basic-02-expected.svg
mask-basic-02.svg
mask-basic-03-expected.svg
mask-basic-03.svg
mask-basic-04-expected.svg
mask-basic-04.svg
mask-containing-masked-content-01-expected.svg
mask-transformed-01-expected.svg
mask-transformed-01.svg
mask-transformed-02-expected.svg
mask-transformed-02.svg
mask-type-01-expected.svg
mask-type-01.svg
nesting-invalid-01-expected.svg
nesting-invalid-01.js
nesting-invalid-01.svg
non-scaling-stroke-03-expected.svg
non-scaling-stroke-03.svg
objectBoundingBox-and-clipPath-expected.svg
objectBoundingBox-and-clipPath.svg
objectBoundingBox-and-mask-02-expected.svg
objectBoundingBox-and-mask-02.svg
objectBoundingBox-and-mask-expected.svg
objectBoundingBox-and-mask.svg
objectBoundingBox-and-pattern-01a-expected.svg
objectBoundingBox-and-pattern-01a.svg
objectBoundingBox-and-pattern-01b-expected.svg
objectBoundingBox-and-pattern-01b.svg
objectBoundingBox-and-pattern-01c-expected.svg
objectBoundingBox-and-pattern-01c.svg
objectBoundingBox-and-pattern-02-expected.svg
objectBoundingBox-and-pattern-02.svg
objectBoundingBox-and-pattern-03-expected.svg
objectBoundingBox-and-pattern-03.svg
opacity-and-gradient-02-expected.svg
opacity-and-gradient-02.svg
outer-svg-border-and-padding-01-expected.svg
outer-svg-border-and-padding-01.svg
overflow-on-outer-svg-01-expected.svg
overflow-on-outer-svg-01.svg
overflow-on-outer-svg-02a-expected.xhtml
overflow-on-outer-svg-02a.xhtml
overflow-on-outer-svg-02b-expected.xhtml
overflow-on-outer-svg-02b.xhtml
overflow-on-outer-svg-02c-expected.xhtml
overflow-on-outer-svg-02c.xhtml
overflow-on-outer-svg-02d-expected.xhtml
overflow-on-outer-svg-02d.xhtml
paint-order-01-expected.svg
paint-order-01.svg
paint-order-02-expected.svg
paint-order-02.svg
paint-order-03-expected.svg
paint-order-03.svg
path-02-expected.svg
path-02.svg
path-03-expected.svg
path-03.svg
path-04-expected.svg
path-04.svg
path-05-expected.svg
path-05.svg
path-06-expected.svg
path-06.svg
path-07-expected.svg
path-07.svg
path-08-expected.svg
path-08.svg
pathLength-01-expected.svg
pathLength-01.svg
pattern-basic-01-expected.svg
pattern-basic-01.svg
pattern-invalid-01-expected.svg
pattern-invalid-01.svg
pattern-live-01a-expected.svg
pattern-live-01a.svg
pattern-live-01b-expected.svg
pattern-live-01b.svg
pattern-scale-01a-expected.svg
pattern-scale-01a.svg
pattern-scale-01b-expected.svg
pattern-scale-01b.svg
pattern-scale-01c-expected.svg
pattern-scale-01c.svg
pattern-transform-presence-01-expected.svg
pattern-transform-presence-01.svg
pattern-transformed-01-expected.svg
pattern-transformed-01.svg
pseudo-classes-02-expected.svg
pseudo-classes-02.svg
radialGradient-basic-01-expected.svg
radialGradient-basic-01.svg
radialGradient-basic-02-expected.svg
radialGradient-basic-02.svg
radialGradient-basic-04-expected.svg
radialGradient-basic-04.svg
rect-01-expected.svg
rect-01.svg
rect-02-expected.svg
rect-02.svg
rect-03-expected.svg
rect-03.svg
rect-04-expected.svg
rect-04.svg
rect-with-rx-and-ry-01-expected.svg
rect-with-rx-and-ry-01.svg
stroke-width-percentage-01-expected.svg
stroke-width-percentage-01.svg
stroke-width-percentage-02a-expected.svg
stroke-width-percentage-02a.svg
stroke-width-percentage-02b-expected.svg
stroke-width-percentage-02b.svg
suspend-01-expected.svg
suspend-01.svg
suspend-02-expected.svg
suspend-02.svg
suspend-03-expected.svg
suspend-03.svg
suspend-04-expected.svg
suspend-04.svg
suspend-05-expected.svg
suspend-05.svg
suspend-06-expected.svg
suspend-06.svg
suspend-07-expected.svg
suspend-07.svg
suspend-08-expected.svg
suspend-08.svg
svg-effects-area-unzoomed-expected.xhtml
svg-effects-area-unzoomed.xhtml
svg-effects-area-zoomed-in-expected.xhtml
svg-effects-area-zoomed-in.xhtml
svg-effects-area-zoomed-out-expected.xhtml
svg-effects-area-zoomed-out.xhtml
svg-in-foreignObject-01-expected.xhtml
svg-in-foreignObject-01.xhtml
svg-transform-01-expected.svg
svg-transform-01.svg
svg-transform-02-expected.svg
svg-transform-02.svg
switch-01-expected.svg
switch-01.svg
symbol-01-expected.svg
symbol-01.svg
text-font-weight-01-expected.svg
text-font-weight-01.svg
text-gradient-01-expected.svg
text-gradient-01.svg
text-in-link-01-expected.svg
text-in-link-01.svg
text-in-link-02-expected.svg
text-in-link-02.svg
text-in-link-03-expected.svg
text-in-link-03.svg
text-language-00-expected.xhtml
text-language-01-expected.xhtml
text-layout-01-expected.svg
text-layout-01.svg
text-layout-02-expected.svg
text-layout-02.svg
text-layout-03-expected.svg
text-layout-03.svg
text-layout-04-expected.svg
text-layout-04.svg
text-layout-05-expected.svg
text-layout-05.svg
text-layout-06-expected.svg
text-layout-06.svg
text-layout-07-expected.svg
text-layout-07.svg
text-layout-08-expected.svg
text-layout-08.svg
text-scale-01-expected.svg
text-scale-01.svg
text-scale-02-expected.svg
text-scale-02.svg
text-scale-03-expected.svg
text-scale-03.svg
text-stroke-scaling-01-expected.svg
text-stroke-scaling-01.svg
text-style-01a-expected.svg
text-style-01a.svg
text-style-01b-expected.svg
text-style-01b.svg
text-style-01c-expected.svg
text-style-01c.svg
text-style-01d-expected.svg
text-style-01d.svg
text-style-01e-expected.svg
text-style-01e.svg
text-white-space-01-expected.svg
text-white-space-01.svg
textPath-01-expected.svg
textPath-01.svg
tspan-dxdy-01-expected.svg
tspan-dxdy-01.svg
tspan-dxdy-02-expected.svg
tspan-dxdy-02.svg
tspan-dxdy-03-expected.svg
tspan-dxdy-03.svg
tspan-dxdy-04-expected.svg
tspan-dxdy-04.svg
tspan-dxdy-05-expected.svg
tspan-dxdy-05.svg
tspan-dxdy-06-expected.svg
tspan-dxdy-06.svg
tspan-dxdy-textPath-01-expected.svg
tspan-dxdy-textPath-01.svg
tspan-rotate-01-expected.svg
tspan-rotate-01.svg
tspan-rotate-02-expected.svg
tspan-rotate-02.svg
tspan-rotate-03-expected.svg
tspan-rotate-03.svg
tspan-rotate-04-expected.svg
tspan-rotate-04.svg
tspan-rotate-05-expected.svg
tspan-rotate-05.svg
tspan-rotate-06-expected.svg
tspan-rotate-06.svg
tspan-rotate-07-expected.svg
tspan-rotate-07.svg
tspan-rotate-textPath-01-expected.svg
tspan-rotate-textPath-01.svg
tspan-xy-01-expected.svg
tspan-xy-01.svg
tspan-xy-02-expected.svg
tspan-xy-02.svg
tspan-xy-03-expected.svg
tspan-xy-03.svg
tspan-xy-04-expected.svg
tspan-xy-04.svg
tspan-xy-05-expected.svg
tspan-xy-05.svg
tspan-xy-06-expected.svg
tspan-xy-06.svg
userSpaceOnUse-and-pattern-01-expected.svg
userSpaceOnUse-and-pattern-01.svg
viewBox-and-pattern-01-expected.svg
viewBox-and-pattern-01.svg
viewBox-and-pattern-02-expected.svg
viewBox-and-pattern-02.svg
viewBox-and-pattern-03-expected.svg
viewBox-and-pattern-03.svg
viewBox-invalid-01-expected.svg
viewBox-invalid-01.svg
viewBox-valid-01-expected.svg
viewBox-valid-01.svg
viewBox-valid-02-expected.xhtml
viewBox-valid-02.xhtml
viewport-percent-graphic-user-01-expected.svg
viewport-percent-graphic-user-01.svg
winding-01-expected.svg
winding-01.svg
zero-stroke-01-expected.svg
zero-stroke-01.svg