Re: [dom] Issue #156. Add legacy event type check to invoke algorithm. (#158)

> +      strings in the first column in the following table, set <var>event</var>'s {{Event/type}}
> +      attribute value to the string in the second column on the same row as the matching string:
> +
> +      <table>
> +       <thead>
> +        <tr><th>Event Type<th>Legacy Event Type
> +       <tbody>
> +        <tr><td>"<code>animationend</code>"<td>"<code>webkitAnimationEnd</code>"
> +        <tr><td>"<code>animationiteration</code>"<td>"<code>webkitAnimationIteration</code>"
> +        <tr><td>"<code>animationstart</code>"<td>"<code>webkitAnimationStart</code>"
> +        <tr><td>"<code>transitionend</code>"<td>"<code>webkitTransitionEnd</code>"
> +      </table>
> +
> +     <li><p>If <var>event</var>'s {{Event/type}} attribute value is <var>listener</var>'s
> +     <b>type</b>, continue, else terminate these substeps (and run them for the next
> +     <a>event listener</a>).

Another way of fixing this might be to match on all cells in the table and then pick the opposing column. If we do it that way that would require a note of sorts explaining the setup.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/158/files#r52565607

Received on Thursday, 11 February 2016 05:31:56 UTC