RenderTextControlSingleLine should not assume that its text element has a renderer
https://bugs.webkit.org/show_bug.cgi?id=111826

Reviewed by Ojan Vafai.

Source/WebCore:

Tests: fast/forms/search/search-autoscroll-hidden-decoration-container-crash.html
       fast/forms/search/search-hide-decoration-container-crash.html
       fast/forms/search/search-scroll-hidden-decoration-container-crash.html

* rendering/RenderTextControlSingleLine.cpp:
(WebCore::RenderTextControlSingleLine::layout):
(WebCore::RenderTextControlSingleLine::controlClipRect):
(WebCore::RenderTextControlSingleLine::autoscroll):
(WebCore::RenderTextControlSingleLine::scroll):

LayoutTests:

* fast/forms/search/search-autoscroll-hidden-decoration-container-crash-expected.txt: Added.
* fast/forms/search/search-autoscroll-hidden-decoration-container-crash.html: Added.
* fast/forms/search/search-hide-decoration-container-crash-expected.txt: Added.
* fast/forms/search/search-hide-decoration-container-crash.html: Added.
* fast/forms/search/search-scroll-hidden-decoration-container-crash-expected.txt: Added.
* fast/forms/search/search-scroll-hidden-decoration-container-crash.html: Added.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145239 268f45cc-cd09-0410-ab3c-d52691b4dbfc