Bug 117771
| Summary: | [CSS Blending] Updating background-blend-mode from script does not trigger a redraw | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | CSS | Assignee: | 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 | ||
Ryosuke Niwa
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mihai Tica
(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 :)