Backdrop Filter should repaint when changed via script
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Apr 2016 00:19:32 +0000 (00:19 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 2 Apr 2016 00:19:32 +0000 (00:19 +0000)
commit7e014affd743e0273c00afbeb1686ddebc6db150
tree56c90155b83903f9bf91605c9bc46d7feb84f65a
parenta385c931517ccbbfc86d8180f84ed8fbf8d3d4d9
Backdrop Filter should repaint when changed via script
https://bugs.webkit.org/show_bug.cgi?id=149319
rdar://problem/22749892

Reviewed by Tim Horton.

Source/WebCore:

When backdrop filters change, we need to trigger a recomposite, just as we do
for filters. It's ok to re-use ContextSensitivePropertyFilter because
adjustStyleDifference() does the right thing.

Test: css3/filters/backdrop/dynamic-backdrop-filter-change.html

* rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::changeRequiresLayerRepaint):

LayoutTests:

* css3/filters/backdrop/dynamic-backdrop-filter-change-expected.html: Added.
* css3/filters/backdrop/dynamic-backdrop-filter-change.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@198963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/css3/filters/backdrop/dynamic-backdrop-filter-change-expected.html [new file with mode: 0644]
LayoutTests/css3/filters/backdrop/dynamic-backdrop-filter-change.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/style/RenderStyle.cpp