DescriptionShould not crash when background image a display:none presents on the root
Since my previous background refactoring CL, BoxPainter::
calculateBackgroundImageGeometry() assumes that when it is called on
the LayoutView, the root element must have a box. However the background
obscuration code in LayoutBox::computeBackgroundIsKnownToBeObscured() was
not updated at the same time. This CL corrects the early out condition
to make sure calculateBackgroundImageGeometry() is only called with a
valid box.
BUG=501560
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=197789
Patch Set 1 #
Total comments: 2
Patch Set 2 : revise test #
Messages
Total messages: 17 (7 generated)
|
|||||||||||||||||||||||||||||||||||||