Check for null renderer in canBeScrolledIntoView
authordon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Aug 2018 05:05:23 +0000 (05:05 +0000)
committerdon.olmstead@sony.com <don.olmstead@sony.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 29 Aug 2018 05:05:23 +0000 (05:05 +0000)
commit1271d015d21cc3d86bb8e4a2d1d1d1b53508f532
treec11cfa5944b56a8d984f6d261549060dc090ccf0
parent3a2c08722373a35426ffac4e07ef3c77c321ca0a
Check for null renderer in canBeScrolledIntoView
https://bugs.webkit.org/show_bug.cgi?id=188935

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/spatial-navigation/snav-display-contents-crash.html

* page/SpatialNavigation.cpp:
(WebCore::canBeScrolledIntoView):

LayoutTests:

* fast/spatial-navigation/snav-display-contents-crash-expected.txt: Added.
* fast/spatial-navigation/snav-display-contents-crash.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@235457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/spatial-navigation/snav-display-contents-crash-expected.txt [new file with mode: 0644]
LayoutTests/fast/spatial-navigation/snav-display-contents-crash.html [new file with mode: 0644]
Source/WebCore/ChangeLog
Source/WebCore/page/SpatialNavigation.cpp