<!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>[213566] 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/213566">213566</a></dd>
<dt>Author</dt> <dd>simon.fraser@apple.com</dd>
<dt>Date</dt> <dd>2017-03-07 21:46:52 -0800 (Tue, 07 Mar 2017)</dd>
</dl>

<h3>Log Message</h3>
<pre>Have fixedPositionCreatesStackingContext be on by default everywhere
https://bugs.webkit.org/show_bug.cgi?id=169334

Reviewed by Zalan Bujtas.

It makes no sense to have web-exposed CSS functionality be different based on setting,
and other browser are now aligned with having position:fixed create stacking context.

So remove the fixedPositionCreatesStackingContext setting and have StyleResolver::adjustRenderStyle()
always force stacking context for position:fixed.

Source/WebCore:

* css/StyleResolver.cpp:
(WebCore::StyleResolver::adjustRenderStyle):
* page/Settings.cpp:
* page/Settings.in:

Source/WebKit/mac:

* WebView/WebView.mm:
(-[WebView _preferencesChanged:]):

Source/WebKit2:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::setUseFixedLayout):
* WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
(WebKit::RemoteLayerTreeDrawingArea::updatePreferences):
* WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
(WebKit::TiledCoreAnimationDrawingArea::updatePreferences):

LayoutTests:

