[whatwg] input element's value should not be sanitized during parsing

Boris Zbarsky bzbarsky at MIT.EDU
Tue Sep 21 09:13:10 PDT 2010


On 9/21/10 5:09 AM, James Graham wrote:
> It is described as a single step in the spec, which I take to imply that
> it should behave as a single operation from the point of view of the
> rest of the spec.

That doesn't work if your parser and DOM aren't very very _very_ tightly 
coupled, since there are no DOM APIs to "atomically" set a bunch of 
attributes.

So yes, if the spec implies that this is what's supposed to happen here 
then it needs to be _very_ explicit about that.

-Boris



More information about the whatwg mailing list