[Bug 14967] [Custom Elements]: Find a way to avoid "x-" prefix because it's ugly

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

Dominic Cooney <dominicc@chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dominicc@chromium.org

--- Comment #2 from Dominic Cooney <dominicc@chromium.org> 2012-05-22 01:44:06 UTC ---
(In reply to comment #0)
> Here are several ideas:
> 
> * allow implicitly omitting the prefix in the attribute value

This seems very messy:

• It hurts grepping
• It is confusing when you want to extend a custom element; then you need to
use the x-, presumably.
• It makes custom elements that start with x- really confusing (ie x-x-foo)
because you have to guess which level of prefixing is going to be applied, etc.

> …
> * specify the value of extends attribute as an explicit inheritance chain, thus
> narrowing the name space to the last-inherited value.

Does this mean that if what a custom element extends changes, all of the
elements that extend that one will break? That sounds tiresome.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 22 May 2012 01:44:27 UTC