2 ms·
> They won't implement it until the spec is finalized (is my guess, given that they haven't done so, so far). Last time I checked their bug tracker, it had not
by alwillis 3y ago
> They won't implement it until the spec is finalized (is my guess, given that they haven't done so, so far).
Last time I checked their bug tracker, it had nothing to do with the specification—they had some technical implementation problems. My take on the situation: if they didn't get derailed by from what I recall were performance problems, they would have shipped it by now.
> but it's also super important to take into consideration what the literal standard says, which is that :has is not part of the specification
I'm not sure we're talking about the same thing; :has() is part of the "Selectors Level 4" specification [1] for a while now. I've read many W3C specifications; there's none of the usual warnings and caveats that are par for the course with experimental or unsupported specifications. That's not to say there won't be changes in the future, but that's true for virtually any recent CSS specification.
As someone who follows this stuff pretty closely (I even read CSS working group meeting notes sometimes), this is the first time I've heard any objection to :has() at all and certainly nothing regarding the spec not being "done".
I don't agree that Safari implemented :has() early; it's been in discussion for nearly 20 years and is something web developers have really wanted for just as long.
The WebKit blog has a pretty good description of the back story why it took so long and what the breakthrough was [2].
[1]: https://drafts.csswg.org/selectors-4/#relational https://drafts.csswg.org/selectors-4/#relational
[2]: https://www.webkit.org/blog/13096/css-has-pseudo-class/ https://www.webkit.org/blog/13096/css-has-pseudo-class/