On Fri, Oct 28, 2011 at 1:55 PM, Ojan Vafai <o...@chromium.org> wrote: > I agree in general. Changing add/remove is definitely worth doing. In the > case of toggle, WebKit already returns a boolean. Returning the DOMTokenList > is clearly preferable IMO. It's a new enough API that maybe the web doesn't > yet depend on the return value of toggle?
I know that I, at least, assumed that it was horrible like every other DOM API and just returned undefined, so I've certainly never depended on it. ~TJ