Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(186)

Issue 1327973002: blink: Layers that have a backdrop-filter paints contents

Created:
5 years, 3 months ago by hendrikw
Modified:
5 years, 3 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-rendering, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/blink.git@wk-bf
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

blink: Layers that have a backdrop-filter paints contents Return true in CompositedDeprecatedPaintLayerMapping::containsPaintedContent if it has a backdrop-filter. BUG=527452

Patch Set 1 #

Patch Set 2 : + test #

Patch Set 3 : move to hasBackground #

Patch Set 4 : and make assert match expectations #

Total comments: 1

Patch Set 5 : check for backdrop filter in more places #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -8 lines) Patch
A + LayoutTests/css3/filters/backdrop-filter-rendering-no-background.html View 1 1 chunk +0 lines, -2 lines 0 comments Download
A + LayoutTests/css3/filters/backdrop-filter-rendering-no-background-expected.html View 1 0 chunks +-1 lines, --1 lines 0 comments Download
M Source/core/layout/compositing/CompositedDeprecatedPaintLayerMapping.cpp View 1 2 3 4 2 chunks +5 lines, -5 lines 0 comments Download
M Source/core/paint/BoxDecorationData.cpp View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/core/style/ComputedStyle.h View 1 2 3 4 2 chunks +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 11 (2 generated)
hendrikw
PTAL, thanks!
5 years, 3 months ago (2015-09-03 21:27:42 UTC) #2
pdr.
On 2015/09/03 at 21:27:42, hendrikw wrote: > PTAL, thanks! Can you add a test for ...
5 years, 3 months ago (2015-09-03 22:13:59 UTC) #3
hendrikw
Test added, PTAL thanks!
5 years, 3 months ago (2015-09-03 22:55:44 UTC) #4
pdr.
Test looks great. The hasBackdropFilter check seems out of place though. Why don't we have ...
5 years, 3 months ago (2015-09-03 23:21:07 UTC) #5
hendrikw
On 2015/09/03 23:21:07, pdr wrote: > Test looks great. > > The hasBackdropFilter check seems ...
5 years, 3 months ago (2015-09-04 00:10:20 UTC) #6
pdr.
On 2015/09/04 at 00:10:20, hendrikw wrote: > On 2015/09/03 23:21:07, pdr wrote: > > Test ...
5 years, 3 months ago (2015-09-04 17:12:50 UTC) #8
hendrikw
PTAL, thanks!
5 years, 3 months ago (2015-09-04 22:26:20 UTC) #9
pdr.
https://codereview.chromium.org/1327973002/diff/60001/Source/core/style/ComputedStyle.h File Source/core/style/ComputedStyle.h (right): https://codereview.chromium.org/1327973002/diff/60001/Source/core/style/ComputedStyle.h#newcode425 Source/core/style/ComputedStyle.h:425: return hasBackgroundImage() || hasBackdropFilter(); I think we need to ...
5 years, 3 months ago (2015-09-04 22:42:14 UTC) #10
chrishtr
5 years, 3 months ago (2015-09-24 22:27:42 UTC) #11
FYI I took advantage of Hendrik being in SFO today to go over this patch and the
previous one,
and the complexity is justified. So looks good to me modulo pdr's latest
comment.

Powered by Google App Engine
This is Rietveld 408576698