Re: [csswg-drafts] Add an `::interest-button` pseudo element to interest invokers (#12437)

> Having this change the height and vertical text alignment of the button seems like a deal-breaker to me.

Any thoughts/ideas about how to adjust the styles in [my comment](https://github.com/w3c/csswg-drafts/issues/12437#issuecomment-4356421939) to ameliorate this? I agree it's not great.

> If we do have this by default, we should try for it to:
> 
> 1. Only show up by default when actually needed

We talked about doing something similar for customizable-`<select>` - e.g. go into more of a full-screen mode when running on a small display like a phone. The conclusion we came to was that adding `@media something` to the UA stylesheet makes it harder for the developer to comprehend what's going on, and correctly override it as needed.

Perhaps that concern is different here, since instead of something like `@media (max-width: 600px)` which is quite opinionated, we'd just use `@media (pointer: coarse)` which is a lot easier to comprehend and override.

I'd be ok augmenting the UA rules in my [comment](https://github.com/w3c/csswg-drafts/issues/12437#issuecomment-4356421939) with this:

```css
@media (pointer: fine) {
  [interestfor]::interest-button {
    display: none;
  }
}
```

WDYT? Another concern is that developers won't notice this, as they're developing on their desktop computer. Which would be another reason for just enabling it by default everywhere.
 
> 2. Not affect layout

I think it's hard to avoid this. It has to go somewhere, so it either affects layout or it risks overlapping the `(i)` on top of content, which is also bad. 

> Otherwise I worry `::interest-button { display: none }` will just become another addition to the standard CSS reset…

I worry about this also.


-- 
GitHub Notification of comment by mfreed7
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12437#issuecomment-4392618708 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 6 May 2026 22:19:42 UTC