[Bug 24087] [Custom]: Rename document.register to registerElement

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

--- Comment #11 from Maciej Stachowiak <mjs@apple.com> ---
(In reply to Scott Miles from comment #10)
> > Let's say you have a definition for a word in English. You want to add that definition to a dictionary. We would tend call that "defining a word".
> 
> You started by positing a definition, and then called the thing you did with
> it 'defining'. Dictionaries do not create definitions, they only record them.

Yes, 'defining' is the thing you do with a definition when you associate it
with a term. (Note that a free-floating definition with no term has not defined
anything.) 

A registry or dictionary would be a place where you might record the
associations of definitions with terms. Making that association is the act of
defining.

To bring this back to custom elements, a class that implements a custom element
may be a definition, but it does not "define" until you associate it with a
term, namely the custom element name.

I believe this is consistent with the naming I'm proposing.

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

Received on Thursday, 13 February 2014 23:33:01 UTC