Changeset 23565 in webkit
- Timestamp:
- Jun 18, 2007 9:55:20 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r23557 r23565 1 2007-06-18 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Adele. 4 5 - test for http://bugs.webkit.org/show_bug.cgi?id=13413 6 Failed assertion in RenderTextControl::setSelectionRange in Google Spreadsheets 7 8 * fast/forms/input-zero-height-focus-expected.txt: Added. 9 * fast/forms/input-zero-height-focus.html: Added. 10 1 11 2007-06-15 Sam Weinig <sam@webkit.org> 2 12 -
trunk/WebCore/ChangeLog
r23564 r23565 1 2007-06-18 Mitz Pettel <mitz@webkit.org> 2 3 Reviewed by Adele. 4 5 - fix http://bugs.webkit.org/show_bug.cgi?id=13413 6 Failed assertion in RenderTextControl::setSelectionRange in Google Spreadsheets 7 8 Test: fast/forms/input-zero-height-focus.html 9 10 * rendering/RenderTextControl.cpp: 11 (WebCore::RenderTextControl::setSelectionRange): Avoid setting the 12 selection in a zero-height text control. 13 1 14 2007-06-18 Alp Toker <alp.toker@collabora.co.uk> 2 15 -
trunk/WebCore/rendering/RenderTextControl.cpp
r22024 r23565 422 422 document()->updateLayout(); 423 423 424 if (style()->visibility() == HIDDEN ) {424 if (style()->visibility() == HIDDEN || !m_innerText || !m_innerText->renderer() || !m_innerText->renderer()->height()) { 425 425 if (m_multiLine) 426 426 static_cast<HTMLTextAreaElement*>(node())->cacheSelection(start, end);
Note: See TracChangeset
for help on using the changeset viewer.