<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add coordinate space to event streams and streamline tests"
   href="https://bugs.webkit.org/show_bug.cgi?id=165119#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Add coordinate space to event streams and streamline tests"
   href="https://bugs.webkit.org/show_bug.cgi?id=165119">bug 165119</a>
              from <span class="vcard"><a class="email" href="mailto:simon.fraser&#64;apple.com" title="Simon Fraser (smfr) &lt;simon.fraser&#64;apple.com&gt;"> <span class="fn">Simon Fraser (smfr)</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=297219&amp;action=diff" name="attach_297219" title="Patch">attachment 297219</a> <a href="attachment.cgi?id=297219&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=297219&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=297219&amp;action=review</a>

<span class="quote">&gt; Tools/WebKitTestRunner/ios/UIScriptControllerIOS.mm:215
&gt; +    if (event[HIDEventTouchesKey]) {
&gt; +        for (NSMutableDictionary *touch in event[HIDEventTouchesKey]) {
&gt; +            auto location = globalToContentCoordinates(TestController::singleton().mainWebView()-&gt;platformView(), (long)[touch[HIDEventXKey] doubleValue], (long)[touch[HIDEventYKey]doubleValue]);
&gt; +            touch[HIDEventXKey] = &#64;(location.x);
&gt; +            touch[HIDEventYKey] = &#64;(location.y);
&gt; +        }
&gt; +    }</span >

If a test triggers a scroll in the middle, won't the subsequent content-relative locations be offset?</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>