<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 - Implement MathMLIDL / HTMLOrForeignElement"
   href="https://bugs.webkit.org/show_bug.cgi?id=200470">200470</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Implement MathMLIDL / HTMLOrForeignElement
          </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>DOM
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned@lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>bkardell@igalia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>fred.wang@free.fr, rniwa@webkit.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>This is a request to normalize the DOM APIs exposed to MathML as described in 
<a href="https://mathml-refresh.github.io/mathml-core/#dom-mathmlelement">https://mathml-refresh.github.io/mathml-core/#dom-mathmlelement</a> and  <a href="https://github.com/mathml-refresh/mathml/issues/83">https://github.com/mathml-refresh/mathml/issues/83</a>

Like other things in the platform it seeks to expose as `MathMLElement` instead of `Element` and have the same basic 'shape' as other elements.

There is a lot of related IDL work/sorting out of mixins happening including the addition of `HTMLOrSVGElement` to the HTML specification last year (<a href="https://github.com/whatwg/html/pull/3543">https://github.com/whatwg/html/pull/3543</a>).  Conceptually, we use the same mixin and we'd like to rename it `HTMLOrForeignElement` instead before it gets implemented everywhere.


The following web platform tests were added tentatively for testing the desired normalization of MathML elements

* <a href="https://wpt.fyi/interop/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html?label=master&label=experimental">https://wpt.fyi/interop/mathml/relations/html5-tree/clipboard-event-handlers.tentative.html?label=master&label=experimental</a>

* <a href="https://wpt.fyi/results/mathml/relations/html5-tree/css-inline-style-interface.tentative.html?label=master&label=experimental">https://wpt.fyi/results/mathml/relations/html5-tree/css-inline-style-interface.tentative.html?label=master&label=experimental</a>

* <a href="https://wpt.fyi/results/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html?label=master&label=experimental">https://wpt.fyi/results/mathml/relations/html5-tree/html-or-foreign-element-interfaces.tentative.html?label=master&label=experimental</a>

* <a href="https://wpt.fyi/results/mathml/relations/html5-tree/math-global-event-handlers.tentative.html?label=master&label=experimental">https://wpt.fyi/results/mathml/relations/html5-tree/math-global-event-handlers.tentative.html?label=master&label=experimental</a>


Similar bugs are open for firefox and chromium.  From the linked issue it seems we have agreement.</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>