domenic / html-as-custom-elements

HTML as Custom Elements
https://domenic.github.io/html-as-custom-elements/
Apache License 2.0
260 stars 20 forks source link

Being included in :link, :visited, :any-link? #38

Open domenic opened 9 years ago

domenic commented 9 years ago

This is pretty low down on the priority list for primitives, but it's worth noting that the list of which elements are considered "links" is fixed forever as a[href], area[href], link[href]. We're getting around that partially by applying our custom "UA styles" to custom-a[href], but maybe it'd be worth talking about letting these UA-defined pseudo-classes be redefined, especially once @TabAtkins's custom pseudos spec takes off.

tabatkins commented 9 years ago

There are a number of pseudo-classes and concepts that hook into the host language. For example: