<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - sync-layer-positions-after-scroll fails if run after non-stable-viewport-scroll due to extraneous layouts"
   href="https://bugs.webkit.org/show_bug.cgi?id=168403">168403</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>sync-layer-positions-after-scroll fails if run after non-stable-viewport-scroll due to extraneous layouts
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Tools / Tests
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>thorton&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lforschler&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=301685" name="attach_301685" title="logging">attachment 301685</a> <a href="attachment.cgi?id=301685&amp;action=edit" title="logging">[details]</a></span>
logging

If you remove the viewport meta tag added to sync-layer-positions-after-scroll in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - WKWebView inside a UICollectionView flashes when items are inserted above it"
   href="show_bug.cgi?id=168376">https://bugs.webkit.org/show_bug.cgi?id=168376</a>, and then:

run-webkit-tests -v --ios-simulator --no-retry-failures scrollingcoordinator/ios

You will see sync-layer-positions-after-scroll fail. If you run it by itself, it does not.

The attached logging is from a debugging session with smfr. For some reason, we get into a state where we are calling setViewportConstrainedObjectsNeedLayout repeatedly during scrolling with a fixedpos element, which breaks various assumptions of the test (causing the layer position to get set, and clearing the approximatePosition).

It seems like this is related to changing scale or useFlexibleViewport, or something, and smfr says he's seen it before.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>