REGRESSION(r224460): Text fields sometimes get "messed up"
authorcarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jan 2018 10:57:02 +0000 (10:57 +0000)
committercarlosgc@webkit.org <carlosgc@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 9 Jan 2018 10:57:02 +0000 (10:57 +0000)
commit7cb6f6058092d5e42d49049255af5c99ef17d6f0
tree6652d69aefa1f88b26fbdc9aeeafd5d26cf86563
parent8f44374798fa7c8f558fa0083bb863ff5c5479d3
REGRESSION(r224460): Text fields sometimes get "messed up"
https://bugs.webkit.org/show_bug.cgi?id=181115

Reviewed by Zalan Bujtas.

Add the scroll position to paint offset before computing the clip rectangle. Before r224460, scroll position was
substracted after the clip rectangle was computed.

* rendering/LayoutState.cpp:
(WebCore::LayoutState::computeClipRect):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@226623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/rendering/LayoutState.cpp