You should define the IDL attribute in terms of HTML reflect: http://whatwg.org/C#reflect And change it to be a boolean rather than a DOMString. That would make it consistent with other boolean attributes, such as <input readonly>. Then the requirements for adding and removing the attribute can be moved to the definition of the content attribute.

Also, for the content attribute, you are missing <code> inside the <dfn>.


--
Anne van Kesteren
http://annevankesteren.nl/

Reply via email to