[Bug 25283] [Custom]: Custom element names should not end with a hyphen

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

--- Comment #5 from Dimitri Glazkov <dglazkov@chromium.org> ---
(In reply to Mathias Bynens from comment #0)
> Custom element names must contain a hyphen, so e.g. `foo` is invalid, but
> `foo-bar` is valid.
> 
> However, as per the current rules, e.g. `foo-` is valid too. IMHO it would
> make sense to tighten the requirement by disallowing trailing hyphens, thus
> making `foo-` invalid.

Can you help me understand what the problem is?

If it's just aesthetics, I would really like to avoid dictating such opinions
in a spec.

For example, I quite like http://charbelrami.github.io/math-elements/ and don't
see anything wrong with it.

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

Received on Monday, 7 April 2014 15:32:46 UTC