Latest Tweets:

"The style system matches rules by starting with the key selector, then moving to the left (looking for any ancestors in the rule’s selector). As long as the selector’s subtree continues to check out, the style system continues moving to the left until it either matches the rule, or abandons because of a mismatch."

Writing efficient CSS for use in the Mozilla UI - MDN. Ho-ly shit. I did not know this, and knowing it now makes me want to revisit every bit of CSS I’ve written in the last 10 years. It embarrasses me to post this, but I feel obliged to share for the sake of any other web devs who may not yet be aware of this fundamental issue.