Post #2392951
2026-03-29 23:36 UTC
@AmeliaBR@front-end.social @bramus@front-end.social Yes. But the main point wasn't A vs B, but A&B vs C&D.
Replies (1)
-
@AmeliaBR@front-end.social 2026-03-31 02:20
@leaverou@front-end.social Oh my, I'm not sure I've ever seen such near-unanimous results in a poll like this! But yeah, it is definitely unintuitive why the nested rule generated by the apply function would not work like other nested rules when it comes to sibling selectors. (I only figured it out when writing this comment!) If you explicitly add a style encapsulation container to it, then it would make sense to prevent the computed length from affecting an external sibling. But that shouldn't be the default.