DescriptionHide shadow layer when border exceeds layer bounds.
When the calculated shadow border exceeds layer bounds we should make
the layer invisible instead of clamping the shadow border like we
previously did. This matches the behavior of ui::wm::ImageGrid
where we set patches as invisible.
BUG=395949
TEST=verify that the bug is fixed with this patch.
NOTRY=TRUE
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284949
Patch Set 1 #Patch Set 2 : Separate the shadow layer associated with NinePatchLayer from the container parent layer. #
Messages
Total messages: 12 (0 generated)
|