Skip to content

merge_pr_52933

Compare
Choose a tag to compare
@github-actions github-actions released this 03 Jun 13:08

Fix SMIL animation of 'inherit' for SVG path properties ('d')

We didn't know how to convert the style value to an SVGPropertyBase
value.

Add a new overload for CreatePropertyForCSSAnimation() that takes a
CSSValue, and then use that to create an SVGPath in this case.

Remove SVGElement::IsAnimatableCSSProperty() and move
AnimatedPropertyTypeForCSSAttribute() to be a local function in
svg_animate_element.cc.

Fixed: 421325687
Change-Id: I916fe6ab35c865bfc5bc08b3f5ff0e8941144459
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6610899
Reviewed-by: Philip Rogers pdr@chromium.org
Commit-Queue: Fredrik Söderquist fs@opera.com
Cr-Commit-Position: refs/heads/main@{#1468648}