Bug 1801948 [wpt PR 37089] - Fix presentation attribute mapping on SVGSMILElement...
commit5337ff496352274e0fe86a0954ea73e9f93fba55
authorFredrik Söderquist <fs@opera.com>
Wed, 7 Dec 2022 13:52:03 +0000 (7 13:52 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Sun, 11 Dec 2022 12:07:08 +0000 (11 12:07 +0000)
tree15b138c098c1b3b4f91d84bb8924a2b15fa435b8
parent0ef9ed4a8e4993a0164e7dd8e58b45b6026626bf
Bug 1801948 [wpt PR 37089] - Fix presentation attribute mapping on SVGSMILElement, a=testonly

Automatic update from web-platform-tests
Fix presentation attribute mapping on SVGSMILElement

Since only SVGSMILElement::IsPresentationAttribute() is implemented, if
SVGElement (or any other superclass) would trigger generation of the
presentation attribute property set, a 'fill' attribute would still end
up being mapped.

Implement SVGSMILElement::CollectStyleForPresentationAttribute as well
to ignore 'fill' completely.

Bug: 1375215
Change-Id: I2be7dd6167a91cfabd23a1ca27ba8dee547bdb01
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4047217
Auto-Submit: Fredrik Söderquist <fs@opera.com>
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: Philip Rogers <pdr@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1074732}

--

wpt-commits: 0f1a1af164b72d6dfa4b1adafaef239ebf6e77ff
wpt-pr: 37089
testing/web-platform/tests/svg/styling/presentation-attributes.js