DescriptionApply bleed-avoidance insets _after_ constraining the border
When shrinking the background to avoid bleeding artifacts, apply the
inset after computing and constraining the (outer) border. If the
shrinking inset is applied before constraining, the shape of the border
will differ in some (extreme) cases. It's also more consistent with
how 'double' style borders are handled.
This allows dropping the optional FloatRectOutsets argument from
ComputedStyle::getRoundedBorderFor() and
BoxPainter::getBackgroundRoundedRect().
BUG=473119, 445598
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=195263
Patch Set 1 #
Total comments: 2
Patch Set 2 : Drop FloatRoundedRect::shrink. #Patch Set 3 : Bah. #Patch Set 4 : Sign sigh. #Patch Set 5 : Rebase; TEs. #Patch Set 6 : One more TE. #
Messages
Total messages: 10 (3 generated)
|