Reviewed by Chris Blumenberg.
Test cases added: (NONE)
(continued) <rdar://problem/
4140688> assertion failure double-clicking text to select
Fixed my checkin from yesterday.
* khtml/rendering/render_text.cpp:
(InlineTextBox::paintMarkedTextBackground):
(InlineTextBox::positionForOffset):
Changed tabs to spaces.
(RenderText::positionForCoordinates):
Make sure affinity is downstream when in mid-line.
Changed tabs to spaces.
(RenderText::caretRect):
(RenderText::cacheWidths):
(RenderText::trimmedMinMaxWidth):
(RenderText::minXPos):
(RenderText::width):
(RenderText::caretMaxOffset):
Changed tabs to spaces.
* layout-tests/editing/style/create-block-for-style-004-expected.txt:
Expected ending selection affinity is downstream.
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9512
268f45cc-cd09-0410-ab3c-
d52691b4dbfc