<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 - TouchEvent objects shouldn't contain co-ordinates"
   href="https://bugs.webkit.org/show_bug.cgi?id=157269">157269</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>TouchEvent objects shouldn't contain co-ordinates
          </td>
        </tr>

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

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

        <tr>
          <th>Version</th>
          <td>Safari 9
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>iOS
          </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>Event Handling
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>tdresser&#64;chromium.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>benjamin&#64;webkit.org, dino&#64;apple.com, rbyers&#64;chromium.org, simon.fraser&#64;apple.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>TouchEvent objects shouldn't contain co-ordinates, co-ordinates should only reside on the associated Touch objects.

See:
<a href="https://www.w3.org/TR/uievents/#interface-UIEvent">https://www.w3.org/TR/uievents/#interface-UIEvent</a>
<a href="https://w3c.github.io/touch-events/#idl-def-TouchEvent">https://w3c.github.io/touch-events/#idl-def-TouchEvent</a>

To reproduce, visit jsbin.com/jalomi/quiet, and touch the screen.
Nothing should be written to the screen, but the x co-ordinate of the first pointer is written to the screen.

This behavior isn't spec compliant, and may cause compatibility issues. It also encourages sharing code for touch and mouse events, which seems to be something that isn't desired by Apple engineers.

&quot;The premise of the specification is that using mouse event and touch events
interchangeably is needed. In reality, nobody was really asking for that
because it is a terrible idea.&quot;
<a href="https://lists.webkit.org/pipermail/webkit-dev/2012-November/022957.html">https://lists.webkit.org/pipermail/webkit-dev/2012-November/022957.html</a></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>