Safari 26 uses <meta name="theme-color"> only for web apps#28503
Safari 26 uses <meta name="theme-color"> only for web apps#28503
<meta name="theme-color"> only for web apps#28503Conversation
|
Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs). |
theme-color: Safari 26 removes support<meta name="theme-color">
caugner
left a comment
There was a problem hiding this comment.
I could not find evidence for this removal. In particular, WebKit still has code handling theme-color changes: https://github.com/WebKit/WebKit/blob/ac871ed0a668bd6fdd43e8590039b83fb3fd5d3e/Source/WebCore/html/HTMLMetaElement.cpp#L114
@andesco Can you please provide details on how you came to the conclusion that Safari 26 removed support for this feature? Can you confirm that you checked both in desktop and mobile versions, and if you used one of the linked examples, can you confirm that you verified a prior Safari version like 18.6?
I built
Yes. I have used @caugner, thank you for taking a second look. |
|
@andesco Could you add screenshots to the PR description? I don't see any differences between Safari 26, 18.4, and 17.3, and I don't find the mentioned setting neither in Safari 17.3 nor Safari 18.4:
|
|
@andesco When you have a moment, please add some screenshots and instructions on how to reproduce your findings. See comments above. |
|
screenshots of Safari 15 vs. Safari 26 on macOS:
The settings referenced now mention Safari 26: |
Co-authored-by: mister-ben <1676039+mister-ben@users.noreply.github.com>
| "version_added": "15", | ||
| "version_removed": "26" |
There was a problem hiding this comment.
We discussed this in this week's BCD meeting:
This is still supported for installed web apps, and the spec does not require the color to be used (apparently there were some limitations before, to avoid contrast issues).
Therefore we should just add a note instead of setting partial_implementation or version_removed:
| "version_added": "15", | |
| "version_removed": "26" | |
| "version_added": "15", | |
| "notes": "From Safari 26, the theme color is only used for installed web apps." |
<meta name="theme-color"><meta name="theme-color"> only for web apps

Summary
html.elements.meta.name.theme-colorTest Results and Supporting Details