Bug 274796

Summary: Don't consider 'fill' a presentation attribute on animation elements
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Ahmad Saleem
Reported 2024-05-28 14:25:28 PDT
Hi Team, While looking into Safari / WebKit specific failures, I noticed following failure: Blink Commit: https://chromium-review.googlesource.com/c/chromium/src/+/2080237 WPT Test: https://wpt.fyi/results/svg/styling/presentation-attributes-special-cases.html?label=master&label=experimental&aligned=&q=safari%3Afail > fill presentation attribute not supported on animate > fill presentation attribute not supported on animateMotion > fill presentation attribute not supported on animateTransform > fill presentation attribute not supported on set We still fail: fill presentation attribute not supported on discard ___ Add following in SVGSMILElement.cpp: bool SVGSMILElement::hasPresentationalHintsForAttribute(const QualifiedName& name) const { // Don't map 'fill' to the 'fill' property for animation elements. if (name == SVGNames::fillAttr) return false; return SVGSMILElement::hasPresentationalHintsForAttribute(name); } and following in SVGSMILElement.h: bool hasPresentationalHintsForAttribute(const QualifiedName&) const override; ___ It progresses following tests above. Just wanted to raise so we can fix it. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-28 14:28:02 PDT
EWS
Comment 2 2024-08-11 14:44:26 PDT
Committed 282100@main (a0c45ccc4d6a): <https://commits.webkit.org/282100@main> Reviewed commits have been landed. Closing PR #29192 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.