Remove auto-parenthesis logic for MediaQuery
We added the auto-parenthesis logic before releasing it but it had multiple issues that we kinda had to patch with special cases and regexes. We can't remove it without a breaking change so opening this issue for 6.0
-
annoyance
Do those issues still exist, or did #15937 fully fix them? Because I quite like the current behaviour
I think the current implementation handles the issues...however it could be prone to bugs and would need to constantly adapt if new keywords are released for example. Also while not a huge deal since nobody in their right mind would tie a media query to user input the query that we have to use is subject to ReDoS.
I think we can discuss if we want to keep this behavior but better have a thoughtful discussion before.