My parser for at-layer CSS at-rules compiles successfully, and has passed some basic tests.

Haven't actually tested the parser itself, but the name resolution works fine... Then again there wasn't much code there to fail...

Committed my changes to

And now I've fully integrated at-layer into my core CSS engine! Though I still need to add a layer-clause to at-import, need to consider how it interacts with at-media, & I probably won't implement `revert-layer`. Unless someone wants to talk me into it?

I'll finish this tomorrow! Then move onto CSS scopes!

I'm adopting the latest W3C proposals to make CSS easier to work with, whilst keeping what makes the language special! And without adding much additional complexity (This was <100LoC).

Sign in to participate in the conversation

For people who care about, support, or build Free, Libre, and Open Source Software (FLOSS).