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

Issue 2230593002: CSS filters: fix filtered parent with composited, transformed child. (Closed)

Created:
4 years, 4 months ago by Stephen White
Modified:
4 years, 4 months ago
Reviewers:
chrishtr
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, fs, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

CSS filters: fix filtered parent with composited, transformed child. When computing the filter region for CSS filters, we must take composited, transformed children into account. This required plumbing this preference through PaintLayer::physicalBoundingBoxIncludingReflectionAndStackingChildren(). This is a followup to https://codereview.chromium.org/1459953002/, which fixed the problem for non-composited children. BUG=620394, 618642 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/711409eabeacb27e2debfd5a7be631a1967f500f Cr-Commit-Position: refs/heads/master@{#411432}

Patch Set 1 #

Patch Set 2 : Remove -webkit-filter from test. #

Total comments: 2

Patch Set 3 : Rename per review comments, accommodate negative transforms, update to ToT #

Patch Set 4 : Remove extraneous style from layout test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -29 lines) Patch
A + third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-composited-child.html View 1 2 3 1 chunk +23 lines, -4 lines 0 comments Download
A + third_party/WebKit/LayoutTests/css3/filters/filter-region-transformed-composited-child-expected.html View 1 2 1 chunk +14 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FilterEffectBuilder.cpp View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 2 2 chunks +9 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 1 2 4 chunks +8 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 28 (20 generated)
Stephen White
chrishtr@: PTAL. I'm open to new names for AlwaysIncludeTransforms, if you don't like it. Or ...
4 years, 4 months ago (2016-08-09 19:36:00 UTC) #3
Stephen White
Note: this fixes the given case (with a static composited child), But it doesn't fix ...
4 years, 4 months ago (2016-08-09 20:39:47 UTC) #7
chrishtr
https://codereview.chromium.org/2230593002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.h File third_party/WebKit/Source/core/paint/PaintLayer.h (right): https://codereview.chromium.org/2230593002/diff/20001/third_party/WebKit/Source/core/paint/PaintLayer.h#newcode363 third_party/WebKit/Source/core/paint/PaintLayer.h:363: AlwaysIncludeTransforms, IncludeTransformsAndcompositedchildLayesr
4 years, 4 months ago (2016-08-10 21:36:16 UTC) #10
Stephen White
Fixed per comments. Also added fix from https://codereview.chromium.org/2232013002/ to accommodate negatively transformed child, and added ...
4 years, 4 months ago (2016-08-11 14:31:45 UTC) #12
chrishtr
lgtm
4 years, 4 months ago (2016-08-11 22:42:01 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2230593002/60001
4 years, 4 months ago (2016-08-11 22:43:20 UTC) #24
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 4 months ago (2016-08-11 22:48:02 UTC) #26
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 22:50:45 UTC) #28
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/711409eabeacb27e2debfd5a7be631a1967f500f
Cr-Commit-Position: refs/heads/master@{#411432}

Powered by Google App Engine
This is Rietveld 408576698