* compositing/absolute-inside-out-of-view-fixed.html:
* compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html:
* compositing/layer-creation/fixed-overlap-extent-rtl.html:
* compositing/layer-creation/fixed-overlap-extent.html:
* compositing/layer-creation/fixed-position-change-out-of-view-in-view.html:
* compositing/layer-creation/fixed-position-in-view-dynamic.html:
* compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
* compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-scroll.html:
* compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html:
* compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html:
* compositing/layer-creation/fixed-position-out-of-view-scaled.html:
* compositing/layer-creation/fixed-position-transformed-into-view.html:
* compositing/layer-creation/fixed-position-transformed-outside-view.html:
* compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
* compositing/repaint/scroll-fixed-layer-no-content.html:
* compositing/repaint/scroll-fixed-layer-out-of-view.html:
* fast/block/positioning/fixed-position-stacking-context2.html:
* fullscreen/full-screen-fixed-pos-parent.html:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestscompositingabsoluteinsideoutofviewfixedhtml">trunk/LayoutTests/compositing/absolute-inside-out-of-view-fixed.html</a></li>
<li><a href="#trunkLayoutTestscompositinggeometryfixedpositioncompositedpagescalesmallerthanviewporthtml">trunk/LayoutTests/compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedoverlapextentrtlhtml">trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent-rtl.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedoverlapextenthtml">trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionchangeoutofviewinviewhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositioninviewdynamichtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionoutofviewdynamichtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscalediframescrollhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-scroll.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscalediframehtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscaledscrollhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscaledhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositiontransformedintoviewhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-into-view.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationfixedpositiontransformedoutsideviewhtml">trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-outside-view.html</a></li>
<li><a href="#trunkLayoutTestscompositinglayercreationnocompositingforfixedpositionundertransformhtml">trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html</a></li>
<li><a href="#trunkLayoutTestscompositingrepaintscrollfixedlayernocontenthtml">trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html</a></li>
<li><a href="#trunkLayoutTestscompositingrepaintscrollfixedlayeroutofviewhtml">trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html</a></li>
<li><a href="#trunkLayoutTestsfastblockpositioningfixedpositionstackingcontext2html">trunk/LayoutTests/fast/block/positioning/fixed-position-stacking-context2.html</a></li>
<li><a href="#trunkLayoutTestsfullscreenfullscreenfixedposparenthtml">trunk/LayoutTests/fullscreen/full-screen-fixed-pos-parent.html</a></li>
<li><a href="#trunkSourceWebCoreChangeLog">trunk/Source/WebCore/ChangeLog</a></li>
<li><a href="#trunkSourceWebCorecssStyleResolvercpp">trunk/Source/WebCore/css/StyleResolver.cpp</a></li>
<li><a href="#trunkSourceWebCorepageSettingscpp">trunk/Source/WebCore/page/Settings.cpp</a></li>
<li><a href="#trunkSourceWebCorepageSettingsin">trunk/Source/WebCore/page/Settings.in</a></li>
<li><a href="#trunkSourceWebKitmacChangeLog">trunk/Source/WebKit/mac/ChangeLog</a></li>
<li><a href="#trunkSourceWebKitmacWebViewWebViewmm">trunk/Source/WebKit/mac/WebView/WebView.mm</a></li>
<li><a href="#trunkSourceWebKit2ChangeLog">trunk/Source/WebKit2/ChangeLog</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageDrawingAreaImplcpp">trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPageWebPagecpp">trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPagemacRemoteLayerTreeDrawingAreamm">trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm</a></li>
<li><a href="#trunkSourceWebKit2WebProcessWebPagemacTiledCoreAnimationDrawingAreamm">trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/ChangeLog        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -1,3 +1,35 @@
</span><ins>+2017-03-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Have fixedPositionCreatesStackingContext be on by default everywhere
+        https://bugs.webkit.org/show_bug.cgi?id=169334
+
+        Reviewed by Zalan Bujtas.
+
+        It makes no sense to have web-exposed CSS functionality be different based on setting,
+        and other browser are now aligned with having position:fixed create stacking context.
+
+        So remove the fixedPositionCreatesStackingContext setting and have StyleResolver::adjustRenderStyle()
+        always force stacking context for position:fixed.
+
+        * compositing/absolute-inside-out-of-view-fixed.html:
+        * compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html:
+        * compositing/layer-creation/fixed-overlap-extent-rtl.html:
+        * compositing/layer-creation/fixed-overlap-extent.html:
+        * compositing/layer-creation/fixed-position-change-out-of-view-in-view.html:
+        * compositing/layer-creation/fixed-position-in-view-dynamic.html:
+        * compositing/layer-creation/fixed-position-out-of-view-dynamic.html:
+        * compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-scroll.html:
+        * compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html:
+        * compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html:
+        * compositing/layer-creation/fixed-position-out-of-view-scaled.html:
+        * compositing/layer-creation/fixed-position-transformed-into-view.html:
+        * compositing/layer-creation/fixed-position-transformed-outside-view.html:
+        * compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html:
+        * compositing/repaint/scroll-fixed-layer-no-content.html:
+        * compositing/repaint/scroll-fixed-layer-out-of-view.html:
+        * fast/block/positioning/fixed-position-stacking-context2.html:
+        * fullscreen/full-screen-fixed-pos-parent.html:
+
</ins><span class="cx"> 2017-03-07  Jiewen Tan  &lt;jiewen_tan@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [WebCrypto] Implement ECDH ImportKey/ExportKey operations
</span></span></pre></div>
<a id="trunkLayoutTestscompositingabsoluteinsideoutofviewfixedhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/absolute-inside-out-of-view-fixed.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/absolute-inside-out-of-view-fixed.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/absolute-inside-out-of-view-fixed.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -29,10 +29,8 @@
</span><span class="cx">       if (window.testRunner) {
</span><span class="cx">         testRunner.waitUntilDone();
</span><span class="cx">         testRunner.dumpAsText();
</span><del>-        if (window.internals) {
</del><ins>+        if (window.internals)
</ins><span class="cx">             window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-            window.internals.settings.setFixedPositionCreatesStackingContext(true);
-        }
</del><span class="cx">       }
</span><span class="cx"> 
</span><span class="cx">       function doScroll()
</span></span></pre></div>
<a id="trunkLayoutTestscompositinggeometryfixedpositioncompositedpagescalesmallerthanviewporthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/geometry/fixed-position-composited-page-scale-smaller-than-viewport.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -27,7 +27,6 @@
</span><span class="cx">   if (window.internals) {
</span><span class="cx">     window.internals.settings.setVisualViewportEnabled(false);
</span><span class="cx">     window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    window.internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx">     window.internals.setPageScaleFactor(0.5, 0, 0);
</span><span class="cx">   }
</span><span class="cx"> &lt;/script&gt;
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedoverlapextentrtlhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent-rtl.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent-rtl.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent-rtl.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -35,10 +35,8 @@
</span><span class="cx">         if (window.testRunner)
</span><span class="cx">             testRunner.dumpAsText();
</span><span class="cx"> 
</span><del>-        if (window.internals) {
</del><ins>+        if (window.internals)
</ins><span class="cx">             internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-            internals.settings.setFixedPositionCreatesStackingContext(true);
-        }
</del><span class="cx"> 
</span><span class="cx">         function doTest()
</span><span class="cx">         {
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedoverlapextenthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-overlap-extent.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -35,10 +35,8 @@
</span><span class="cx">         if (window.testRunner)
</span><span class="cx">             testRunner.dumpAsText();
</span><span class="cx"> 
</span><del>-        if (window.internals) {
</del><ins>+        if (window.internals)
</ins><span class="cx">             internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-            internals.settings.setFixedPositionCreatesStackingContext(true);
-        }
</del><span class="cx"> 
</span><span class="cx">         function doTest()
</span><span class="cx">         {
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionchangeoutofviewinviewhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-change-out-of-view-in-view.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -11,7 +11,6 @@
</span><span class="cx">     if (window.testRunner &amp;&amp; window.internals) {
</span><span class="cx">       testRunner.dumpAsText();
</span><span class="cx">       internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-      internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">       addEventListener(&quot;load&quot;, function() {
</span><span class="cx">         document.getElementById(&quot;layerTree1&quot;).innerText = internals.layerTreeAsText(document);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositioninviewdynamichtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-in-view-dynamic.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx">     if (window.testRunner &amp;&amp; window.internals) {
</span><span class="cx">       testRunner.dumpAsText();
</span><span class="cx">       internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-      internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">       addEventListener(&quot;load&quot;, function() {
</span><span class="cx">         var fixed = document.createElement(&quot;div&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionoutofviewdynamichtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-dynamic.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx">     if (window.testRunner &amp;&amp; window.internals) {
</span><span class="cx">       testRunner.dumpAsText();
</span><span class="cx">       internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-      internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">       addEventListener(&quot;load&quot;, function() {
</span><span class="cx">         var fixed = document.createElement(&quot;div&quot;);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscalediframescrollhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-scroll.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-scroll.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe-scroll.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx">   }
</span><span class="cx">   if (window.internals) {
</span><span class="cx">     window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    window.internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">     addEventListener(&quot;load&quot;, function() {
</span><span class="cx">       window.internals.setPageScaleFactor(0.5, 0, 0);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscalediframehtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-iframe.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -8,7 +8,6 @@
</span><span class="cx">   }
</span><span class="cx">   if (window.internals) {
</span><span class="cx">     window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    window.internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">     addEventListener(&quot;load&quot;, function() {
</span><span class="cx">       window.internals.setPageScaleFactor(0.5, 0, 0);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscaledscrollhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled-scroll.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx">   }
</span><span class="cx">   if (window.internals) {
</span><span class="cx">     window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    window.internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">     addEventListener(&quot;load&quot;, function() {
</span><span class="cx">       window.scrollTo(100,100);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositionoutofviewscaledhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-out-of-view-scaled.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -16,7 +16,6 @@
</span><span class="cx">   }
</span><span class="cx">   if (window.internals) {
</span><span class="cx">     window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    window.internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">     addEventListener(&quot;load&quot;, function() {
</span><span class="cx">       document.getElementById(&quot;layerTree&quot;).innerText = internals.layerTreeAsText(document);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositiontransformedintoviewhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-into-view.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-into-view.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-into-view.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx"> }
</span><span class="cx"> if (window.internals) {
</span><span class="cx">     window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    window.internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">     window.addEventListener(&quot;load&quot;, function() {
</span><span class="cx">         document.getElementById(&quot;layerTree&quot;).innerText = internals.layerTreeAsText(document);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationfixedpositiontransformedoutsideviewhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-outside-view.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-outside-view.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/fixed-position-transformed-outside-view.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -31,7 +31,6 @@
</span><span class="cx">     }
</span><span class="cx">     if (window.internals) {
</span><span class="cx">         window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-        window.internals.settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">         window.addEventListener(&quot;load&quot;, function() {
</span><span class="cx">             document.getElementById(&quot;layerTree&quot;).innerText = internals.layerTreeAsText(document);
</span></span></pre></div>
<a id="trunkLayoutTestscompositinglayercreationnocompositingforfixedpositionundertransformhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/layer-creation/no-compositing-for-fixed-position-under-transform.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -15,10 +15,8 @@
</span><span class="cx">   &lt;/style&gt;
</span><span class="cx"> 
</span><span class="cx">   &lt;script type=&quot;text/javascript&quot;&gt;
</span><del>-    if (window.internals) {
</del><ins>+    if (window.internals)
</ins><span class="cx">       window.internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-      window.internals.settings.setFixedPositionCreatesStackingContext(true);
-    }
</del><span class="cx"> 
</span><span class="cx">     if (window.testRunner) {
</span><span class="cx">       testRunner.dumpAsText();
</span></span></pre></div>
<a id="trunkLayoutTestscompositingrepaintscrollfixedlayernocontenthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-no-content.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -5,10 +5,8 @@
</span><span class="cx">         if (window.testRunner)
</span><span class="cx">             testRunner.dumpAsText();
</span><span class="cx"> 
</span><del>-        if (window.internals) {
</del><ins>+        if (window.internals)
</ins><span class="cx">             internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-            internals.settings.setFixedPositionCreatesStackingContext(true);
-        }
</del><span class="cx"> 
</span><span class="cx">         function test()
</span><span class="cx">         {
</span></span></pre></div>
<a id="trunkLayoutTestscompositingrepaintscrollfixedlayeroutofviewhtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/compositing/repaint/scroll-fixed-layer-out-of-view.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -5,10 +5,8 @@
</span><span class="cx">         if (window.testRunner)
</span><span class="cx">             testRunner.dumpAsText();
</span><span class="cx"> 
</span><del>-        if (window.internals) {
</del><ins>+        if (window.internals)
</ins><span class="cx">             internals.settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-            internals.settings.setFixedPositionCreatesStackingContext(true);
-        }
</del><span class="cx"> 
</span><span class="cx">         function test()
</span><span class="cx">         {
</span></span></pre></div>
<a id="trunkLayoutTestsfastblockpositioningfixedpositionstackingcontext2html"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fast/block/positioning/fixed-position-stacking-context2.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fast/block/positioning/fixed-position-stacking-context2.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/fast/block/positioning/fixed-position-stacking-context2.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -23,13 +23,6 @@
</span><span class="cx">     z-index: 2;
</span><span class="cx"> }
</span><span class="cx"> &lt;/style&gt;
</span><del>-&lt;script&gt;
-if (&quot;internals&quot; in window) {
-    window.internals.settings.setFixedPositionCreatesStackingContext(true);
-} else {
-    document.write(&quot;This test depends on the FixedPositionCreatesStackingContext setting being true, so run in DumpRenderTree or manually enable it&quot;);
-}
-&lt;/script&gt;
</del><span class="cx"> &lt;div class=&quot;green&quot;&gt;&lt;/div&gt;
</span><span class="cx"> &lt;div class=&quot;container&quot;&gt;
</span><span class="cx">   &lt;div class=&quot;green&quot;&gt;&lt;/div&gt;
</span></span></pre></div>
<a id="trunkLayoutTestsfullscreenfullscreenfixedposparenthtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/fullscreen/full-screen-fixed-pos-parent.html (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/fullscreen/full-screen-fixed-pos-parent.html        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/LayoutTests/fullscreen/full-screen-fixed-pos-parent.html        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -26,9 +26,6 @@
</span><span class="cx"> &lt;/head&gt;
</span><span class="cx"> &lt;script src=&quot;full-screen-test.js&quot;&gt;&lt;/script&gt;
</span><span class="cx"> &lt;script&gt;
</span><del>-    if (window.internals)
-        window.internals.settings.setFixedPositionCreatesStackingContext(true);
-
</del><span class="cx">     function doTest() {
</span><span class="cx">         if (window.testRunner) {
</span><span class="cx">             testRunner.dumpAsText(true);
</span></span></pre></div>
<a id="trunkSourceWebCoreChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/ChangeLog (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/ChangeLog        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebCore/ChangeLog        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -1,3 +1,21 @@
</span><ins>+2017-03-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Have fixedPositionCreatesStackingContext be on by default everywhere
+        https://bugs.webkit.org/show_bug.cgi?id=169334
+
+        Reviewed by Zalan Bujtas.
+
+        It makes no sense to have web-exposed CSS functionality be different based on setting,
+        and other browser are now aligned with having position:fixed create stacking context.
+
+        So remove the fixedPositionCreatesStackingContext setting and have StyleResolver::adjustRenderStyle()
+        always force stacking context for position:fixed.
+
+        * css/StyleResolver.cpp:
+        (WebCore::StyleResolver::adjustRenderStyle):
+        * page/Settings.cpp:
+        * page/Settings.in:
+
</ins><span class="cx"> 2017-03-07  Said Abou-Hallawa  &lt;sabouhallawa@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Asynchronous image decoding should consider the drawing size if it is smaller than the size of the image
</span></span></pre></div>
<a id="trunkSourceWebCorecssStyleResolvercpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/css/StyleResolver.cpp (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/css/StyleResolver.cpp        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebCore/css/StyleResolver.cpp        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -911,7 +911,7 @@
</span><span class="cx">             || style.hasBlendMode()
</span><span class="cx">             || style.hasIsolation()
</span><span class="cx">             || style.position() == StickyPosition
</span><del>-            || (style.position() == FixedPosition &amp;&amp; settings().fixedPositionCreatesStackingContext())
</del><ins>+            || style.position() == FixedPosition
</ins><span class="cx">             || style.hasFlowFrom()
</span><span class="cx">             || style.willChangeCreatesStackingContext())
</span><span class="cx">             style.setZIndex(0);
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingscpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.cpp (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.cpp        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebCore/page/Settings.cpp        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -142,7 +142,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx"> #if PLATFORM(IOS)
</span><del>-static const bool defaultFixedPositionCreatesStackingContext = true;
</del><span class="cx"> static const bool defaultFixedBackgroundsPaintRelativeToDocument = true;
</span><span class="cx"> static const bool defaultAcceleratedCompositingForFixedPositionEnabled = true;
</span><span class="cx"> static const bool defaultAllowsInlineMediaPlayback = false;
</span><span class="lines">@@ -156,7 +155,6 @@
</span><span class="cx"> static const bool defaultMediaControlsScaleWithPageZoom = true;
</span><span class="cx"> static const bool defaultQuickTimePluginReplacementEnabled = true;
</span><span class="cx"> #else
</span><del>-static const bool defaultFixedPositionCreatesStackingContext = false;
</del><span class="cx"> static const bool defaultFixedBackgroundsPaintRelativeToDocument = false;
</span><span class="cx"> static const bool defaultAcceleratedCompositingForFixedPositionEnabled = false;
</span><span class="cx"> static const bool defaultAllowsInlineMediaPlayback = true;
</span></span></pre></div>
<a id="trunkSourceWebCorepageSettingsin"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebCore/page/Settings.in (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebCore/page/Settings.in        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebCore/page/Settings.in        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -158,7 +158,6 @@
</span><span class="cx"> wantsBalancedSetDefersLoadingBehavior initial=false
</span><span class="cx"> requestAnimationFrameEnabled initial=true
</span><span class="cx"> 
</span><del>-fixedPositionCreatesStackingContext initial=defaultFixedPositionCreatesStackingContext
</del><span class="cx"> cookieEnabled initial=true
</span><span class="cx"> mediaEnabled initial=true
</span><span class="cx"> DOMPasteAllowed initial=false
</span></span></pre></div>
<a id="trunkSourceWebKitmacChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/ChangeLog (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/ChangeLog        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebKit/mac/ChangeLog        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -1,3 +1,19 @@
</span><ins>+2017-03-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Have fixedPositionCreatesStackingContext be on by default everywhere
+        https://bugs.webkit.org/show_bug.cgi?id=169334
+
+        Reviewed by Zalan Bujtas.
+
+        It makes no sense to have web-exposed CSS functionality be different based on setting,
+        and other browser are now aligned with having position:fixed create stacking context.
+
+        So remove the fixedPositionCreatesStackingContext setting and have StyleResolver::adjustRenderStyle()
+        always force stacking context for position:fixed.
+
+        * WebView/WebView.mm:
+        (-[WebView _preferencesChanged:]):
+
</ins><span class="cx"> 2017-03-06  Simon Fraser  &lt;simon.fraser@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         Initialize the subpixelAntialiasedLayerTextEnabled Setting in WebKit1
</span></span></pre></div>
<a id="trunkSourceWebKitmacWebViewWebViewmm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit/mac/WebView/WebView.mm (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit/mac/WebView/WebView.mm        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebKit/mac/WebView/WebView.mm        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -2776,7 +2776,6 @@
</span><span class="cx">     settings.setPlugInSnapshottingEnabled([preferences plugInSnapshottingEnabled]);
</span><span class="cx">     settings.setHttpEquivEnabled([preferences httpEquivEnabled]);
</span><span class="cx"> 
</span><del>-    settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> #if PLATFORM(MAC)
</span><span class="cx">     settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2ChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/ChangeLog (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/ChangeLog        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebKit2/ChangeLog        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -1,3 +1,23 @@
</span><ins>+2017-03-07  Simon Fraser  &lt;simon.fraser@apple.com&gt;
+
+        Have fixedPositionCreatesStackingContext be on by default everywhere
+        https://bugs.webkit.org/show_bug.cgi?id=169334
+
+        Reviewed by Zalan Bujtas.
+
+        It makes no sense to have web-exposed CSS functionality be different based on setting,
+        and other browser are now aligned with having position:fixed create stacking context.
+
+        So remove the fixedPositionCreatesStackingContext setting and have StyleResolver::adjustRenderStyle()
+        always force stacking context for position:fixed.
+
+        * WebProcess/WebPage/WebPage.cpp:
+        (WebKit::WebPage::setUseFixedLayout):
+        * WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm:
+        (WebKit::RemoteLayerTreeDrawingArea::updatePreferences):
+        * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
+        (WebKit::TiledCoreAnimationDrawingArea::updatePreferences):
+
</ins><span class="cx"> 2017-03-07  Brent Fulgham  &lt;bfulgham@apple.com&gt;
</span><span class="cx"> 
</span><span class="cx">         [Mac][WK2] Whitelist iokit-get-properties
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageDrawingAreaImplcpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebKit2/WebProcess/WebPage/DrawingAreaImpl.cpp        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -183,7 +183,6 @@
</span><span class="cx">     // Fixed position elements need to be composited and create stacking contexts
</span><span class="cx">     // in order to be scrolled by the ScrollingCoordinator.
</span><span class="cx">     settings.setAcceleratedCompositingForFixedPositionEnabled(settings.acceleratedCompositingEnabled());
</span><del>-    settings.setFixedPositionCreatesStackingContext(settings.acceleratedCompositingEnabled());
</del><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     m_alwaysUseCompositing = settings.acceleratedCompositingEnabled() &amp;&amp; settings.forceCompositingMode();
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPageWebPagecpp"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebKit2/WebProcess/WebPage/WebPage.cpp        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -1681,7 +1681,6 @@
</span><span class="cx"> #endif
</span><span class="cx"> #if USE(COORDINATED_GRAPHICS)
</span><span class="cx">     m_page-&gt;settings().setAcceleratedCompositingForFixedPositionEnabled(fixed);
</span><del>-    m_page-&gt;settings().setFixedPositionCreatesStackingContext(fixed);
</del><span class="cx">     m_page-&gt;settings().setDelegatesPageScaling(fixed);
</span><span class="cx">     m_page-&gt;settings().setScrollingCoordinatorEnabled(fixed);
</span><span class="cx"> #endif
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPagemacRemoteLayerTreeDrawingAreamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/RemoteLayerTreeDrawingArea.mm        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -177,7 +177,6 @@
</span><span class="cx">     // Fixed position elements need to be composited and create stacking contexts
</span><span class="cx">     // in order to be scrolled by the ScrollingCoordinator.
</span><span class="cx">     settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">     m_rootLayer-&gt;setShowDebugBorder(settings.showDebugBorders());
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkSourceWebKit2WebProcessWebPagemacTiledCoreAnimationDrawingAreamm"></a>
<div class="modfile"><h4>Modified: trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm (213565 => 213566)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm        2017-03-08 05:18:35 UTC (rev 213565)
+++ trunk/Source/WebKit2/WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm        2017-03-08 05:46:52 UTC (rev 213566)
</span><span class="lines">@@ -202,11 +202,8 @@
</span><span class="cx"> #endif
</span><span class="cx"> 
</span><span class="cx">     // Fixed position elements need to be composited and create stacking contexts
</span><del>-    // in order to be scrolled by the ScrollingCoordinator. We also want to keep
-    // Settings:setFixedPositionCreatesStackingContext() enabled for iOS. See
-    // &lt;rdar://problem/9813262&gt; for more details.
</del><ins>+    // in order to be scrolled by the ScrollingCoordinator.
</ins><span class="cx">     settings.setAcceleratedCompositingForFixedPositionEnabled(true);
</span><del>-    settings.setFixedPositionCreatesStackingContext(true);
</del><span class="cx"> 
</span><span class="cx">     if (MainFrame* mainFrame = m_webPage.mainFrame())
</span><span class="cx">         DebugPageOverlays::settingsChanged(*mainFrame);
</span></span></pre>
</div>
</div>

</body>
</html>