WebCore:
2009-04-08 David Hyatt <hyatt@apple.com>
Reviewed by Adam Roben and Darin Adler
Fix for https://bugs.webkit.org/show_bug.cgi?id=12440, repaints inconsistent for
fixed positioned elements.
Rewrite the updateScrollers method to be more correct in its results.
Test: fast/block/positioning/fixed-positioning-scrollbar-bug.html
* dom/Document.cpp:
(WebCore::Document::recalcStyle):
(WebCore::Document::implicitClose):
* page/FrameView.cpp:
(WebCore::FrameView::createScrollbar):
(WebCore::FrameView::layout):
(WebCore::FrameView::adjustPageHeight):
* page/FrameView.h:
* page/win/FrameWin.cpp:
(WebCore::computePageRectsForFrame):
* platform/ScrollView.cpp:
(WebCore::ScrollView::ScrollView):
(WebCore::ScrollView::updateScrollbars):
* platform/ScrollView.h:
* rendering/RenderView.cpp:
(WebCore::RenderView::layout):
(WebCore::RenderView::docHeight):
(WebCore::RenderView::docWidth):
* rendering/RenderView.h:
WebKit/mac:
2009-04-08 David Hyatt <hyatt@apple.com>
Reviewed by Adam Roben and Darin Adler
Fix for https://bugs.webkit.org/show_bug.cgi?id=12440, fixed positioned elements end up in
inconsistent positions. Rewrite updateScrollers to improve the correctness.
* WebView/WebDynamicScrollBarsView.h:
* WebView/WebDynamicScrollBarsView.m:
(-[WebDynamicScrollBarsView updateScrollers]):
LayoutTests:
2009-04-08 David Hyatt <hyatt@apple.com>
Reviewed by Adam Roben and Darin Adler
Updated results and new tests for https://bugs.webkit.org/show_bug.cgi?id=12440.
* fast/block/positioning/fixed-positioning-scrollbar-bug.html: Added.
* platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.checksum: Added.
* platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.png: Added.
* platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt: Added.
* platform/mac/fast/flexbox/016-expected.checksum:
* platform/mac/fast/flexbox/016-expected.png:
* platform/mac/fast/flexbox/016-expected.txt:
* platform/mac/fast/flexbox/flex-hang-expected.checksum:
* platform/mac/fast/flexbox/flex-hang-expected.png:
* platform/mac/fast/flexbox/flex-hang-expected.txt:
* platform/mac/fast/lists/001-expected.checksum:
* platform/mac/fast/lists/001-expected.png:
* platform/mac/fast/lists/001-expected.txt:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@42334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
26 files changed