- From: Alan Stearns via GitHub <sysbot+gh@w3.org>
- Date: Wed, 23 Nov 2022 22:28:55 +0000
- To: public-css-archive@w3.org
The bot missed adding the minutes. Here’s a hand-edited version: RESOLVED: paired defaults apply to all highlights <details><summary>The full IRC log of that discussion</summary> > Topic: Paired defaults > delan: This issue won't affect implementation complexity much, about what makes sense to authors > delan: some highlight pseudos have default background color and default color > delan: e.g. ::selection has default colors > delan: and ::target-text > delan: but it's not true for e.g. spelling/grammar error, where default styles add squiggly lines but don't change colors > delan: ::selection has special behavior called "paried defaults" > delan: rule is there for compat reasons > delan: means that those default colors only get used > delan: if neither color nor background was set by the author > delan: beside compat, has some other benefits > delan: prevents illegible combination of colors > delan: e.g. some browsers have light text for selections, and some have dark text > delan: so question is, should these apply to other highlight types? > delan: or only to ::selection? > florian: Point about default colors being relied on makes sense, so I would say yes it should apply to all > emilio: Gecko doesn't have this magic if the author specifies selection styles > 1emilio: do you know the state of interop? > 1delan: it's also in Gecko > 1emilio: if you specify ::selection { background: green ; color: green; } we wouldn't magically infer the color > 1delan: that's separate > delan: this is if the author only sets one of these properties, does it get the UA color or does it get transparent/currentcolor > delan: inverting is a separate issue > florian: If we don't do it we have a risk of browser-dependent illegible things, and that's bad > fantasai: I think propsoed resolution is, do we apply paired defaults to all highlights > fantasai: so do we have any objections? if not we can resolve > delan: so resolution is that they would apply to all fo the highights? > florian: we have delan, fantasai, and myself agreeing and nobody is pushing back > Rossen_: I'm not hearing any objections, so let's resolve > Rossen_: if anyone thinks about this we can come back and change if necessary > RESOLVED: paired defaults apply to all highlights </details> -- GitHub Notification of comment by astearns Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7837#issuecomment-1325729508 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 23 November 2022 22:28:57 UTC