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

Issue 924533006: Don't remove empty display item pairs that draw content (Closed)

Created:
5 years, 10 months ago by ajuma
Modified:
5 years, 10 months ago
Reviewers:
pdr., Stephen Chennney
CC:
blink-reviews, Dominik Röttsches, krit, Rik, dshwang, jbroman, Justin Novosad, danakj, pdr+graphicswatchlist_chromium.org, f(malita), Stephen Chennney, rwlbuis, Xianzhu, slimming-paint-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Don't remove empty display item pairs that draw content DisplayItemList::add currently removes empty display item pairs, but such pairs can sometimes have visible content. In particular, certain kinds of CSS filters produce visible content even when applied to an otherwise empty element; this translates into an empty pair of FilterDisplayItems. This CL makes DisplayItemList::add only remove empty display item pairs that don't draw content. BUG=458601 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=190497

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Address review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -1 line) Patch
A LayoutTests/css3/filters/empty-element-with-filter.html View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
A LayoutTests/css3/filters/empty-element-with-filter-expected.html View 1 2 1 chunk +27 lines, -0 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItem.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/platform/graphics/paint/DisplayItemList.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/paint/DrawingDisplayItem.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/paint/DrawingDisplayItem.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M Source/platform/graphics/paint/FilterDisplayItem.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/platform/graphics/paint/FilterDisplayItem.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
ajuma
5 years, 10 months ago (2015-02-19 16:00:11 UTC) #2
Stephen Chennney
Happy with the direction. https://codereview.chromium.org/924533006/diff/20001/LayoutTests/css3/filters/empty-element-with-filter-expected.html File LayoutTests/css3/filters/empty-element-with-filter-expected.html (right): https://codereview.chromium.org/924533006/diff/20001/LayoutTests/css3/filters/empty-element-with-filter-expected.html#newcode9 LayoutTests/css3/filters/empty-element-with-filter-expected.html:9: /* Make the div have ...
5 years, 10 months ago (2015-02-19 16:13:27 UTC) #4
ajuma
https://codereview.chromium.org/924533006/diff/20001/LayoutTests/css3/filters/empty-element-with-filter-expected.html File LayoutTests/css3/filters/empty-element-with-filter-expected.html (right): https://codereview.chromium.org/924533006/diff/20001/LayoutTests/css3/filters/empty-element-with-filter-expected.html#newcode9 LayoutTests/css3/filters/empty-element-with-filter-expected.html:9: /* Make the div have visible content without the ...
5 years, 10 months ago (2015-02-19 17:36:51 UTC) #5
Stephen Chennney
Great. LGTM.
5 years, 10 months ago (2015-02-19 17:39:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/924533006/40001
5 years, 10 months ago (2015-02-19 17:43:33 UTC) #8
commit-bot: I haz the power
5 years, 10 months ago (2015-02-19 21:09:45 UTC) #9
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=190497

Powered by Google App Engine
This is Rietveld 408576698