axr / specification

This is where we work on the specification for AXR
spec.axrproject.org
13 stars 0 forks source link

start the selector chain directly inside the root element #64

Closed Mouvedia closed 12 years ago

Mouvedia commented 12 years ago

Currently you have to start almost every selector chain with the root element. It should be implied that you are already in the root element. The scope of the first simple selector should be changed to be inside of the root element directly. If you want to style the root element you can do @root { }.

This change serves one purpose: the user will most of the time want to style elements inside the root and not the root itself hence it would be very annoying to have to type the root element every time.

Mouvedia commented 12 years ago

This would hinder the use of a single HSS file for different pages: the convenience gained by this change for inline selectors is not warranted if in exchange you lose the ability to easily target different root elements.