- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 07 Oct 2020 23:48:32 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-pseudo-4] Add a highlight pseudo-element for scroll-to-text`, and agreed to the following: * `RESOLVED: Add target-text pseudo element` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: [css-pseudo-4] Add a highlight pseudo-element for scroll-to-text<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/5522<br> <dael> chrishtr: Discussed other use cases. This is specifically text fragment feature. Verified exact chrome behavior. Page loads, scrolls highlights. When you click highlight dismisses. Prop is new pseudo-element to color highlight for the site<br> <florian> q+<br> <dael> chrishtr: Suggested target-text name from fantasai which is analogous to target pseudo class which lets you style anchor in URL<br> <dael> chrishtr: Same way text fragments extend fragment concept this is related so good name<br> <astearns> ack florian<br> <TabAtkins> +1 to name suggestion<br> <dael> florian: You said the highlight is shown until click. When it is dismissed is it instant?<br> <dael> chrishtr: Yes<br> <dael> florian: So no fading so do't have to worry<br> <dael> chrishtr: Yes, investigated and it's instant<br> <dael> astearns: Prop: Add a target-text pseudo element with behavior as described in the issue<br> <dael> fantasai: Wouldn't over-prescribe behavior but have it things you spec are honored and rest match UA<br> <dael> chrishtr: Sayign we don't have to restrict like we did for spelling?<br> <dael> fantasai: Example if UA has a fade-out on the color styling shouldn't make it go away, jsut fade out your color. Or some other effect make it so you're able to style css<br> <dael> fantasai: [missed]<br> <dael> florian: Valid but applies to all highlight pseudos. As a mech if UA wants to fade go ahead on any of them<br> <dael> fantasai: Like UA might fade ::selection and that's fine<br> <dael> heycam: Might be a little strange :target styles remain and it's still in the URL<br> <dael> fantasai: If UA wants to continue highlighting that's okay. Controlling that is different porject. For :target author has added but in this case browser is injecting<br> <dael> heycam: Okay, agree with that<br> <dael> astearns: Any concerns about adding target-text pseudo?<br> <dael> astearns: prop: Add target-text pseudo element<br> <dael> RESOLVED: Add target-text pseudo element<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5522#issuecomment-705250980 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 7 October 2020 23:48:34 UTC