Improve code for detecting/querying opacity of background FillLayers |
||||
Issue descriptionVersion: ToT OS: All FillLayer::hasRepeatXY() should return true if the image will completely cover an arbitrary area. The existing code requires RepeatFill, while it should require either RepeatFill or RepeatRound, as the latter also fills an area with no spaces.
,
Mar 10 2016
Agreed. I'll generalize this bug title to reflect all the cleanup we need.
,
Mar 18 2016
,
Mar 21 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e3ab046fcbe969bd1b38a0361f7d583998365c2c commit e3ab046fcbe969bd1b38a0361f7d583998365c2c Author: schenney <schenney@chromium.org> Date: Mon Mar 21 16:02:40 2016 Consolidate background fill layer opaqueness into one method Move all the logic for determining if a background layer is opaque into FillLayer. Also add repeat round as a opaque tiling mode. R=trchen@chromium.org BUG= 593437 Review URL: https://codereview.chromium.org/1787733003 Cr-Commit-Position: refs/heads/master@{#382301} [modify] https://crrev.com/e3ab046fcbe969bd1b38a0361f7d583998365c2c/third_party/WebKit/Source/core/paint/BoxDecorationData.cpp [modify] https://crrev.com/e3ab046fcbe969bd1b38a0361f7d583998365c2c/third_party/WebKit/Source/core/paint/BoxPainter.cpp [modify] https://crrev.com/e3ab046fcbe969bd1b38a0361f7d583998365c2c/third_party/WebKit/Source/core/style/FillLayer.cpp [modify] https://crrev.com/e3ab046fcbe969bd1b38a0361f7d583998365c2c/third_party/WebKit/Source/core/style/FillLayer.h
,
Mar 21 2016
|
||||
►
Sign in to add a comment |
||||
Comment 1 by trchen@chromium.org
, Mar 9 2016