- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 15 May 2019 16:21:17 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `Rescope :has to static CSS rather than .querySelector`, and agreed to the following: * `RESOLVED: Mark this as at risk and optional, remove profile` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: Rescope :has to static CSS rather than .querySelector<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/3925<br> <dael> fantasai: It was pointed out nobody impl :has not even in query selection. Spec should align with reality and not say you can use it. it is impl in Prince XML so maybe needs to stay in spec but scope to PDF renderers<br> <dael> florian: I think we discussed in the past and wanted to ban it from PDF engines as well b/c worry it would creep out of that narrow use case and we'd be stuck for compat reasons. Or something along those lines. Couldn't find minutes<br> <dael> fantasai: We did. And that's why it explicitly says shouldn't be used in CSS but reality is that's not what's happening<br> <dael> Rossen_: If this is reality than what fantasai suggested makes sense<br> <dael> Rossen_: Any additional comments or challenges to this?<br> <dael> florian: Okay changing .querySelector but not sure about PDF render<br> <dael> fantasai: Reused a definition about static not dynamic<br> <dael> florian: Does [list of things] count?<br> <bkardell_> q+<br> <dael> fantasai: Up to impl if it counts<br> <dael> Rossen_: It is impl specific<br> <dael> fantasai: If you don't like this division either we remove and people are non-conforment or we convince more people to impl. So what do you want to do?<br> <dael> florian: Since existing impl violates spec about if they should impl and if we put a feature in the spec saying this is a thing you may or may not want to impl sure. I don't know if static render definition makes a difference, but if browsers aren't worried about creeping out sure<br> <dael> dauwhe: Other instances of infections creeping out?<br> <dael> florian: Intentionally yes, accidentaly not sure<br> <dael> dauwhe: Seems low risk<br> <dael> fantasai: It's not we dont' want this in browsers, it's that no one has figured out how to do it in a performant way.<br> <dael> fantasai: If a browser figures out how to do it we'd be happy<br> <dael> florian: Keep in spec, remove profile distinction, mark at risk<br> <florian> q+<br> <dael> Rossen_: Have enough features not implemented, reducing that is a great goal. Lingering things in spec that's an idea that won't happen isn't good. There's history in github and repos that people could find. I'd move forward to drop now and if people want to make a case they will<br> <gregwhitworth> +1 to what Rossen_ said<br> <dael> bkardell_: Sorry, didn't have sound early in call. We added distinction between profiles b/c it could easily be impl in JS in theory. I think we hear people saying it doesn't add much, I disagree with that. Isn't the way the spec is written, I thought it was specifically because if a vendor wanted to experimentally impl in full profile that's okay. Is that not the case?<br> <dael> florian: Spec says browsersplease don't do this. We didn't want someone to ship while others didn't know how. If that was a good idea is sep. question, but spec says must not impl in CSS< only JS.<br> <dael> florian: To Rossen_ point it's not just not going to happen, it's not going to happen prob in browsers, but it is happening in other vendors with the name. We put at risk, push to L5 if we go to rec<br> <dael> Rossen_: Should we then spec other features in JS library?<br> <dael> florian: It's a feature we specced rendered by a CSS. Just not a browser<br> <dael> bkardell_: It's in jQuery for same reason, because it was in CSS when it was rewritten<br> <dael> florian: Maybe we go to rec with 2 impl, jQuery and Prince. A bit of a stretch<br> <dael> florian: I feel bad removing it after it's impl in several places and freeing up the namespace doesn't sound nice.<br> <gregwhitworth> bkardell_: is that really the order of things, I thought jQuery had it prior to any spec text existing<br> <dael> fantasai: I think disingenuous to remove completely given there is an impl of something standardized. Seems like we only put things in spec if a browser impl but another non-browser impl isn't worthy. If this was webkit not Prince we wouldn't talk about drop<br> <dael> bkardell_: What if Webkit only did it for print stylsheets<br> <dael> fantasai: We be conforment to spec<br> <dael> bkardell_: I think florian just said it would violate current spec<br> <dael> florian: Yes b/c extra restriction<br> <dael> AmeliaBR: Question now is this whole idea of live vs snapshot profiles, is it impl anywhere? No one is impl things for .querySelector that's not for CSS. Only UA that does .has is as a css selctors. That part of spec needs reconsider, but what direct? .has is not in spec or drop the profile idea?<br> <dael> florian: I'd go with later and mark at-risk<br> <dael> fantasai: and optional<br> <dael> florian: I don't know what difference it makes but okay<br> <dael> fantasai: Means not required to conform<br> <dael> bkardell_: So Prince is in violation?<br> <dael> florian: Is now, but if we do this it wouldn't be<br> <dael> bkardell_: Can someone recap? Remove the profile notion and mark at risk and options?<br> <hober> fwiw i agree with rossen_, but i'm also okay with moving it from L4 to L5 as a compromise<br> <dael> fantasai: At risk makes it easier to remove later. It's a process thing. Optional means you can be conforment to module without doing this<br> <dael> AmeliaBR: It's separate module you can impl or not but it's tucked inside main selectors<br> <dael> fantasai: Yeah. When first did profiles there were many features, but now there's just this one<br> <dael> bkardell_: If someone impl for .querySelector only it's okay?<br> <dael> fantasai: Yes<br> <dael> bkardell_: And a print stylesheet or static processing engine that's okay?<br> <dael> fantasai: Yes<br> <dael> bkardell_: sgtm<br> <dael> Rossen_: Nearing consensus. Any other additional thoughts before we move this to L5 and mark at risk?<br> <dael> AmeliaBR: How is @supports selector supposed to work with selectors impl only in JS and not CSS. Separate issue.<br> <dael> florian: Another point. In past other proposed selectors such as focus-inside that were initially rejected by bodies because we have :has. We can rebuff with saying browsers don't do it. Can now with intent to impl<br> <dael> bkardell_: Begs the question of lots of documented use cases of possible withins that are solved by this. 100 withins is not wonderful thing<br> <dael> fantasai: I think we should tackle that in separate issue<br> <dael> fantasai: There's various approaches we can take<br> <bkardell_> also sgtm to tackle in another issue<br> <dael> Rossen_: Agree. Objections to resolve by move this to L5 and mark at risk and optional<br> <bkardell_> +1 to leave in l4<br> <dael> fantasai: Leave in L4. It is impl. This isn't even CR yet. We're not trying to trim to 2 implementations yet.<br> <dael> florian: At risk is enough.<br> <dael> Rossen_: That's fine. Mark this as at risk and optional<br> <dael> RESOLVED: Mark this as at risk and optional, remove profile<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3925#issuecomment-492724267 using your GitHub account
Received on Wednesday, 15 May 2019 16:21:19 UTC