Hacker News new | ask | show | jobs
by schmolzer 5171 days ago
I don't really see why this syntax can't work as CSS does today? The last style with equal "weight". This idea can be implemented with the same idea.
1 comments

The weight rules applies to any specific element on the page, but this is different.

You can make one rule depend on another, and then that rules depends on the first. This can cause a loop.

You could ignore one I guess, but how do you decide which? Do you use css order? Do you use the order of the page? What is there is an inline style? What is two elements have the style?

It's better not to make a syntax that can get you into trouble like that.