Bug 117771

Summary: [CSS Blending] Updating background-blend-mode from script does not trigger a redraw
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: jochen, krit, mihnea, mitica
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 108546    

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 :)