- From: Lea Verou via GitHub <sysbot+gh@w3.org>
- Date: Tue, 01 Jun 2021 09:37:06 +0000
- To: public-css-archive@w3.org
LeaVerou has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-cascade] Relax the restriction for @import to precede all other rules == I've recently come across a number of cases where stylesheets were concatenated, making previously valid `@import` rules invalid. It was quite annoying to need to write code to hoist them manually. Also, them having to be first means they cannot be used to import rules that should override other rules. It also means that related code cannot be kept together, but needs to be scattered in multiple places. Is there an implementation reason why these rules need to precede most other rules? Would it be feasible in terms of web compat to relax this? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6334 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 1 June 2021 09:37:20 UTC