News for hackers. Stuff that matters.
Re:Everything that uses configuration files should report wh... by afiori on Sunday June 25, 2023 @02:59PM (#36471471)
With :is and :where it is trivial to trick selectors

:is(selector_1, :where(selector_2))

Has always the specificity of selector_2, and if you choose an impossible selector for selector_1 (the easiest approach is to give multiple ids or use non existent classes/elements) it only select by selector_2

Re:Everything that uses configuration files should report wh... by oneeyedpigeon on Monday June 26, 2023 @03:55PM (#36484946)
That looks far more complex than just using specificity properly as intended.