Skip to content

Conversation

@marcustyphoon
Copy link
Collaborator

Description

This adds additional selectors for GIFs that can be paused with minimal changes to the current Disable GIFs code and comments that list the elements referred to.

Based off of the branch for #1853 and tested that way. Note: most/all of these don't need that PR; let me know if you'd like them tested and PR'd separately. If merging both, it reduces testing to test them together (though it might require a rebase of this branch, annoyingly).

Testing steps

Note: the GIFs in the search dropdown modal don't have labels when I test this in Safari 17.6; this happens whether I use the <p>-element or pseudo element label and I'm pretty certain it's a Safari bug with canvas elements.

Edit: Smoke tested in Safari 18.1.1 on iOS. Real nice for spotty connections.

Copy link
Owner

@AprilSylph AprilSylph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • figure
  • linkCard
    • Note: I wouldn't say this is paused "correctly", as the paused GIF + label overrides the link tint + title... but, while it would be my preference to fix this prior to merging, I won't require it.
  • typeaheadRow
  • tagImage
  • topPost
    • Note: The vertical alignment is off, but it's not that big a deal...?
  • takeoverBanner
    • Note: Didn't test, will trust you on this one
  • communityHeaderImage
  • bannerImage
  • tagChicletWrapper

Co-authored-by: April Sylph <[email protected]>
@marcustyphoon
Copy link
Collaborator Author

marcustyphoon commented Aug 7, 2025

linkCard
Note: I wouldn't say this is paused "correctly", as the paused GIF + label overrides the link tint + title... but, while it would be my preference to fix this prior to merging, I won't require it.

Oh, that definitely used to work. Will have to check why it doesn't anymore.

Edit: Uh... not sure how it would have? worked?

@marcustyphoon
Copy link
Collaborator Author

topPost
Note: The vertical alignment is off, but it's not that big a deal...?

Man, I don't remember that one either. Might require copying inline styles? I guess?

Copy link
Owner

@AprilSylph AprilSylph left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • linkCard ✅ Now flawless
  • topPost ✅ Now flawless

LGTM!

@marcustyphoon
Copy link
Collaborator Author

How do you want to handle this stacked PR?

@AprilSylph
Copy link
Owner

Let's merge this into it, and then I review the modified base PR...? If I want to exclude this PR's diff, I can just... do that.

@marcustyphoon marcustyphoon merged commit f75f655 into marcustyphoon/disable-gifs-poster Aug 8, 2025
1 check passed
@marcustyphoon marcustyphoon deleted the marcustyphoon/disable-gifs-additional branch August 8, 2025 13:27
marcustyphoon added a commit that referenced this pull request Aug 8, 2025
…hover; pause additional elements (#1853, #1854)

Co-authored-by: April Sylph <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants