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

Issue 1656213002: Display -webkit-filter objects in any column (instead of only in the first one). (Closed)

Created:
4 years, 10 months ago by mstensho (USE GERRIT)
Modified:
4 years, 10 months ago
Reviewers:
Xianzhu
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@2623
Target Ref:
refs/pending/branch-heads/2623
Project:
chromium
Visibility:
Public.

Description

Display -webkit-filter objects in any column (instead of only in the first one). Most of our painting-related operations take place after fragmentation, i.e. via PaintLayerPainter::paintFragmentWithPhase(). All such operations can just sit back and relax and not worry about fragmentation, since translation and clipping for a given fragmentainer (column) has already taken place. This is not the case for filters, though. They are set up before fragmentation. Therefore, we need to make the bounding box of the layer visual (convert out of the flow thread coordinate space) on our own. We now do this specifically for filters, or we'd upset other parts of the code, such as clip path. BUG=530074 R=wangxianzhu@chromium.org Review URL: https://codereview.chromium.org/1645583002 Cr-Commit-Position: refs/heads/master@{#371808} (cherry picked from commit 17e31b8972050ad7791d2243a19f07ba8fc9c54f) Committed: https://chromium.googlesource.com/chromium/src/+/1d27087920d963b5c8aa6f9c3a8624e34f319def

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+26 lines, -8 lines) Patch
A third_party/WebKit/LayoutTests/fast/multicol/filter-in-second-column.html View 1 chunk +6 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/fast/multicol/filter-in-second-column-expected.html View 1 chunk +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/FilterPainter.cpp View 1 chunk +7 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.h View 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/PaintLayer.cpp View 3 chunks +5 lines, -7 lines 0 comments Download

Messages

Total messages: 2 (1 generated)
mstensho (USE GERRIT)
4 years, 10 months ago (2016-02-02 07:43:33 UTC) #2
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
1d27087920d963b5c8aa6f9c3a8624e34f319def.

Powered by Google App Engine
This is Rietveld 408576698