[Bug 22426] [Custom]: Set of attribute modifying methods is not exhaustive

https://www.w3.org/Bugs/Public/show_bug.cgi?id=22426

--- Comment #3 from Dominic Cooney <dominicc@chromium.org> ---
There is some discussion of attributes on
https://www.w3.org/Bugs/Public/show_bug.cgi?id=22459#c10, #c11, #c12 that
probably should be here.

Basically--what is the type of attributeChanged? It looks like this pleases
most people:

callback void (DOMString name, DOMString? oldValue, DOMString? newValue)

If an attribute is added, oldValue is null.
If an attribute is removed, newValue is null.
If an attribute is changed, the values of oldValue and newValue are the values
of the attribute before and after the change (ie when the callback is queued.
Because of callback delivery, what you get from getAttribute may be different.)

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 4 July 2013 02:14:24 UTC