Bug 117771 - [CSS Blending] Updating background-blend-mode from script does not trigger a redraw
Summary: [CSS Blending] Updating background-blend-mode from script does not trigger a ...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: BlinkMergeCandidate
Depends on:
Blocks: 108546
  Show dependency treegraph
 
Reported: 2013-06-18 19:59 PDT by Ryosuke Niwa
Modified: 2014-03-04 00:53 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2013-06-18 19:59:39 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/cf358a890433593c49fdc7ddc7b9fcc99880d19f

[CSS Blending] Updating background-blend-mode from script does not trigger a redraw
When the background-blend-mode property is set from CSS, and you update it from script,
the element is not redrawn.

The problem was caused by the equal operated in FillLayer which incorrectly checked
whether the blend mode is set, instead of the actual blend mode.
Comment 1 Mihai Tica 2013-06-19 00:00:52 PDT
(In reply to comment #0)
> Consider merging https://chromium.googlesource.com/chromium/blink/+/cf358a890433593c49fdc7ddc7b9fcc99880d19f
> 
> [CSS Blending] Updating background-blend-mode from script does not trigger a redraw
> When the background-blend-mode property is set from CSS, and you update it from script,
> the element is not redrawn.
> 
> The problem was caused by the equal operated in FillLayer which incorrectly checked
> whether the blend mode is set, instead of the actual blend mode.

This fix was initially submitted to WebKit with https://bugs.webkit.org/show_bug.cgi?id=117223.
I think we can close this issue :)