Skip to content

Commit

Permalink
Move IDL back to the main spec so that wpt will pick it up
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Feb 8, 2024
1 parent 83db856 commit 6f9bf88
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 212 deletions.
12 changes: 1 addition & 11 deletions event-algo.bs
Original file line number Diff line number Diff line change
Expand Up @@ -953,17 +953,7 @@ Note: {{TextEvent}} is obsolete.

<h3 id="textevent-interface">TextEvent Interface</h3>

<pre class="idl">
[Exposed=Window]
interface TextEvent : UIEvent {
readonly attribute DOMString data;
undefined initTextEvent(DOMString type,
optional boolean bubbles = false,
optional boolean cancelable = false,
optional Window? view = null,
optional DOMString data = "undefined");
};
</pre>
<p class="note">See <a href="https://w3c.github.io/uievents/#legacy-textevent-events">IDL definition</a> in UI Events.</p>

The <dfn attribute for=TextEvent><code>data</code></dfn> attribute must return the value it was initialized to.

Expand Down
Loading

0 comments on commit 6f9bf88

Please sign in to comment.