| commit | 46ad3dee4f923fcc83bafb90bc68f25ec150122c | [log] [tgz] |
|---|---|---|
| author | Fredrik Söderquist <fs@opera.com> | Tue Jun 03 12:15:01 2025 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 03 12:15:01 2025 |
| tree | a029fe56c4defb3c9a3659437f4d74bb0cb8dc45 | |
| parent | ba679a23e2f2697526e609ef2be2eb885faf2412 [diff] |
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}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.