Re: [dom] Add a validation step when a new DOMTokenList is created (#107)

> @@ -8642,8 +8642,16 @@ are to:
>  <a lt="named attribute"><var>associated attribute's local name</var> attribute</a> or
>  associated <a for="/">element</a>'s
>  <a lt="named attribute"><var>associated attribute's local name</var> attribute</a> is
> -<a lt="attribute is set">set</a>, set <a>tokens</a> to the new <a for=Attr>value</a>,
> -<a lt="ordered set parser">parsed</a>.
> +<a lt="attribute is set">set</a>, follow these substeps:
> +
> +<ol>
> + <li><p>Let <var>temporary tokens</var> be the new <a for=Attr>value</a>,
> + <a lt="ordered set parser">parsed</a>.
> +
> + <li><p>For each <var>token</var> in <var>temporary tokens</var>, run
> +<a>validation steps</a> with <var>token</var>. If the return value is true, append <var>token</var>

This and the next line are not indented properly.

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

Received on Friday, 13 November 2015 07:38:03 UTC