haikuwebkit/LayoutTests/compositing/iframes
Simon Fraser fd6c896199 REGRESSION: animated iframe painted blank
https://bugs.webkit.org/show_bug.cgi?id=220231
Source/WebCore:

<rdar://problem/72793724>

Reviewed by Zalan Bujtas.

When an <iframe> on a fractional pixel boundary, on a non-Retina display, with
composited contents had its visibility toggled from 'hidden' to 'visible' we could
fail to parent the iframe content compositing layers, resulting in missing iframe
content.

This happened when the iframe's GraphicsLayer had a m_contentsClippingLayer (which
acts as the parent for the content layers) due to the fractional pixel offset.
When GraphicsLayerCA::setContentsVisible(true) was called, it would fail to call
noteSublayersChanged() because the iframe host layer has no m_contentsLayer,
but we do need to rebuild sublayers in this case.

Test: compositing/iframes/content-visibility-with-clipping.html

* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::setContentsVisible):

LayoutTests:

Reviewed by Zalan Bujtas.

* compositing/iframes/content-visibility-with-clipping-expected.html: Added.
* compositing/iframes/content-visibility-with-clipping.html: Added.


Canonical link: https://commits.webkit.org/232787@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@271191 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2021-01-06 03:55:01 +00:00
..
resources
become-composited-nested-iframes-expected.txt
become-composited-nested-iframes.html
become-overlapped-iframe-expected.txt
become-overlapped-iframe.html
border-radius-composited-frame-expected.html border-radius fails to clip iframe contents 2020-04-30 14:39:02 +00:00
border-radius-composited-frame.html border-radius fails to clip iframe contents 2020-04-30 14:39:02 +00:00
border-uneven-radius-composited-frame-expected.html border-radius fails to clip iframe contents 2020-04-30 14:39:02 +00:00
border-uneven-radius-composited-frame.html border-radius fails to clip iframe contents 2020-04-30 14:39:02 +00:00
composited-iframe-alignment.html Remove unneeded whitespace between content and <br> 2020-10-25 19:52:34 +00:00
composited-iframe-scroll-expected.png
composited-iframe-scroll-expected.txt
composited-iframe-scroll.html
composited-parent-iframe-expected.txt
composited-parent-iframe.html
compositing-for-scrollable-iframe.html
connect-compositing-iframe-delayed-expected.txt
connect-compositing-iframe-delayed.html
connect-compositing-iframe-expected.txt
connect-compositing-iframe.html
connect-compositing-iframe2-expected.txt
connect-compositing-iframe2.html
connect-compositing-iframe3-expected.txt
connect-compositing-iframe3.html
content-visibility-with-clipping-expected.html REGRESSION: animated iframe painted blank 2021-01-06 03:55:01 +00:00
content-visibility-with-clipping.html REGRESSION: animated iframe painted blank 2021-01-06 03:55:01 +00:00
crash-mouse-event-expected.txt
crash-mouse-event.html
display-none-subframe-expected.txt
display-none-subframe.html
enter-compositing-iframe-expected.txt
enter-compositing-iframe.html
fixed-position-iframe-expected.txt
fixed-position-iframe.html
iframe-content-flipping-expected.png
iframe-content-flipping-expected.txt
iframe-content-flipping.html
iframe-copy-on-scroll.html
iframe-in-composited-layer.html
iframe-position-absolute-with-padding-percentage-crash-expected.txt segfault in RenderLayerCompositor when the iframe's position attribute is changed and it embeds <object>. 2013-07-22 22:10:07 +00:00
iframe-position-absolute-with-padding-percentage-crash.html
iframe-resize-expected.txt
iframe-resize.html
iframe-size-from-zero-expected.txt
iframe-size-from-zero.html
iframe-size-to-zero-expected.txt
iframe-size-to-zero.html
iframe-src-change-expected.txt
iframe-src-change.html
invisible-iframe-expected.png
invisible-iframe-expected.txt
invisible-iframe.html
invisible-nested-iframe-expected.png
invisible-nested-iframe-expected.txt
invisible-nested-iframe-hide-expected.txt
invisible-nested-iframe-hide.html
invisible-nested-iframe-show.html
invisible-nested-iframe.html
layout-on-compositing-change-expected.txt Remove trailing spaces from expected.txt files (excluding WPT for now since that contains too many) 2020-09-27 02:15:19 +00:00
layout-on-compositing-change.html
leave-compositing-iframe-expected.txt
leave-compositing-iframe.html
nested-composited-iframe-expected.png
nested-composited-iframe-expected.txt
nested-composited-iframe.html
nested-iframe-scrolling-expected.png
nested-iframe-scrolling-expected.txt
nested-iframe-scrolling.html
overlapped-iframe-expected.txt REGRESSION(r240553): [iOS] Crash in ScrollingTree::updateTreeFromStateNode when attempting to log in to icloud.com 2019-01-29 21:29:27 +00:00
overlapped-iframe-iframe-expected.txt
overlapped-iframe-iframe.html
overlapped-iframe.html
overlapped-nested-iframes-expected.txt
overlapped-nested-iframes.html
page-cache-layer-tree-expected.txt
page-cache-layer-tree.html [Testing] Rename test header commands to match names in WebPreferences*.yaml 2020-10-13 17:16:15 +00:00
remove-iframe-crash-expected.txt
remove-iframe-crash.html
remove-reinsert-webview-with-iframe-expected.txt
remove-reinsert-webview-with-iframe.html
repaint-after-losing-scrollbars-expected.png
repaint-after-losing-scrollbars-expected.txt
repaint-after-losing-scrollbars.html
resize-from-zero-size-expected.txt
resize-from-zero-size.html
resizer.html
scroll-fixed-transformed-element-expected.png
scroll-fixed-transformed-element-expected.txt
scroll-fixed-transformed-element.html
scroll-grandchild-iframe-expected.txt
scroll-grandchild-iframe.html
scrolling-iframe-expected.txt
scrolling-iframe.html