Skip to content

Commit

Permalink
Fixes #253: Make script element IDL attributes reflect content attrib…
Browse files Browse the repository at this point in the history
…utes

Make the .event and .htmlFor IDL attributes of HTMLScriptElement reflect
the "event" and "for" content attributes.
  • Loading branch information
vakila authored and zcorpan committed Oct 27, 2015
1 parent 4080cef commit 6c635b1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -111888,8 +111888,13 @@ if (s = prompt('What is your name?')) {
attribute DOMString <span data-x="dom-script-htmlFor">htmlFor</span>;
};</pre>

<p>The <dfn><code data-x="dom-script-event">event</code></dfn> and <dfn><code data-x="dom-script-htmlFor">htmlFor</code></dfn> IDL attributes of the <code>script</code>
element must return the empty string on getting, and do nothing on setting.</p>
<p>The <dfn><code data-x="dom-script-event">event</code></dfn> IDL attribute of the
<code>script</code> element must reflect the element's
<code data-x="attr-script-event">event</code> content attribute.</p>

<p>The <dfn><code data-x="dom-script-htmlFor">htmlFor</code></dfn> IDL attribute of the
<code>script</code> element must reflect the element's
<code data-x="attr-script-for">for</code> content attribute.</p>

<hr>

Expand Down

0 comments on commit 6c635b1

Please sign in to comment.