almonk / pylon

Declarative layout primitives for CSS & HTML

Home Page:https://almonk.github.io/pylon/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Conflict with web standards?

eavichay opened this issue · comments

Web standards imply that non-native tags should have at least one dash (i.e. <x-list>) and not <list>. This may be a problem in the future if browser vendors support new tags such as those introduced in pylon css framework.

WDYT?

I think this is totally valid. I plan to introduce a 'scoped' namespace as the default syntax for pylon in the future.

scoping inside is a good practice IMO. Did you mean something like this?

<div theme-pylon>
  <ul>
   ...
</div>