My personal opinion is that ideally we should do those by the style
system similar to how :hover works.
However if I remember correctly, it is implemented the current way
because we do want to avoid style update and re-rastering of the
original contents. Also I think it is faster to do fade-out animation
when they have exclusive compositing layers.
I'm happy to implement either way and I think it is up to the UI
designer to decide what is the preferred behavior.
> --
> You received this message because you are subscribed to the Google Groups
> "paint-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
paint-dev+...@chromium.org.
> To post to this group, send email to
pain...@chromium.org.
> To view this discussion on the web visit
>
https://groups.google.com/a/chromium.org/d/msgid/paint-dev/CAOMQ%2Bw9ExDe%3D3JZffUp%2BiaZDB8ScmwU90%2BhyT2XD0z14wjtC9g%40mail.gmail.com.