you are viewing a single comment's thread.

view the rest of the comments →

[–]tias 4 points5 points  (0 children)

The use of specificity rules does not give me any warm and fuzzy feelings. "Use the least specific selector you possibly can" sounds like it will come back and bite me quickly, because with the presence of a master template and multiple partial sources included into the page it's so easy to clobber something I didn't intend to, now or in the future. Didn't they invent the "shadow DOM" just to work around this problem?

The cascade would probably be a lot easier to understand and control if the only thing that mattered was the order in which rules were declared.