Re: [csswg-drafts] [css-pseudo-4] ::selection vs ::inactive-selection (#4579)

The CSS Working Group just discussed `] ::selection vs ::inactive-selection`.

<details><summary>The full IRC log of that discussion</summary>
&lt;dael> Topic: ] ::selection vs ::inactive-selection<br>
&lt;fantasai> github: https://github.com/w3c/csswg-drafts/issues/4579<br>
&lt;dael> github:  https://github.com/w3c/csswg-drafts/issues/4579<br>
&lt;dael> fantasai: Relationship between them. It's impl that ::selection appies to active selection. If your window is inactive you still have color. Two ways for them to interact. One is inactive selection is another highlight and layers on top. Alternative is the cascade together and one only applies sometimes.<br>
&lt;dael> fantasai: Given previous resolution if you're using semi-transparent for selection and inactive selection and inactive goes on top of active so we have to cascade<br>
&lt;dael> fantasai: Want to know if there's other thoughts<br>
&lt;dael> fantasai: If we casscade might want to switch syntax so ::selection has a function name<br>
&lt;dael> AmeliaBR: Is there a compat need to make selection and inactive selection to be cumulative and not exclusive? Default behavior is there's different styles<br>
&lt;dael> dbaron: Possible to get inactive behavior with selection combined with other selectors?<br>
&lt;dael> fantasai: Based on inactivety of window. DOn't have a way to select<br>
&lt;dael> dbaron: Make one?<br>
&lt;dael> fantasai: Maybe with a MQ?<br>
&lt;dael> myles: That's significantly more powerful then what we agreed. Is there a reason to make more powerful? That's exposing more info to websites<br>
&lt;dael> dbaron: One level think it's more powerful. Another thing it's easier to impl b/c don't have to impl cascading pseudo elements<br>
&lt;dbaron> s/it's easier/it might be easier/<br>
&lt;dael> fantasai: I think there's a number of websites that would want to know if cage is active. Is it expose and do we want to?<br>
&lt;dael> florian: Sniff from selection?<br>
&lt;dael> fantasai: No<br>
&lt;tantek> 10:01 I have to go, interested to hear how this selector conversation goes. I tend to agree with dbaron that window inactivity should be a separate selector<br>
&lt;dael> Rossen_: Out of time.<br>
&lt;dael> Rossen_: I propose we leave this open until next time and resolve then<br>
&lt;AmeliaBR> Firefox has a inactive-window pseudoclass: https://developer.mozilla.org/en-US/docs/Web/CSS/:-moz-window-inactive<br>
&lt;dael> fantasai: Okay<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4579#issuecomment-572186419 using your GitHub account

Received on Wednesday, 8 January 2020 18:02:19 UTC