https://bugs.webkit.org/show_bug.cgi?id=76577
authorhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 17:45:03 +0000 (17:45 +0000)
committerhyatt@apple.com <hyatt@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 19 Jan 2012 17:45:03 +0000 (17:45 +0000)
commite6f0be42d8aeb3aa8b17c7f83b6d700d9901ffc2
tree65578bd591ccf279b9b44de969aeff78c17acf25
parent67d7cfbb512af33c9ddb655195cbdcfb53bcd6d4
https://bugs.webkit.org/show_bug.cgi?id=76577

Fix crash when nested line grids are used. Make sure to bail out if no line grid
is found rather than crashing.

Reviewed by Dan Bernstein.

Source/WebCore:

Added fast/line-grid/line-grid-nested.html.

* rendering/LayoutState.cpp:
(WebCore::LayoutState::establishLineGrid):

LayoutTests:

* fast/line-grid/line-grid-nested-expected.txt: Added.
* fast/line-grid/line-grid-nested.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105420 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/line-grid/line-grid-nested-expected.txt [new file with mode: 0644]
LayoutTests/fast/line-grid/line-grid-nested.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/rendering/LayoutState.cpp