git://git.webkit.org
/
WebKit-https.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Re-applied the fix for bug 8835 (REGRESSION: Line moves but selection
[WebKit-https.git]
/
WebCore
/
rendering
/
RootInlineBox.cpp
diff --git
a/WebCore/rendering/RootInlineBox.cpp
b/WebCore/rendering/RootInlineBox.cpp
index 9fabb37081766da046b87d9d7bc8691cb1e734c9..d81066a36171eed6d5bd905b49b36aeb2bb61641 100644
(file)
--- a/
WebCore/rendering/RootInlineBox.cpp
+++ b/
WebCore/rendering/RootInlineBox.cpp
@@
-121,6
+121,8
@@
void RootInlineBox::adjustPosition(int dx, int dy)
m_topOverflow += dy;
m_bottomOverflow += dy;
m_blockHeight += dy;
+ m_selectionTop += dy;
+ m_selectionBottom += dy;
}
void RootInlineBox::childRemoved(InlineBox* box)