Compositing layers not updated after scroll in WebKit1

https://bugs.webkit.org/show_bug.cgi?id=83945

Source/WebCore:

Reviewed by James Robinson.

Fix the WebKit1 code path to correctly update compositing layers
after a scroll, by calling updateFixedElementsAfterScrolling() from
scrollPositionChangedViaPlatformWidget().

Covered by existing tests.

* page/FrameView.cpp:
(WebCore::FrameView::scrollPositionChangedViaPlatformWidget):

LayoutTests:

Reviewed by James Robinson.

Replace an incorrect Mac baseline with the correct result which was
already in place for WebKit2.

Remove a passing test from test-expectations.

* compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
* platform/mac-wk2/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt: Removed.
* platform/mac/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114175 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent aca71e51
2012-04-13 Simon Fraser <simon.fraser@apple.com>
Compositing layers not updated after scroll in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=83945
Reviewed by James Robinson.
Replace an incorrect Mac baseline with the correct result which was
already in place for WebKit2.
Remove a passing test from test-expectations.
* compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt:
* platform/mac-wk2/compositing/geometry/limit-layer-bounds-fixed-positioned-expected.txt: Removed.
* platform/mac/test_expectations.txt:
2012-04-13 Vincent Scheib <scheib@chromium.org>
Chromium test_expectations suppress platform/chromium/virtual/gpu/fast/canvas/2d.imageDataHD.html
......@@ -15,7 +15,7 @@ Text here
(drawsContent 1)
)
(GraphicsLayer
(position 0.00 13.00)
(position 0.00 113.00)
(bounds 150.00 142.00)
(drawsContent 1)
)
......
Text here
(GraphicsLayer
(bounds 785.00 1021.00)
(children 1
(GraphicsLayer
(bounds 785.00 1021.00)
(children 3
(GraphicsLayer
(position 29.00 134.00)
(bounds 100.00 100.00)
)
(GraphicsLayer
(position 29.00 134.00)
(bounds 100.00 100.00)
(drawsContent 1)
)
(GraphicsLayer
(position 0.00 113.00)
(bounds 150.00 142.00)
(drawsContent 1)
)
)
)
)
)
......@@ -183,7 +183,6 @@ BUGWK75568 : fast/repaint/subtree-root-skipped.html = TEXT
BUGWK75568 : fast/replaced/replaced-breaking.html = TEXT
BUGWK75568 : fast/replaced/width100percent-searchfield.html = TEXT
BUGWK75568 : fast/text/textIteratorNilRenderer.html = TEXT
BUGWK75568 : compositing/geometry/object-clip-rects-assertion.html = TEXT
BUGWK75568 : compositing/overflow/ancestor-overflow.html = TEXT
BUGWK75568 : editing/inserting/before-after-input-element.html = TEXT
BUGWK75568 : editing/pasteboard/4806874.html = TEXT
......
2012-04-13 Simon Fraser <simon.fraser@apple.com>
Compositing layers not updated after scroll in WebKit1
https://bugs.webkit.org/show_bug.cgi?id=83945
Reviewed by James Robinson.
Fix the WebKit1 code path to correctly update compositing layers
after a scroll, by calling updateFixedElementsAfterScrolling() from
scrollPositionChangedViaPlatformWidget().
Covered by existing tests.
* page/FrameView.cpp:
(WebCore::FrameView::scrollPositionChangedViaPlatformWidget):
2012-04-13 Dean Jackson <dino@apple.com>
Don't process filters if the input region is exceptionally large.
......@@ -1718,6 +1718,7 @@ void FrameView::setFixedVisibleContentRect(const IntRect& visibleContentRect)
void FrameView::scrollPositionChangedViaPlatformWidget()
{
repaintFixedElementsAfterScrolling();
updateFixedElementsAfterScrolling();
scrollPositionChanged();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment