Updated bookmark card favicon selection to prefer standard favicons#28768
Updated bookmark card favicon selection to prefer standard favicons#28768lujuldotcom wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughIn Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Closes #28761
This change updates bookmark card favicon selection to prefer standard favicons before falling back to Apple Touch Icons.
The previous implementation explicitly prioritized apple-touch-icon entries with a width of at least 180px:
As a result, bookmark cards could display an apple touch icon even when a site provided a dedicated favicon intended to represent its identity across browsers and platforms.
The updated implementation:
This preserves support for Apple Touch Icons while allowing bookmark cards to better reflect the site's primary favicon.