SVG: currentColor change not updated on hover for children of groups with filters |
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.106 Safari/537.36 Example URL: http://codepen.io/hanger/pen/bZoEER?editors=1100 Steps to reproduce the problem: Apply an SVG filter to a group (here: identity), use currentColor on an element inside that the group. When changing the currentColor on hover, the element doesn't change color. i.e. the rectangle stays black. rect { fill: currentColor; } .filtered { filter: url(#myfilter); } .hovering:hover { color: green; } <svg> <defs> <filter id="myfilter"> <feMerge> <feMergeNode in="SourceGraphic" /> </feMerge> </filter> </defs> <g class="hovering filtered"> <rect width="100" height="100" /> </g> </svg> The codepen shows similar cases that don't have the problem too. What is the expected behavior? currentColor change should cause children to be redrawn correctly, i.e. rectangle becomes green on hover. What went wrong? The children should have been redrawn. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 51.0.2704.106 Channel: stable OS Version: Flash Version: Shockwave Flash 22.0 r0
,
Jul 9 2016
,
Jul 11 2016
,
Jul 12 2017
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue. Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 12 2017
,
Jul 13 2017
Still broken. Invalidation issue, it seems.
,
Dec 13
This seems to be fixed (testing with 71.0.3578.98)
,
Dec 13
Thanks! A bisection shows that it was probably fixed by 7004d7e19279e2d31f92fb295e06a8b987700f18.
,
Dec 13
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5a5cdf35a500f0fc5fab4ea8f7445a46b5a67ecd commit 5a5cdf35a500f0fc5fab4ea8f7445a46b5a67ecd Author: Fredrik Söderquist <fs@opera.com> Date: Thu Dec 13 14:50:53 2018 Regression test for crbug.com/626744 Bug: 626744 Change-Id: I4244c3f0316ceb55bc69655212f6677345b0a6cc Reviewed-on: https://chromium-review.googlesource.com/c/1374988 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#616311} [add] https://crrev.com/5a5cdf35a500f0fc5fab4ea8f7445a46b5a67ecd/third_party/blink/web_tests/external/wpt/css/filter-effects/reference/green-100x100.html [add] https://crrev.com/5a5cdf35a500f0fc5fab4ea8f7445a46b5a67ecd/third_party/blink/web_tests/external/wpt/css/filter-effects/svg-sourcegraphic-currentcolor-dynamic-001.html
,
Dec 14
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/a5fce755fd7c748af92be3995602f5ee1c9dc969 commit a5fce755fd7c748af92be3995602f5ee1c9dc969 Author: Fredrik Söderquist <fs@opera.com> Date: Fri Dec 14 01:15:17 2018 Add reftest-wait to css/filter-effects/svg-sourcegraphic-currentcolor-dynamic-001.html Attempt to stabilize in Gecko. Bug: 626744 Change-Id: Idfa06176948d1ffaf6ba8e65263bf5818ffd321b Reviewed-on: https://chromium-review.googlesource.com/c/1375875 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#616543} [modify] https://crrev.com/a5fce755fd7c748af92be3995602f5ee1c9dc969/third_party/blink/web_tests/external/wpt/css/filter-effects/svg-sourcegraphic-currentcolor-dynamic-001.html |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by dtapu...@chromium.org
, Jul 8 2016