<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[211662] trunk</title>
</head>
<body>
<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; }
#msg dl a { font-weight: bold}
#msg dl a:link { color:#fc3; }
#msg dl a:active { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/211662">211662</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2017-02-03 17:53:38 -0800 (Fri, 03 Feb 2017)</dd>
</dl>
<h3>Log Message</h3>
<pre>Correctly set the "inWindow" flag for TileControllers that aren't the page tiles, and clarify "usingTiledBacking" logic
https://bugs.webkit.org/show_bug.cgi?id=167774
Reviewed by Tim Horton.
Source/WebCore:
RenderLayerBacking had some very confusing "usingTiledCacheLayer" uses.
Its member variable, m_usingTiledCacheLayer, really meant "m_isMainFrameLayerWithTiledBacking" so make it so.
It had a usingTiledBacking(), which returned the same thing, which this patch replaces with isMainFrameLayerWithTiledBacking().
The fact that usingTiledBacking() was only true for the page tiled layer tripped up
RenderLayerCompositor::setIsInWindowForLayerIncludingDescendants(), which would only ever call setIsInWindow()
on the page tiled layer. These changes fix that.
Also make a way for tests to unparent the web view via UIScriptController, and dump out the "in window"
status of TileBackings when dumping tile caches.
Test: tiled-drawing/tiled-backing-in-window.html
* platform/graphics/TiledBacking.h:
* platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::dumpAdditionalProperties):
* platform/graphics/ca/TileController.h:
* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::RenderLayerBacking):
(WebCore::computePageTiledBackingCoverage):
(WebCore::RenderLayerBacking::adjustTiledBackingCoverage):
(WebCore::RenderLayerBacking::setTiledBackingHasMargins):
(WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
(WebCore::RenderLayerBacking::shouldClipCompositedBounds):
(WebCore::RenderLayerBacking::updateDescendantClippingLayer):
(WebCore::RenderLayerBacking::updateRootLayerConfiguration):
(WebCore::RenderLayerBacking::paintsIntoWindow):
(WebCore::computeTileCoverage): Deleted.
* rendering/RenderLayerBacking.h:
* rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::flushPendingLayerChanges):
(WebCore::RenderLayerCompositor::rootFixedBackgroundsChanged):
(WebCore::RenderLayerCompositor::setIsInWindowForLayerIncludingDescendants):
(WebCore::RenderLayerCompositor::supportsFixedRootBackgroundCompositing):
(WebCore::RenderLayerCompositor::documentUsesTiledBacking):
Tools:
Implement UIScriptController removeViewFromWindow() and addViewToWindow(), and hook
up for Mac WK1 and WK2, and iOS WK2. It takes a callback because view state updates to the
web process are async, so the callback fires after the web process gets the new state.
* DumpRenderTree/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::removeViewFromWindow):
(WTR::UIScriptController::addViewToWindow):
* DumpRenderTree/mac/DumpRenderTree.mm:
(createWebViewAndOffscreenWindow):
(resetWebViewToConsistentStateBeforeTesting):
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/UIScriptControllerMac.mm:
(WTR::UIScriptController::removeViewFromWindow):
(WTR::UIScriptController::addViewToWindow):
* TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
* TestRunnerShared/UIScriptContext/UIScriptController.cpp:
(WTR::UIScriptController::removeViewFromWindow):
(WTR::UIScriptController::addViewToWindow):
* TestRunnerShared/UIScriptContext/UIScriptController.h:
* WebKitTestRunner/PlatformWebView.h:
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::resetStateToConsistentValues):
* WebKitTestRunner/ios/PlatformWebViewIOS.mm:
(WTR::PlatformWebView::removeFromWindow):
(WTR::PlatformWebView::addToWindow):
* WebKitTestRunner/ios/UIScriptControllerIOS.mm:
(WTR::UIScriptController::removeViewFromWindow):
(WTR::UIScriptController::addViewToWindow):
* WebKitTestRunner/mac/PlatformWebViewMac.mm:
(WTR::PlatformWebView::removeFromWindow):
(WTR::PlatformWebView::addToWindow):
* WebKitTestRunner/mac/UIScriptControllerMac.mm:
(WTR::UIScriptController::removeViewFromWindow):
(WTR::UIScriptController::addViewToWindow):
LayoutTests:
Rebase to include the "in window" output.
tiled-drawing/background-transparency-toggle.html was sensitive to the length of the output, so give the body
a fixed size.
* compositing/tiling/offscreen-tiled-layer-expected.txt:
* compositing/tiling/transform-origin-tiled-expected.txt:
* platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt:
* platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt:
* platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt:
* platform/mac-wk2/compositing/tiling/tiled-layer-resize-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
* platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
* platform/mac/compositing/tiling/tiled-layer-resize-expected.txt:
* tiled-drawing/background-transparency-toggle-expected.txt:
* tiled-drawing/background-transparency-toggle.html:
* tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt:
* tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt:
* tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt:
* tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt:
* tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt:
* tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt:
* tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt:
* tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt:
* tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt:
* tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt:
* tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt:
* tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt:
* tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt:
* tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt:
* tiled-drawing/simple-document-with-margin-tiles-expected.txt:
* tiled-drawing/tile-coverage-after-scroll-expected.txt:
* tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt:
* tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt:
* tiled-drawing/tile-coverage-slow-scrolling-expected.txt:
* tiled-drawing/tile-coverage-speculative-expected.txt:
* tiled-drawing/tile-coverage-view-exposed-rect-expected.txt:
* tiled-drawing/tile-size-both-scrollable-expected.txt:
* tiled-drawing/tile-size-horizontally-scrollable-expected.txt:
* tiled-drawing/tile-size-slow-zoomed-expected.txt:
* tiled-drawing/tile-size-unscrollable-expected.txt:
* tiled-drawing/tile-size-vertically-scrollable-expected.txt:
* tiled-drawing/tile-size-view-exposed-rect-expected.txt:
* tiled-drawing/tiled-backing-in-window-expected.txt: Added.
* tiled-drawing/tiled-backing-in-window.html: Added.
* tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt:
* tiled-drawing/tiled-drawing-zoom-expected.txt:
* tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt:
* tiled-drawing/use-tiled-drawing-expected.txt:
* tiled-drawing/visible-rect-content-inset-expected.txt:</pre>
<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestscompositingtilingoffscreentiledlayerexpectedtxt">trunk/LayoutTests/compositing/tiling/offscreen-tiled-layer-expected.txt</a></li>
<li><a href="#trunkLayoutTestscompositingtilingtransformorigintiledexpectedtxt">trunk/LayoutTests/compositing/tiling/transform-origin-tiled-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2compositingtilingoffscreentiledlayerexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/offscreen-tiled-layer-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2compositingtilingrotatedtiledclampedexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2compositingtilingrotatedtiledpreserve3dclampedexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2compositingtilingtilecachezoomedexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tile-cache-zoomed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2compositingtilingtiledlayerresizeexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tiled-layer-resize-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformiossimulatorwk2compositingtilingtransformorigintiledexpectedtxt">trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/transform-origin-tiled-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmaccompositingtilingrotatedtiledclampedexpectedtxt">trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmaccompositingtilingrotatedtiledpreserve3dclampedexpectedtxt">trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmaccompositingtilingtiledlayerresizeexpectedtxt">trunk/LayoutTests/platform/mac/compositing/tiling/tiled-layer-resize-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk1compositingtilingoffscreentiledlayerexpectedtxt">trunk/LayoutTests/platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk1compositingtilingtransformorigintiledexpectedtxt">trunk/LayoutTests/platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2compositingtilingrotatedtiledclampedexpectedtxt">trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2compositingtilingrotatedtiledpreserve3dclampedexpectedtxt">trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2compositingtilingtilecachezoomedexpectedtxt">trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt</a></li>
<li><a href="#trunkLayoutTestsplatformmacwk2compositingtilingtiledlayerresizeexpectedtxt">trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tiled-layer-resize-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingbackgroundtransparencytoggleexpectedtxt">trunk/LayoutTests/tiled-drawing/background-transparency-toggle-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingbackgroundtransparencytogglehtml">trunk/LayoutTests/tiled-drawing/background-transparency-toggle.html</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolldivlatcheddivexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolldivlatcheddivwithhandlerexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolldivlatchedmainframeexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolldivlatchedmainframewithhandlerexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolliframelatchediframeexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolliframelatchediframewithhandlerexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolliframelatchedmainframeexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrolliframelatchedmainframewithhandlerexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedmainframeexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedmainframewithhandlerexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedselectexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedselectwithhandlerexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedfourbarszoomedexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbackgroundnoimageexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundbodylayerexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundopacityexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundpositionedexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundtransformedexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundzoomedexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedhtmlbackgroundexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingscrollingfixedbackgroundfixednonpropagatedbodybackgroundexpectedtxt">trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingsimpledocumentwithmargintilesexpectedtxt">trunk/LayoutTests/tiled-drawing/simple-document-with-margin-tiles-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilecoverageafterscrollexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilecoverageafterscrollspeculativeexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilecoveragescrolltobottomexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilecoverageslowscrollingexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-coverage-slow-scrolling-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilecoveragespeculativeexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-coverage-speculative-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilecoverageviewexposedrectexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-coverage-view-exposed-rect-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilesizebothscrollableexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-size-both-scrollable-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilesizehorizontallyscrollableexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-size-horizontally-scrollable-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilesizeslowzoomedexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-size-slow-zoomed-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilesizeunscrollableexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-size-unscrollable-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilesizeverticallyscrollableexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-size-vertically-scrollable-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtilesizeviewexposedrectexpectedtxt">trunk/LayoutTests/tiled-drawing/tile-size-view-exposed-rect-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtileddrawingscrollpositionpagecacherestorationexpectedtxt">trunk/LayoutTests/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtileddrawingzoomexpectedtxt">trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtileddrawingzoomscrolledexpectedtxt">trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingusetileddrawingexpectedtxt">trunk/LayoutTests/tiled-drawing/use-tiled-drawing-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingvisiblerectcontentinsetexpectedtxt">trunk/LayoutTests/tiled-drawing/visible-rect-content-inset-expected.txt</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicsTiledBackingh">trunk/Source/WebCore/platform/graphics/TiledBacking.h</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp">trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp</a></li>
<li><a href="#trunkSourceWebCoreplatformgraphicscaTileControllerh">trunk/Source/WebCore/platform/graphics/ca/TileController.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayerBackingcpp">trunk/Source/WebCore/rendering/RenderLayerBacking.cpp</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayerBackingh">trunk/Source/WebCore/rendering/RenderLayerBacking.h</a></li>
<li><a href="#trunkSourceWebCorerenderingRenderLayerCompositorcpp">trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp</a></li>
<li><a href="#trunkToolsChangeLog">trunk/Tools/ChangeLog</a></li>
<li><a href="#trunkToolsDumpRenderTreeiosUIScriptControllerIOSmm">trunk/Tools/DumpRenderTree/ios/UIScriptControllerIOS.mm</a></li>
<li><a href="#trunkToolsDumpRenderTreemacDumpRenderTreemm">trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm</a></li>
<li><a href="#trunkToolsDumpRenderTreemacDumpRenderTreeMach">trunk/Tools/DumpRenderTree/mac/DumpRenderTreeMac.h</a></li>
<li><a href="#trunkToolsDumpRenderTreemacUIScriptControllerMacmm">trunk/Tools/DumpRenderTree/mac/UIScriptControllerMac.mm</a></li>
<li><a href="#trunkToolsTestRunnerSharedUIScriptContextBindingsUIScriptControlleridl">trunk/Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl</a></li>
<li><a href="#trunkToolsTestRunnerSharedUIScriptContextUIScriptControllercpp">trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp</a></li>
<li><a href="#trunkToolsTestRunnerSharedUIScriptContextUIScriptControllerh">trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.h</a></li>
<li><a href="#trunkToolsWebKitTestRunnerPlatformWebViewh">trunk/Tools/WebKitTestRunner/PlatformWebView.h</a></li>
<li><a href="#trunkToolsWebKitTestRunnerTestControllercpp">trunk/Tools/WebKitTestRunner/TestController.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunnereflPlatformWebViewEflcpp">trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunnergtkPlatformWebViewGtkcpp">trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp</a></li>
<li><a href="#trunkToolsWebKitTestRunneriosPlatformWebViewIOSmm">trunk/Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm</a></li>
<li><a href="#trunkToolsWebKitTestRunneriosUIScriptControllerIOSmm">trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm</a></li>
<li><a href="#trunkToolsWebKitTestRunnermacPlatformWebViewMacmm">trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm</a></li>
<li><a href="#trunkToolsWebKitTestRunnermacUIScriptControllerMacmm">trunk/Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm</a></li>
</ul>
<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTeststileddrawingtiledbackinginwindowexpectedtxt">trunk/LayoutTests/tiled-drawing/tiled-backing-in-window-expected.txt</a></li>
<li><a href="#trunkLayoutTeststileddrawingtiledbackinginwindowhtml">trunk/LayoutTests/tiled-drawing/tiled-backing-in-window.html</a></li>
</ul>
</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/ChangeLog        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -1,3 +1,71 @@
</span><ins>+2017-02-03 Simon Fraser <simon.fraser@apple.com>
+
+ Correctly set the "inWindow" flag for TileControllers that aren't the page tiles, and clarify "usingTiledBacking" logic
+ https://bugs.webkit.org/show_bug.cgi?id=167774
+
+ Reviewed by Tim Horton.
+
+ Rebase to include the "in window" output.
+
+ tiled-drawing/background-transparency-toggle.html was sensitive to the length of the output, so give the body
+ a fixed size.
+
+ * compositing/tiling/offscreen-tiled-layer-expected.txt:
+ * compositing/tiling/transform-origin-tiled-expected.txt:
+ * platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt:
+ * platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt:
+ * platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt:
+ * platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
+ * platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt:
+ * platform/mac-wk2/compositing/tiling/tiled-layer-resize-expected.txt:
+ * platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt:
+ * platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt:
+ * platform/mac/compositing/tiling/tiled-layer-resize-expected.txt:
+ * tiled-drawing/background-transparency-toggle-expected.txt:
+ * tiled-drawing/background-transparency-toggle.html:
+ * tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt:
+ * tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt:
+ * tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt:
+ * tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt:
+ * tiled-drawing/simple-document-with-margin-tiles-expected.txt:
+ * tiled-drawing/tile-coverage-after-scroll-expected.txt:
+ * tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt:
+ * tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt:
+ * tiled-drawing/tile-coverage-slow-scrolling-expected.txt:
+ * tiled-drawing/tile-coverage-speculative-expected.txt:
+ * tiled-drawing/tile-coverage-view-exposed-rect-expected.txt:
+ * tiled-drawing/tile-size-both-scrollable-expected.txt:
+ * tiled-drawing/tile-size-horizontally-scrollable-expected.txt:
+ * tiled-drawing/tile-size-slow-zoomed-expected.txt:
+ * tiled-drawing/tile-size-unscrollable-expected.txt:
+ * tiled-drawing/tile-size-vertically-scrollable-expected.txt:
+ * tiled-drawing/tile-size-view-exposed-rect-expected.txt:
+ * tiled-drawing/tiled-backing-in-window-expected.txt: Added.
+ * tiled-drawing/tiled-backing-in-window.html: Added.
+ * tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt:
+ * tiled-drawing/tiled-drawing-zoom-expected.txt:
+ * tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt:
+ * tiled-drawing/use-tiled-drawing-expected.txt:
+ * tiled-drawing/visible-rect-content-inset-expected.txt:
+
</ins><span class="cx"> 2017-02-03 Zalan Bujtas <zalan@apple.com>
</span><span class="cx">
</span><span class="cx"> Simple line layout: Bail out from Simple Line Layout when the primary font is insufficient.
</span></span></pre></div>
<a id="trunkLayoutTestscompositingtilingoffscreentiledlayerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/tiling/offscreen-tiled-layer-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/tiling/offscreen-tiled-layer-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/compositing/tiling/offscreen-tiled-layer-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 1024 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 8.00 1800.00)
</span><span class="lines">@@ -30,6 +31,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 0 x 0)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 0 x 0)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestscompositingtilingtransformorigintiledexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/tiling/transform-origin-tiled-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/tiling/transform-origin-tiled-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/compositing/tiling/transform-origin-tiled-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 58.00 50.00)
</span><span class="lines">@@ -48,6 +49,7 @@
</span><span class="cx"> (tile cache coverage 1024, 0 1024 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 2, 0 tiles grid 2 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2compositingtilingoffscreentiledlayerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/offscreen-tiled-layer-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/offscreen-tiled-layer-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/offscreen-tiled-layer-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 1024 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 8.00 1800.00)
</span><span class="lines">@@ -30,6 +31,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 0 x 0)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 0 x 0)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2compositingtilingrotatedtiledclampedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 800 x 600)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 58.00 50.00)
</span><span class="lines">@@ -49,6 +50,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2800 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 6 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2compositingtilingrotatedtiledpreserve3dclampedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 800 x 600)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 58.00 50.00)
</span><span class="lines">@@ -56,6 +57,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2800 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 6 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2compositingtilingtilecachezoomedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tile-cache-zoomed-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tile-cache-zoomed-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tile-cache-zoomed-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 1024 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 8.00 8.00)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2compositingtilingtiledlayerresizeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tiled-layer-resize-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tiled-layer-resize-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/tiled-layer-resize-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -9,6 +9,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 808 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 8.00 8.00)
</span><span class="lines">@@ -19,6 +20,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformiossimulatorwk2compositingtilingtransformorigintiledexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/transform-origin-tiled-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/transform-origin-tiled-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/ios-simulator-wk2/compositing/tiling/transform-origin-tiled-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 800 x 600)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 58.00 50.00)
</span><span class="lines">@@ -48,6 +49,7 @@
</span><span class="cx"> (tile cache coverage 1024, 0 1024 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 2, 0 tiles grid 2 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmaccompositingtilingrotatedtiledclampedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-clamped-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -46,6 +46,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2800 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 6 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmaccompositingtilingrotatedtiledpreserve3dclampedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -53,6 +53,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2800 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 6 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmaccompositingtilingtiledlayerresizeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac/compositing/tiling/tiled-layer-resize-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac/compositing/tiling/tiled-layer-resize-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac/compositing/tiling/tiled-layer-resize-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk1compositingtilingoffscreentiledlayerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac-wk1/compositing/tiling/offscreen-tiled-layer-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 0 x 0)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 0 x 0)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk1compositingtilingtransformorigintiledexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac-wk1/compositing/tiling/transform-origin-tiled-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -45,6 +45,7 @@
</span><span class="cx"> (tile cache coverage 1024, 0 1024 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 2, 0 tiles grid 2 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2compositingtilingrotatedtiledclampedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-clamped-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 58.00 50.00)
</span><span class="lines">@@ -49,6 +50,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2800 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 6 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2compositingtilingrotatedtiledpreserve3dclampedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac-wk2/compositing/tiling/rotated-tiled-preserve3d-clamped-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 58.00 50.00)
</span><span class="lines">@@ -56,6 +57,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2800 x 300)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 6 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2compositingtilingtilecachezoomedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tile-cache-zoomed-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 640 x 640)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 8.00 8.00)
</span></span></pre></div>
<a id="trunkLayoutTestsplatformmacwk2compositingtilingtiledlayerresizeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tiled-layer-resize-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tiled-layer-resize-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/platform/mac-wk2/compositing/tiling/tiled-layer-resize-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -9,6 +9,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 808 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position 8.00 8.00)
</span><span class="lines">@@ -19,6 +20,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingbackgroundtransparencytoggleexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/background-transparency-toggle-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/background-transparency-toggle-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/background-transparency-toggle-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -2,53 +2,57 @@
</span><span class="cx">
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (anchor 0.00 0.00)
</span><del>- (bounds 800.00 600.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><del>- (bounds 800.00 600.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (contentsOpaque 1)
</span><del>- (tile cache coverage 0, 0 800 x 600)
- (tile size 800 x 600)
- (top left tile 0, 0 tiles grid 1 x 1)
</del><ins>+ (tile cache coverage 0, 0 785 x 1024)
+ (tile size 785 x 512)
+ (top left tile 0, 0 tiles grid 1 x 2)
+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (anchor 0.00 0.00)
</span><del>- (bounds 800.00 600.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><del>- (bounds 800.00 600.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (backgroundColor #00000033)
</span><del>- (tile cache coverage 0, 0 800 x 600)
- (tile size 800 x 600)
- (top left tile 0, 0 tiles grid 1 x 1)
</del><ins>+ (tile cache coverage 0, 0 785 x 1024)
+ (tile size 785 x 512)
+ (top left tile 0, 0 tiles grid 1 x 2)
+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (anchor 0.00 0.00)
</span><del>- (bounds 800.00 600.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><del>- (bounds 800.00 600.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (contentsOpaque 1)
</span><del>- (tile cache coverage 0, 0 800 x 600)
- (tile size 800 x 600)
- (top left tile 0, 0 tiles grid 1 x 1)
</del><ins>+ (tile cache coverage 0, 0 785 x 1024)
+ (tile size 785 x 512)
+ (top left tile 0, 0 tiles grid 1 x 2)
+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (anchor 0.00 0.00)
</span><del>- (bounds 785.00 648.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (children 1
</span><span class="cx"> (GraphicsLayer
</span><del>- (bounds 785.00 648.00)
</del><ins>+ (bounds 785.00 1024.00)
</ins><span class="cx"> (contentsOpaque 1)
</span><del>- (tile cache coverage 0, 0 785 x 600)
- (tile size 800 x 600)
- (top left tile 0, 0 tiles grid 1 x 1)
</del><ins>+ (tile cache coverage 0, 0 785 x 1024)
+ (tile size 785 x 512)
+ (top left tile 0, 0 tiles grid 1 x 2)
+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingbackgroundtransparencytogglehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/background-transparency-toggle.html (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/background-transparency-toggle.html        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/background-transparency-toggle.html        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -5,6 +5,7 @@
</span><span class="cx"> <style>
</span><span class="cx"> body {
</span><span class="cx"> background-color: white;
</span><ins>+ height: 1000px;
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> body.transparent {
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolldivlatcheddivexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -71,6 +71,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolldivlatcheddivwithhandlerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-div-with-handler-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -71,6 +71,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolldivlatchedmainframeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -71,6 +71,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolldivlatchedmainframewithhandlerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-div-latched-mainframe-with-handler-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -72,6 +72,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolliframelatchediframeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 2048)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolliframelatchediframewithhandlerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-iframe-with-handler-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 2048)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolliframelatchedmainframeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 2048)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrolliframelatchedmainframewithhandlerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-iframe-latched-mainframe-with-handler-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -27,6 +27,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 2048)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedmainframeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedmainframewithhandlerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-mainframe-with-handler-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -29,6 +29,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedselectexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfastscrollselectlatchedselectwithhandlerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fast-scroll-select-latched-select-with-handler-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -31,6 +31,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 2008 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedfourbarszoomedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed/four-bars-zoomed-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -49,6 +49,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 341 x 445)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> (children 4
</span><span class="cx"> (GraphicsLayer
</span><span class="cx"> (position -4.00 -4.00)
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbackgroundnoimageexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-background-no-image-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundbodylayerexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-body-layer-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundopacityexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-opacity-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundpositionedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-positioned-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundtransformedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-transformed-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 795 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedbodybackgroundzoomedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-body-background-zoomed-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -19,6 +19,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 445 x 667)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 3)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixedhtmlbackgroundexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-html-background-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingscrollingfixedbackgroundfixednonpropagatedbodybackgroundexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/scrolling/fixed-background/fixed-non-propagated-body-background-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -9,6 +9,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingsimpledocumentwithmargintilesexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/simple-document-with-margin-tiles-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/simple-document-with-margin-tiles-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/simple-document-with-margin-tiles-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage -512, -512 2048 x 2048)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile -1, -1 tiles grid 4 x 4)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilecoverageafterscrollexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 2560 785 x 1536)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 5 tiles grid 1 x 3)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilecoverageafterscrollspeculativeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-coverage-after-scroll-speculative-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 2560 785 x 1536)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 5 tiles grid 1 x 3)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilecoveragescrolltobottomexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-coverage-scroll-to-bottom-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 4096 785 x 925)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 8 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilecoverageslowscrollingexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-coverage-slow-scrolling-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-coverage-slow-scrolling-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-coverage-slow-scrolling-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 800 x 600)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilecoveragespeculativeexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-coverage-speculative-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-coverage-speculative-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-coverage-speculative-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilecoverageviewexposedrectexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-coverage-view-exposed-rect-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-coverage-view-exposed-rect-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-coverage-view-exposed-rect-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> (tile cache coverage 0, 1024 800 x 512)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 2 tiles grid 2 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilesizebothscrollableexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-size-both-scrollable-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-size-both-scrollable-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-size-both-scrollable-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 1024 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilesizehorizontallyscrollableexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-size-horizontally-scrollable-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-size-horizontally-scrollable-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-size-horizontally-scrollable-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 1024 x 585)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilesizeslowzoomedexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-size-slow-zoomed-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-size-slow-zoomed-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-size-slow-zoomed-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 602 x 584)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilesizeunscrollableexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-size-unscrollable-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-size-unscrollable-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-size-unscrollable-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 600)
</span><span class="cx"> (tile size 800 x 600)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilesizeverticallyscrollableexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-size-vertically-scrollable-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-size-vertically-scrollable-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-size-vertically-scrollable-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 785 x 1024)
</span><span class="cx"> (tile size 785 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtilesizeviewexposedrectexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tile-size-view-exposed-rect-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tile-size-view-exposed-rect-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tile-size-view-exposed-rect-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -8,6 +8,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 512)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtiledbackinginwindowexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/tiled-drawing/tiled-backing-in-window-expected.txt (0 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tiled-backing-in-window-expected.txt         (rev 0)
+++ trunk/LayoutTests/tiled-drawing/tiled-backing-in-window-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -0,0 +1,78 @@
</span><ins>+Tiled box
+(GraphicsLayer
+ (anchor 0.00 0.00)
+ (bounds 2208.00 1016.00)
+ (visible rect 0.00, 0.00 785.00 x 585.00)
+ (coverage rect 0.00, 0.00 785.00 x 585.00)
+ (intersects coverage rect 1)
+ (contentsScale 1.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 2208.00 1016.00)
+ (contentsOpaque 1)
+ (visible rect 0.00, 0.00 785.00 x 585.00)
+ (coverage rect 0.00, 0.00 785.00 x 585.00)
+ (intersects coverage rect 1)
+ (contentsScale 1.00)
+ (tile cache coverage 0, 0 1024 x 1016)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 2)
+ (in window 1)
+ (children 1
+ (GraphicsLayer
+ (position 8.00 8.00)
+ (bounds 2200.00 200.00)
+ (usingTiledLayer 1)
+ (drawsContent 1)
+ (visible rect 0.00, 0.00 777.00 x 200.00)
+ (coverage rect -8.00, -8.00 785.00 x 585.00)
+ (intersects coverage rect 1)
+ (contentsScale 1.00)
+ (tile cache coverage 0, 0 1024 x 200)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 1)
+ (in window 1)
+ )
+ )
+ )
+ )
+)
+(GraphicsLayer
+ (anchor 0.00 0.00)
+ (bounds 2208.00 1016.00)
+ (visible rect 0.00, 0.00 785.00 x 585.00)
+ (coverage rect 0.00, 0.00 785.00 x 585.00)
+ (intersects coverage rect 1)
+ (contentsScale 1.00)
+ (children 1
+ (GraphicsLayer
+ (bounds 2208.00 1016.00)
+ (contentsOpaque 1)
+ (visible rect 0.00, 0.00 785.00 x 585.00)
+ (coverage rect 0.00, 0.00 785.00 x 585.00)
+ (intersects coverage rect 1)
+ (contentsScale 1.00)
+ (tile cache coverage 0, 0 1024 x 1016)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 2)
+ (in window 0)
+ (children 1
+ (GraphicsLayer
+ (position 8.00 8.00)
+ (bounds 2200.00 200.00)
+ (usingTiledLayer 1)
+ (drawsContent 1)
+ (visible rect 0.00, 0.00 777.00 x 200.00)
+ (coverage rect -8.00, -8.00 785.00 x 585.00)
+ (intersects coverage rect 1)
+ (contentsScale 1.00)
+ (tile cache coverage 0, 0 1024 x 200)
+ (tile size 512 x 512)
+ (top left tile 0, 0 tiles grid 2 x 1)
+ (in window 0)
+ )
+ )
+ )
+ )
+)
+
</ins></span></pre></div>
<a id="trunkLayoutTeststileddrawingtiledbackinginwindowhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/tiled-drawing/tiled-backing-in-window.html (0 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tiled-backing-in-window.html         (rev 0)
+++ trunk/LayoutTests/tiled-drawing/tiled-backing-in-window.html        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -0,0 +1,65 @@
</span><ins>+<!DOCTYPE html>
+
+<html>
+<head>
+ <style>
+ body {
+ height: 1000px;
+ }
+
+ .box {
+ height: 200px;
+ width: 2200px;
+ background: repeating-linear-gradient(to right, white, blue 400px);
+ }
+
+ .composited {
+ transform: translateZ(0);
+ }
+ </style>
+ <script>
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.waitUntilDone();
+ }
+
+ function getUIScript()
+ {
+ return `
+ (function() {
+ uiController.removeViewFromWindow(function() {
+ uiController.uiScriptComplete('');
+ });
+ })();`
+ }
+
+ function dumpTiles(outputId)
+ {
+ if (window.internals) {
+ document.getElementById(outputId).innerText = internals.layerTreeAsText(document,
+ internals.LAYER_TREE_INCLUDES_VISIBLE_RECTS | internals.LAYER_TREE_INCLUDES_TILE_CACHES);
+ }
+ }
+ function doTest()
+ {
+ if (!testRunner.runUIScript)
+ return;
+
+ dumpTiles('before-layers');
+
+ testRunner.runUIScript(getUIScript(), function(result) {
+ dumpTiles('after-layers');
+ if (window.testRunner)
+ testRunner.notifyDone();
+ });
+ }
+ window.addEventListener('load', doTest, false);
+ </script>
+</head>
+<body>
+ <div class="composited box">Tiled box</div>
+
+<pre id="before-layers">Layer tree goes here</pre>
+<pre id="after-layers">Layer tree goes here</pre>
+</body>
+</html>
</ins></span></pre></div>
<a id="trunkLayoutTeststileddrawingtileddrawingscrollpositionpagecacherestorationexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tiled-drawing-scroll-position-page-cache-restoration-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 512, 0 2048 x 2560)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 1, 0 tiles grid 4 x 5)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtileddrawingzoomexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 445 x 445)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingtileddrawingzoomscrolledexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/tiled-drawing-zoom-scrolled-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -18,6 +18,7 @@
</span><span class="cx"> (tile cache coverage 667, 890 540 x 445)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 3, 4 tiles grid 3 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingusetileddrawingexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/use-tiled-drawing-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/use-tiled-drawing-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/use-tiled-drawing-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -16,6 +16,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 1024 x 1024)
</span><span class="cx"> (tile size 512 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 2 x 2)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkLayoutTeststileddrawingvisiblerectcontentinsetexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/tiled-drawing/visible-rect-content-inset-expected.txt (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/tiled-drawing/visible-rect-content-inset-expected.txt        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/LayoutTests/tiled-drawing/visible-rect-content-inset-expected.txt        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -17,6 +17,7 @@
</span><span class="cx"> (tile cache coverage 0, 0 800 x 500)
</span><span class="cx"> (tile size 800 x 512)
</span><span class="cx"> (top left tile 0, 0 tiles grid 1 x 1)
</span><ins>+ (in window 1)
</ins><span class="cx"> )
</span><span class="cx"> )
</span><span class="cx"> )
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Source/WebCore/ChangeLog        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -1,3 +1,47 @@
</span><ins>+2017-02-03 Simon Fraser <simon.fraser@apple.com>
+
+ Correctly set the "inWindow" flag for TileControllers that aren't the page tiles, and clarify "usingTiledBacking" logic
+ https://bugs.webkit.org/show_bug.cgi?id=167774
+
+ Reviewed by Tim Horton.
+
+ RenderLayerBacking had some very confusing "usingTiledCacheLayer" uses.
+
+ Its member variable, m_usingTiledCacheLayer, really meant "m_isMainFrameLayerWithTiledBacking" so make it so.
+ It had a usingTiledBacking(), which returned the same thing, which this patch replaces with isMainFrameLayerWithTiledBacking().
+
+ The fact that usingTiledBacking() was only true for the page tiled layer tripped up
+ RenderLayerCompositor::setIsInWindowForLayerIncludingDescendants(), which would only ever call setIsInWindow()
+ on the page tiled layer. These changes fix that.
+
+ Also make a way for tests to unparent the web view via UIScriptController, and dump out the "in window"
+ status of TileBackings when dumping tile caches.
+
+ Test: tiled-drawing/tiled-backing-in-window.html
+
+ * platform/graphics/TiledBacking.h:
+ * platform/graphics/ca/GraphicsLayerCA.cpp:
+ (WebCore::GraphicsLayerCA::dumpAdditionalProperties):
+ * platform/graphics/ca/TileController.h:
+ * rendering/RenderLayerBacking.cpp:
+ (WebCore::RenderLayerBacking::RenderLayerBacking):
+ (WebCore::computePageTiledBackingCoverage):
+ (WebCore::RenderLayerBacking::adjustTiledBackingCoverage):
+ (WebCore::RenderLayerBacking::setTiledBackingHasMargins):
+ (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
+ (WebCore::RenderLayerBacking::shouldClipCompositedBounds):
+ (WebCore::RenderLayerBacking::updateDescendantClippingLayer):
+ (WebCore::RenderLayerBacking::updateRootLayerConfiguration):
+ (WebCore::RenderLayerBacking::paintsIntoWindow):
+ (WebCore::computeTileCoverage): Deleted.
+ * rendering/RenderLayerBacking.h:
+ * rendering/RenderLayerCompositor.cpp:
+ (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
+ (WebCore::RenderLayerCompositor::rootFixedBackgroundsChanged):
+ (WebCore::RenderLayerCompositor::setIsInWindowForLayerIncludingDescendants):
+ (WebCore::RenderLayerCompositor::supportsFixedRootBackgroundCompositing):
+ (WebCore::RenderLayerCompositor::documentUsesTiledBacking):
+
</ins><span class="cx"> 2017-02-03 Zalan Bujtas <zalan@apple.com>
</span><span class="cx">
</span><span class="cx"> Simple line layout: Bail out from Simple Line Layout when the primary font is insufficient.
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicsTiledBackingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/TiledBacking.h (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/TiledBacking.h        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Source/WebCore/platform/graphics/TiledBacking.h        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -97,6 +97,7 @@
</span><span class="cx"> virtual void prepopulateRect(const FloatRect&) = 0;
</span><span class="cx">
</span><span class="cx"> virtual void setIsInWindow(bool) = 0;
</span><ins>+ virtual bool isInWindow() const = 0;
</ins><span class="cx">
</span><span class="cx"> enum {
</span><span class="cx"> CoverageForVisibleArea = 0,
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaGraphicsLayerCAcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -3506,6 +3506,9 @@
</span><span class="cx"> IntRect gridExtent = tiledBacking()->tileGridExtent();
</span><span class="cx"> writeIndent(textStream, indent + 1);
</span><span class="cx"> textStream << "(top left tile " << gridExtent.x() << ", " << gridExtent.y() << " tiles grid " << gridExtent.width() << " x " << gridExtent.height() << ")\n";
</span><ins>+
+ writeIndent(textStream, indent + 1);
+ textStream << "(in window " << tiledBacking()->isInWindow() << ")\n";
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> if (behavior & LayerTreeAsTextIncludeContentLayers) {
</span></span></pre></div>
<a id="trunkSourceWebCoreplatformgraphicscaTileControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/platform/graphics/ca/TileController.h (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/platform/graphics/ca/TileController.h        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Source/WebCore/platform/graphics/ca/TileController.h        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -136,7 +136,6 @@
</span><span class="cx">
</span><span class="cx"> void scheduleTileRevalidation(double interval);
</span><span class="cx">
</span><del>- bool isInWindow() const { return m_isInWindow; }
</del><span class="cx"> float topContentInset() const { return m_topContentInset; }
</span><span class="cx">
</span><span class="cx"> // TiledBacking member functions.
</span><span class="lines">@@ -150,6 +149,7 @@
</span><span class="cx"> void setScrollability(Scrollability) override;
</span><span class="cx"> void prepopulateRect(const FloatRect&) override;
</span><span class="cx"> void setIsInWindow(bool) override;
</span><ins>+ bool isInWindow() const override { return m_isInWindow; }
</ins><span class="cx"> void setTileCoverage(TileCoverage) override;
</span><span class="cx"> void revalidateTiles() override;
</span><span class="cx"> void forceRepaint() override;
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayerBackingcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayerBacking.cpp (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayerBacking.cpp        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Source/WebCore/rendering/RenderLayerBacking.cpp        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -93,35 +93,22 @@
</span><span class="cx">
</span><span class="cx"> RenderLayerBacking::RenderLayerBacking(RenderLayer& layer)
</span><span class="cx"> : m_owningLayer(layer)
</span><del>- , m_viewportConstrainedNodeID(0)
- , m_scrollingNodeID(0)
- , m_artificiallyInflatedBounds(false)
- , m_isMainFrameRenderViewLayer(false)
- , m_usingTiledCacheLayer(false)
- , m_requiresOwnBackingStore(true)
- , m_canCompositeFilters(false)
-#if ENABLE(FILTERS_LEVEL_2)
- , m_canCompositeBackdropFilters(false)
-#endif
- , m_backgroundLayerPaintsFixedRootBackground(false)
</del><span class="cx"> {
</span><span class="cx"> if (layer.isRootLayer()) {
</span><span class="cx"> m_isMainFrameRenderViewLayer = renderer().frame().isMainFrame();
</span><del>- m_usingTiledCacheLayer = renderer().page().chrome().client().shouldUseTiledBackingForFrameView(renderer().view().frameView());
</del><ins>+ m_isMainFrameLayerWithTiledBacking = renderer().page().chrome().client().shouldUseTiledBackingForFrameView(renderer().view().frameView());
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> createPrimaryGraphicsLayer();
</span><span class="cx">
</span><del>- if (m_usingTiledCacheLayer) {
- TiledBacking* tiledBacking = this->tiledBacking();
-
</del><ins>+ if (TiledBacking* tiledBacking = this->tiledBacking()) {
</ins><span class="cx"> tiledBacking->setIsInWindow(renderer().page().isInWindow());
</span><span class="cx">
</span><del>- if (m_isMainFrameRenderViewLayer)
</del><ins>+ if (m_isMainFrameLayerWithTiledBacking) {
</ins><span class="cx"> tiledBacking->setUnparentsOffscreenTiles(true);
</span><del>-
- tiledBacking->setScrollingPerformanceLoggingEnabled(renderer().settings().scrollingPerformanceLoggingEnabled());
- adjustTiledBackingCoverage();
</del><ins>+ tiledBacking->setScrollingPerformanceLoggingEnabled(renderer().settings().scrollingPerformanceLoggingEnabled());
+ adjustTiledBackingCoverage();
+ }
</ins><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -197,7 +184,7 @@
</span><span class="cx"> return m_graphicsLayer->tiledBacking();
</span><span class="cx"> }
</span><span class="cx">
</span><del>-static TiledBacking::TileCoverage computeTileCoverage(RenderLayerBacking* backing)
</del><ins>+static TiledBacking::TileCoverage computePageTiledBackingCoverage(RenderLayerBacking* backing)
</ins><span class="cx"> {
</span><span class="cx"> // FIXME: When we use TiledBacking for overflow, this should look at RenderView scrollability.
</span><span class="cx"> FrameView& frameView = backing->owningLayer().renderer().view().frameView();
</span><span class="lines">@@ -217,16 +204,16 @@
</span><span class="cx">
</span><span class="cx"> void RenderLayerBacking::adjustTiledBackingCoverage()
</span><span class="cx"> {
</span><del>- if (!m_usingTiledCacheLayer)
</del><ins>+ if (!m_isMainFrameLayerWithTiledBacking)
</ins><span class="cx"> return;
</span><span class="cx">
</span><del>- TiledBacking::TileCoverage tileCoverage = computeTileCoverage(this);
</del><ins>+ TiledBacking::TileCoverage tileCoverage = computePageTiledBackingCoverage(this);
</ins><span class="cx"> tiledBacking()->setTileCoverage(tileCoverage);
</span><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> void RenderLayerBacking::setTiledBackingHasMargins(bool hasExtendedBackgroundOnLeftAndRight, bool hasExtendedBackgroundOnTopAndBottom)
</span><span class="cx"> {
</span><del>- if (!m_usingTiledCacheLayer)
</del><ins>+ if (!m_isMainFrameLayerWithTiledBacking)
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> tiledBacking()->setHasMargins(hasExtendedBackgroundOnTopAndBottom, hasExtendedBackgroundOnTopAndBottom, hasExtendedBackgroundOnLeftAndRight, hasExtendedBackgroundOnLeftAndRight);
</span><span class="lines">@@ -284,10 +271,10 @@
</span><span class="cx"> layerName.truncate(maxLayerNameLength);
</span><span class="cx"> layerName.append("...");
</span><span class="cx"> }
</span><del>- m_graphicsLayer = createGraphicsLayer(layerName, m_usingTiledCacheLayer ? GraphicsLayer::Type::PageTiledBacking : GraphicsLayer::Type::Normal);
</del><ins>+ m_graphicsLayer = createGraphicsLayer(layerName, m_isMainFrameLayerWithTiledBacking ? GraphicsLayer::Type::PageTiledBacking : GraphicsLayer::Type::Normal);
</ins><span class="cx">
</span><del>- if (m_usingTiledCacheLayer) {
- m_childContainmentLayer = createGraphicsLayer("TiledBacking containment");
</del><ins>+ if (m_isMainFrameLayerWithTiledBacking) {
+ m_childContainmentLayer = createGraphicsLayer("Page TiledBacking containment");
</ins><span class="cx"> m_graphicsLayer->addChild(m_childContainmentLayer.get());
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -468,7 +455,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>- if (m_usingTiledCacheLayer)
</del><ins>+ if (m_isMainFrameLayerWithTiledBacking)
</ins><span class="cx"> return false;
</span><span class="cx">
</span><span class="cx"> if (layerOrAncestorIsTransformedOrUsingCompositedScrolling(m_owningLayer))
</span><span class="lines">@@ -1327,7 +1314,7 @@
</span><span class="cx"> bool layersChanged = false;
</span><span class="cx">
</span><span class="cx"> if (needsDescendantClip) {
</span><del>- if (!m_childContainmentLayer && !m_usingTiledCacheLayer) {
</del><ins>+ if (!m_childContainmentLayer && !m_isMainFrameLayerWithTiledBacking) {
</ins><span class="cx"> m_childContainmentLayer = createGraphicsLayer("child clipping");
</span><span class="cx"> m_childContainmentLayer->setMasksToBounds(true);
</span><span class="cx"> layersChanged = true;
</span><span class="lines">@@ -1828,7 +1815,7 @@
</span><span class="cx">
</span><span class="cx"> void RenderLayerBacking::updateRootLayerConfiguration()
</span><span class="cx"> {
</span><del>- if (!m_usingTiledCacheLayer)
</del><ins>+ if (!m_isMainFrameLayerWithTiledBacking)
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> Color backgroundColor;
</span><span class="lines">@@ -2216,7 +2203,7 @@
</span><span class="cx"> return false;
</span><span class="cx"> #endif
</span><span class="cx">
</span><del>- if (m_usingTiledCacheLayer)
</del><ins>+ if (m_isMainFrameLayerWithTiledBacking)
</ins><span class="cx"> return false;
</span><span class="cx">
</span><span class="cx"> if (m_owningLayer.isRootLayer()) {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayerBackingh"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayerBacking.h (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayerBacking.h        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Source/WebCore/rendering/RenderLayerBacking.h        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -87,8 +87,8 @@
</span><span class="cx"> GraphicsLayer* graphicsLayer() const { return m_graphicsLayer.get(); }
</span><span class="cx">
</span><span class="cx"> // Layer to clip children
</span><del>- bool hasClippingLayer() const { return (m_childContainmentLayer && !m_usingTiledCacheLayer); }
- GraphicsLayer* clippingLayer() const { return !m_usingTiledCacheLayer ? m_childContainmentLayer.get() : nullptr; }
</del><ins>+ bool hasClippingLayer() const { return (m_childContainmentLayer && !m_isMainFrameLayerWithTiledBacking); }
+ GraphicsLayer* clippingLayer() const { return !m_isMainFrameLayerWithTiledBacking ? m_childContainmentLayer.get() : nullptr; }
</ins><span class="cx">
</span><span class="cx"> // Layer to get clipped by ancestor
</span><span class="cx"> bool hasAncestorClippingLayer() const { return m_ancestorClippingLayer != nullptr; }
</span><span class="lines">@@ -181,7 +181,8 @@
</span><span class="cx"> void positionOverflowControlsLayers();
</span><span class="cx"> bool hasUnpositionedOverflowControlsLayers() const;
</span><span class="cx">
</span><del>- bool usingTiledBacking() const { return m_usingTiledCacheLayer; }
</del><ins>+ bool isMainFrameLayerWithTiledBacking() const { return m_isMainFrameLayerWithTiledBacking; }
+
</ins><span class="cx"> WEBCORE_EXPORT TiledBacking* tiledBacking() const;
</span><span class="cx"> void adjustTiledBackingCoverage();
</span><span class="cx"> void setTiledBackingHasMargins(bool hasExtendedBackgroundOnLeftAndRight, bool hasExtendedBackgroundOnTopAndBottom);
</span><span class="lines">@@ -330,8 +331,8 @@
</span><span class="cx">
</span><span class="cx"> bool shouldClipCompositedBounds() const;
</span><span class="cx">
</span><del>- bool hasTiledBackingFlatteningLayer() const { return (m_childContainmentLayer && m_usingTiledCacheLayer); }
- GraphicsLayer* tileCacheFlatteningLayer() const { return m_usingTiledCacheLayer ? m_childContainmentLayer.get() : nullptr; }
</del><ins>+ bool hasTiledBackingFlatteningLayer() const { return (m_childContainmentLayer && m_isMainFrameLayerWithTiledBacking); }
+ GraphicsLayer* tileCacheFlatteningLayer() const { return m_isMainFrameLayerWithTiledBacking ? m_childContainmentLayer.get() : nullptr; }
</ins><span class="cx">
</span><span class="cx"> void paintIntoLayer(const GraphicsLayer*, GraphicsContext&, const IntRect& paintDirtyRect, PaintBehavior, GraphicsLayerPaintingPhase);
</span><span class="cx">
</span><span class="lines">@@ -363,22 +364,22 @@
</span><span class="cx"> std::unique_ptr<GraphicsLayer> m_scrollingLayer; // Only used if the layer is using composited scrolling.
</span><span class="cx"> std::unique_ptr<GraphicsLayer> m_scrollingContentsLayer; // Only used if the layer is using composited scrolling.
</span><span class="cx">
</span><del>- ScrollingNodeID m_viewportConstrainedNodeID;
- ScrollingNodeID m_scrollingNodeID;
-
</del><span class="cx"> LayoutRect m_compositedBounds;
</span><span class="cx"> LayoutSize m_subpixelOffsetFromRenderer; // This is the subpixel distance between the primary graphics layer and the associated renderer's bounds.
</span><span class="cx"> LayoutSize m_compositedBoundsOffsetFromGraphicsLayer; // This is the subpixel distance between the primary graphics layer and the render layer bounds.
</span><span class="cx">
</span><del>- bool m_artificiallyInflatedBounds; // bounds had to be made non-zero to make transform-origin work
- bool m_isMainFrameRenderViewLayer;
- bool m_usingTiledCacheLayer;
- bool m_requiresOwnBackingStore;
- bool m_canCompositeFilters;
</del><ins>+ ScrollingNodeID m_viewportConstrainedNodeID { 0 };
+ ScrollingNodeID m_scrollingNodeID { 0 };
+
+ bool m_artificiallyInflatedBounds { false }; // bounds had to be made non-zero to make transform-origin work
+ bool m_isMainFrameRenderViewLayer { false };
+ bool m_isMainFrameLayerWithTiledBacking { false };
+ bool m_requiresOwnBackingStore { true };
+ bool m_canCompositeFilters { false };
</ins><span class="cx"> #if ENABLE(FILTERS_LEVEL_2)
</span><del>- bool m_canCompositeBackdropFilters;
</del><ins>+ bool m_canCompositeBackdropFilters { false };
</ins><span class="cx"> #endif
</span><del>- bool m_backgroundLayerPaintsFixedRootBackground;
</del><ins>+ bool m_backgroundLayerPaintsFixedRootBackground { false };
</ins><span class="cx"> };
</span><span class="cx">
</span><span class="cx"> enum CanvasCompositingStrategy {
</span></span></pre></div>
<a id="trunkSourceWebCorerenderingRenderLayerCompositorcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Source/WebCore/rendering/RenderLayerCompositor.cpp        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -440,7 +440,7 @@
</span><span class="cx"> if (GraphicsLayer* rootLayer = rootGraphicsLayer()) {
</span><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> FloatRect exposedRect = frameView.exposedContentRect();
</span><del>- LOG_WITH_STREAM(Compositing, stream << "RenderLayerCompositor " << this << " flushPendingLayerChanges (root " << isFlushRoot << ") exposedRect " << exposedRect);
</del><ins>+ LOG_WITH_STREAM(Compositing, stream << "\nRenderLayerCompositor " << this << " flushPendingLayerChanges (root " << isFlushRoot << ") exposedRect " << exposedRect);
</ins><span class="cx"> rootLayer->flushCompositingState(exposedRect);
</span><span class="cx"> #else
</span><span class="cx"> // Having a m_clipLayer indicates that we're doing scrolling via GraphicsLayers.
</span><span class="lines">@@ -449,8 +449,9 @@
</span><span class="cx"> if (frameView.viewExposedRect())
</span><span class="cx"> visibleRect.intersect(frameView.viewExposedRect().value());
</span><span class="cx">
</span><del>- LOG_WITH_STREAM(Compositing, stream << "RenderLayerCompositor " << this << " flushPendingLayerChanges(" << isFlushRoot << ") " << visibleRect);
</del><ins>+ LOG_WITH_STREAM(Compositing, stream << "\nRenderLayerCompositor " << this << " flushPendingLayerChanges(" << isFlushRoot << ") " << visibleRect);
</ins><span class="cx"> rootLayer->flushCompositingState(visibleRect);
</span><ins>+ LOG_WITH_STREAM(Compositing, stream << "RenderLayerCompositor " << this << " flush complete\n");
</ins><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -1759,7 +1760,7 @@
</span><span class="cx"> void RenderLayerCompositor::rootFixedBackgroundsChanged()
</span><span class="cx"> {
</span><span class="cx"> RenderLayerBacking* renderViewBacking = m_renderView.layer()->backing();
</span><del>- if (renderViewBacking && renderViewBacking->usingTiledBacking())
</del><ins>+ if (renderViewBacking && renderViewBacking->isMainFrameLayerWithTiledBacking())
</ins><span class="cx"> setCompositingLayersNeedRebuild();
</span><span class="cx"> }
</span><span class="cx">
</span><span class="lines">@@ -2028,11 +2029,13 @@
</span><span class="cx">
</span><span class="cx"> void RenderLayerCompositor::setIsInWindowForLayerIncludingDescendants(RenderLayer& layer, bool isInWindow)
</span><span class="cx"> {
</span><del>- if (layer.isComposited() && layer.backing()->usingTiledBacking())
- layer.backing()->tiledBacking()->setIsInWindow(isInWindow);
</del><ins>+ if (layer.isComposited()) {
+ if (auto* backing = layer.backing()->tiledBacking())
+ backing->setIsInWindow(isInWindow);
+ }
</ins><span class="cx">
</span><span class="cx"> // No need to recurse if we don't have any other tiled layers.
</span><del>- if (hasNonMainLayersWithTiledBacking())
</del><ins>+ if (!hasNonMainLayersWithTiledBacking())
</ins><span class="cx"> return;
</span><span class="cx">
</span><span class="cx"> for (RenderLayer* childLayer = layer.firstChild(); childLayer; childLayer = childLayer->nextSibling())
</span><span class="lines">@@ -2842,7 +2845,7 @@
</span><span class="cx"> bool RenderLayerCompositor::supportsFixedRootBackgroundCompositing() const
</span><span class="cx"> {
</span><span class="cx"> RenderLayerBacking* renderViewBacking = m_renderView.layer()->backing();
</span><del>- return renderViewBacking && renderViewBacking->usingTiledBacking();
</del><ins>+ return renderViewBacking && renderViewBacking->isMainFrameLayerWithTiledBacking();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool RenderLayerCompositor::needsFixedRootBackgroundLayer(const RenderLayer& layer) const
</span><span class="lines">@@ -2947,7 +2950,7 @@
</span><span class="cx"> if (!backing)
</span><span class="cx"> return false;
</span><span class="cx">
</span><del>- return backing->usingTiledBacking();
</del><ins>+ return backing->isMainFrameLayerWithTiledBacking();
</ins><span class="cx"> }
</span><span class="cx">
</span><span class="cx"> bool RenderLayerCompositor::isMainFrameCompositor() const
</span></span></pre></div>
<a id="trunkToolsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Tools/ChangeLog (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/ChangeLog        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/ChangeLog        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -1,3 +1,45 @@
</span><ins>+2017-02-03 Simon Fraser <simon.fraser@apple.com>
+
+ Correctly set the "inWindow" flag for TileControllers that aren't the page tiles, and clarify "usingTiledBacking" logic
+ https://bugs.webkit.org/show_bug.cgi?id=167774
+
+ Reviewed by Tim Horton.
+
+ Implement UIScriptController removeViewFromWindow() and addViewToWindow(), and hook
+ up for Mac WK1 and WK2, and iOS WK2. It takes a callback because view state updates to the
+ web process are async, so the callback fires after the web process gets the new state.
+
+ * DumpRenderTree/ios/UIScriptControllerIOS.mm:
+ (WTR::UIScriptController::removeViewFromWindow):
+ (WTR::UIScriptController::addViewToWindow):
+ * DumpRenderTree/mac/DumpRenderTree.mm:
+ (createWebViewAndOffscreenWindow):
+ (resetWebViewToConsistentStateBeforeTesting):
+ * DumpRenderTree/mac/DumpRenderTreeMac.h:
+ * DumpRenderTree/mac/UIScriptControllerMac.mm:
+ (WTR::UIScriptController::removeViewFromWindow):
+ (WTR::UIScriptController::addViewToWindow):
+ * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl:
+ * TestRunnerShared/UIScriptContext/UIScriptController.cpp:
+ (WTR::UIScriptController::removeViewFromWindow):
+ (WTR::UIScriptController::addViewToWindow):
+ * TestRunnerShared/UIScriptContext/UIScriptController.h:
+ * WebKitTestRunner/PlatformWebView.h:
+ * WebKitTestRunner/TestController.cpp:
+ (WTR::TestController::resetStateToConsistentValues):
+ * WebKitTestRunner/ios/PlatformWebViewIOS.mm:
+ (WTR::PlatformWebView::removeFromWindow):
+ (WTR::PlatformWebView::addToWindow):
+ * WebKitTestRunner/ios/UIScriptControllerIOS.mm:
+ (WTR::UIScriptController::removeViewFromWindow):
+ (WTR::UIScriptController::addViewToWindow):
+ * WebKitTestRunner/mac/PlatformWebViewMac.mm:
+ (WTR::PlatformWebView::removeFromWindow):
+ (WTR::PlatformWebView::addToWindow):
+ * WebKitTestRunner/mac/UIScriptControllerMac.mm:
+ (WTR::UIScriptController::removeViewFromWindow):
+ (WTR::UIScriptController::addViewToWindow):
+
</ins><span class="cx"> 2017-02-03 Alexey Proskuryakov <ap@apple.com>
</span><span class="cx">
</span><span class="cx"> Remove check for SkipSafariExecutableEntitlementChecks
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreeiosUIScriptControllerIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/ios/UIScriptControllerIOS.mm (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/ios/UIScriptControllerIOS.mm        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/DumpRenderTree/ios/UIScriptControllerIOS.mm        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -298,6 +298,14 @@
</span><span class="cx"> return nullptr;
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::removeViewFromWindow(JSValueRef)
+{
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::addViewToWindow(JSValueRef)
+{
+}
+
+}
+
</ins><span class="cx"> #endif // PLATFORM(IOS)
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacDumpRenderTreemm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -179,13 +179,16 @@
</span><span class="cx"> NavigationController* gNavigationController = nullptr;
</span><span class="cx"> RefPtr<TestRunner> gTestRunner;
</span><span class="cx">
</span><del>-WebFrame *mainFrame = nullptr;
</del><ins>+WebFrame *mainFrame = nil;
</ins><span class="cx"> // This is the topmost frame that is loading, during a given load, or nil when no load is
</span><span class="cx"> // in progress. Usually this is the same as the main frame, but not always. In the case
</span><span class="cx"> // where a frameset is loaded, and then new content is loaded into one of the child frames,
</span><span class="cx"> // that child frame is the "topmost frame that is loading".
</span><del>-WebFrame *topLoadingFrame = nullptr; // !nil iff a load is in progress
</del><ins>+WebFrame *topLoadingFrame = nil; // !nil iff a load is in progress
</ins><span class="cx">
</span><ins>+#if PLATFORM(MAC)
+NSWindow *mainWindow = nil;
+#endif
</ins><span class="cx">
</span><span class="cx"> CFMutableSetRef disallowedURLs= nullptr;
</span><span class="cx"> static CFRunLoopTimerRef waitToDumpWatchdog;
</span><span class="lines">@@ -798,6 +801,7 @@
</span><span class="cx"> NSScreen *firstScreen = [[NSScreen screens] firstObject];
</span><span class="cx"> NSRect windowRect = (showWebView) ? NSOffsetRect(rect, 100, 100) : NSOffsetRect(rect, -10000, [firstScreen frame].size.height - rect.size.height + 10000);
</span><span class="cx"> DumpRenderTreeWindow *window = [[DumpRenderTreeWindow alloc] initWithContentRect:windowRect styleMask:NSBorderlessWindowMask backing:NSBackingStoreBuffered defer:YES];
</span><ins>+ mainWindow = window;
</ins><span class="cx">
</span><span class="cx"> [window setColorSpace:[firstScreen colorSpace]];
</span><span class="cx"> [window setCollectionBehavior:NSWindowCollectionBehaviorStationary];
</span><span class="lines">@@ -1841,6 +1845,12 @@
</span><span class="cx"> static void resetWebViewToConsistentStateBeforeTesting(const TestOptions& options)
</span><span class="cx"> {
</span><span class="cx"> WebView *webView = [mainFrame webView];
</span><ins>+
+#if PLATFORM(MAC)
+ if (![webView superview])
+ [[mainWindow contentView] addSubview:webView];
+#endif
+
</ins><span class="cx"> #if PLATFORM(IOS)
</span><span class="cx"> adjustWebDocumentForStandardViewport(gWebBrowserView, gWebScrollView);
</span><span class="cx"> [webView _setAllowsMessaging:YES];
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacDumpRenderTreeMach"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/DumpRenderTreeMac.h (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/DumpRenderTreeMac.h        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/DumpRenderTree/mac/DumpRenderTreeMac.h        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -48,6 +48,14 @@
</span><span class="cx"> extern PolicyDelegate* policyDelegate;
</span><span class="cx"> extern DefaultPolicyDelegate *defaultPolicyDelegate;
</span><span class="cx">
</span><ins>+#if PLATFORM(IOS)
+OBJC_CLASS UIWindow;
+extern UIWindow *mainWindow;
+#else
+OBJC_CLASS NSWindow;
+extern NSWindow *mainWindow;
+#endif
+
</ins><span class="cx"> void setWaitToDumpWatchdog(CFRunLoopTimerRef);
</span><span class="cx"> bool shouldSetWaitToDumpWatchdog();
</span><span class="cx">
</span></span></pre></div>
<a id="trunkToolsDumpRenderTreemacUIScriptControllerMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/DumpRenderTree/mac/UIScriptControllerMac.mm (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/DumpRenderTree/mac/UIScriptControllerMac.mm        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/DumpRenderTree/mac/UIScriptControllerMac.mm        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -70,7 +70,7 @@
</span><span class="cx"> WebView *webView = [mainFrame webView];
</span><span class="cx"> [webView _scaleWebView:scale atOrigin:NSZeroPoint];
</span><span class="cx">
</span><del>- dispatch_async(dispatch_get_main_queue(), ^ {
</del><ins>+ dispatch_async(dispatch_get_main_queue(), ^{
</ins><span class="cx"> if (!m_context)
</span><span class="cx"> return;
</span><span class="cx"> m_context->asyncTaskComplete(callbackID);
</span><span class="lines">@@ -94,6 +94,34 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::removeViewFromWindow(JSValueRef callback)
+{
+ unsigned callbackID = m_context->prepareForAsyncTask(callback, CallbackTypeNonPersistent);
+
+ WebView *webView = [mainFrame webView];
+ [webView removeFromSuperview];
+
+ dispatch_async(dispatch_get_main_queue(), ^{
+ if (!m_context)
+ return;
+ m_context->asyncTaskComplete(callbackID);
+ });
</ins><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::addViewToWindow(JSValueRef callback)
+{
+ unsigned callbackID = m_context->prepareForAsyncTask(callback, CallbackTypeNonPersistent);
+
+ WebView *webView = [mainFrame webView];
+ [[mainWindow contentView] addSubview:webView];
+
+ dispatch_async(dispatch_get_main_queue(), ^{
+ if (!m_context)
+ return;
+ m_context->asyncTaskComplete(callbackID);
+ });
+}
+
+}
+
</ins><span class="cx"> #endif // PLATFORM(MAC)
</span></span></pre></div>
<a id="trunkToolsTestRunnerSharedUIScriptContextBindingsUIScriptControlleridl"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -26,6 +26,8 @@
</span><span class="cx"> interface UIScriptController {
</span><span class="cx">
</span><span class="cx"> void doAsyncTask(object callback); // Used to test the harness.
</span><ins>+ void uiScriptComplete(DOMString result);
+
</ins><span class="cx"> void doAfterPresentationUpdate(object callback); // Call the callback after sending a message to the WebProcess and receiving a subsequent update.
</span><span class="cx"> void doAfterNextStablePresentationUpdate(object callback);
</span><span class="cx">
</span><span class="lines">@@ -213,8 +215,11 @@
</span><span class="cx">
</span><span class="cx"> readonly attribute DOMString scrollingTreeAsText;
</span><span class="cx">
</span><del>- void uiScriptComplete(DOMString result);
-
</del><span class="cx"> void retrieveSpeakSelectionContent(object callback);
</span><span class="cx"> readonly attribute DOMString accessibilitySpeakSelectionContent;
</span><ins>+
+ // Unparent and parent the web view, simulating, for example, tab switching.
+ void removeViewFromWindow(object callback);
+ void addViewToWindow(object callback);
+
</ins><span class="cx"> };
</span></span></pre></div>
<a id="trunkToolsTestRunnerSharedUIScriptContextUIScriptControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.cpp        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -387,6 +387,18 @@
</span><span class="cx">
</span><span class="cx"> #endif
</span><span class="cx">
</span><ins>+#if !PLATFORM(COCOA)
+
+void UIScriptController::removeViewFromWindow(JSValueRef)
+{
+}
+
+void UIScriptController::addViewToWindow(JSValueRef)
+{
+}
+
+#endif // !PLATFORM(COCOA)
+
</ins><span class="cx"> #if !PLATFORM(MAC)
</span><span class="cx">
</span><span class="cx"> void UIScriptController::insertText(JSStringRef, int, int)
</span></span></pre></div>
<a id="trunkToolsTestRunnerSharedUIScriptContextUIScriptControllerh"></a>
<div class="modfile"><h4>Modified: trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.h (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.h        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/TestRunnerShared/UIScriptContext/UIScriptController.h        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -140,9 +140,13 @@
</span><span class="cx">
</span><span class="cx"> void uiScriptComplete(JSStringRef result);
</span><span class="cx">
</span><del>- void retrieveSpeakSelectionContent(JSValueRef callback);
</del><ins>+ void retrieveSpeakSelectionContent(JSValueRef);
</ins><span class="cx"> JSRetainPtr<JSStringRef> accessibilitySpeakSelectionContent() const;
</span><span class="cx">
</span><ins>+ // These use a callback to allow the client to know when view visibility state updates get to the web process.
+ void removeViewFromWindow(JSValueRef);
+ void addViewToWindow(JSValueRef);
+
</ins><span class="cx"> private:
</span><span class="cx"> UIScriptController(UIScriptContext&);
</span><span class="cx">
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerPlatformWebViewh"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/PlatformWebView.h (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/PlatformWebView.h        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/PlatformWebView.h        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -86,6 +86,9 @@
</span><span class="cx"> void makeWebViewFirstResponder();
</span><span class="cx"> void setWindowIsKey(bool);
</span><span class="cx"> bool windowIsKey() const { return m_windowIsKey; }
</span><ins>+
+ void removeFromWindow();
+ void addToWindow();
</ins><span class="cx">
</span><span class="cx"> bool viewSupportsOptions(const TestOptions&) const;
</span><span class="cx">
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnerTestControllercpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/TestController.cpp (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/TestController.cpp        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/TestController.cpp        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -753,6 +753,9 @@
</span><span class="cx"> WKTextCheckerContinuousSpellCheckingEnabledStateChanged(true);
</span><span class="cx"> #endif
</span><span class="cx">
</span><ins>+ // Make sure the view is in the window (a test can unparent it).
+ m_mainWebView->addToWindow();
+
</ins><span class="cx"> // In the case that a test using the chrome input field failed, be sure to clean up for the next test.
</span><span class="cx"> m_mainWebView->removeChromeInputField();
</span><span class="cx"> m_mainWebView->focus();
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnereflPlatformWebViewEflcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/efl/PlatformWebViewEfl.cpp        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -129,6 +129,14 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void PlatformWebView::addToWindow()
+{
+}
+
+void PlatformWebView::removeFromWindow()
+{
+}
+
</ins><span class="cx"> void PlatformWebView::makeWebViewFirstResponder()
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnergtkPlatformWebViewGtkcpp"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/gtk/PlatformWebViewGtk.cpp        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -116,6 +116,14 @@
</span><span class="cx"> {
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void PlatformWebView::addToWindow()
+{
+}
+
+void PlatformWebView::removeFromWindow()
+{
+}
+
</ins><span class="cx"> void PlatformWebView::makeWebViewFirstResponder()
</span><span class="cx"> {
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunneriosPlatformWebViewIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/ios/PlatformWebViewIOS.mm        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -166,6 +166,16 @@
</span><span class="cx"> [m_window makeKeyWindow];
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void PlatformWebView::addToWindow()
+{
+ [m_window.rootViewController.view addSubview:m_view];
+}
+
+void PlatformWebView::removeFromWindow()
+{
+ [m_view removeFromSuperview];
+}
+
</ins><span class="cx"> void PlatformWebView::resizeTo(unsigned width, unsigned height, WebViewSizingMode viewSizingMode)
</span><span class="cx"> {
</span><span class="cx"> WKRect frame = windowFrame();
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunneriosUIScriptControllerIOSmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -536,6 +536,16 @@
</span><span class="cx"> return JSStringCreateWithCFString((CFStringRef)[webView _scrollingTreeAsText]);
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::removeViewFromWindow(JSValueRef callback)
+{
+ TestController::singleton().mainWebView()->removeFromWindow();
+}
+
+void UIScriptController::addViewToWindow(JSValueRef callback)
+{
+ TestController::singleton().mainWebView()->addToWindow();
+}
+
</ins><span class="cx"> void UIScriptController::platformSetDidStartFormControlInteractionCallback()
</span><span class="cx"> {
</span><span class="cx"> TestRunnerWKWebView *webView = TestController::singleton().mainWebView()->platformView();
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnermacPlatformWebViewMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/mac/PlatformWebViewMac.mm        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -252,6 +252,16 @@
</span><span class="cx"> }
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void PlatformWebView::addToWindow()
+{
+ [[m_window contentView] addSubview:m_view];
+}
+
+void PlatformWebView::removeFromWindow()
+{
+ [m_view removeFromSuperview];
+}
+
</ins><span class="cx"> void PlatformWebView::makeWebViewFirstResponder()
</span><span class="cx"> {
</span><span class="cx"> [m_window makeFirstResponder:platformView()];
</span></span></pre></div>
<a id="trunkToolsWebKitTestRunnermacUIScriptControllerMacmm"></a>
<div class="modfile"><h4>Modified: trunk/Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm (211661 => 211662)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm        2017-02-04 01:42:12 UTC (rev 211661)
+++ trunk/Tools/WebKitTestRunner/mac/UIScriptControllerMac.mm        2017-02-04 01:53:38 UTC (rev 211662)
</span><span class="lines">@@ -131,4 +131,40 @@
</span><span class="cx"> #endif
</span><span class="cx"> }
</span><span class="cx">
</span><ins>+void UIScriptController::removeViewFromWindow(JSValueRef callback)
+{
+#if WK_API_ENABLED
+ unsigned callbackID = m_context->prepareForAsyncTask(callback, CallbackTypeNonPersistent);
+
+ auto* mainWebView = TestController::singleton().mainWebView();
+ mainWebView->removeFromWindow();
+
+ [mainWebView->platformView() _doAfterNextPresentationUpdate: ^ {
+ if (!m_context)
+ return;
+ m_context->asyncTaskComplete(callbackID);
+ }];
+#else
+ UNUSED_PARAM(callback);
+#endif
+}
+
+void UIScriptController::addViewToWindow(JSValueRef callback)
+{
+#if WK_API_ENABLED
+ unsigned callbackID = m_context->prepareForAsyncTask(callback, CallbackTypeNonPersistent);
+
+ auto* mainWebView = TestController::singleton().mainWebView();
+ mainWebView->addToWindow();
+
+ [mainWebView->platformView() _doAfterNextPresentationUpdate: ^ {
+ if (!m_context)
+ return;
+ m_context->asyncTaskComplete(callbackID);
+ }];
+#else
+ UNUSED_PARAM(callback);
+#endif
+}
+
</ins><span class="cx"> } // namespace WTR
</span></span></pre>
</div>
</div>
</body>
</html>