You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this example, the div should have red text. But if the .a selectors were merged, it would be aqua.
In your specific example, the id selector has a higher specificity than the class selectors, so it could potentially work. But tracking whether there are only higher specificity selectors between two matching selectors seems hard and likely not worth it.
I'm not sure if this is a bug or feature.
But if we have the same class adjacent to each other
I would expect both inputs to produce the same output (the second one).
The text was updated successfully, but these errors were encountered: