Firefox now limits CSS to 75 levels of nested blocks and functions, preventing crashes that extremely deep nesting can cause under some circumstances. More deeply nested rules and values no longer parse.
Very interesting change. I’ve yet to see CSS more than 20 levels deep. Good to put a stop to such insanity.
Comments
Very interesting change. I’ve yet to see CSS more than 20 levels deep. Good to put a stop to such insanity.
I wonder what made them attempt to support such deep nesting in the first place.
Always possible there’s some buggy CSS compiler in the wild that ships a crazy rule and nobody tested in Firefox.