Bug 247411
| Summary: | Changes to the filter property are sometimes ignored | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cameron McCormack (:heycam) <heycam> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | baba, sabouhallawa, tanaka.toshiyuki, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Cameron McCormack (:heycam)
In SVGResourceCache::clientStyleChanged we return early if diff == StyleDifference::Equal. But we can have StyleDifference::Equal even when the filter property has changed: specifically, when the element does not have a layer, RenderElement::adjustStyleDifference declines to set any new diff value.
The result of this is that changes to the filter property are sometimes not acted upon.
We can fix this by removing the early exit or by introducing a new StyleDifference value to use when the filter property changes and there is no layer.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Cameron McCormack (:heycam)
rdar://97335496
Cameron McCormack (:heycam)
*** This bug has been marked as a duplicate of bug 243808 ***