[Webkit-unassigned] [Bug 236616] New: Data URI favicon doesn't seem to work
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 14 15:43:06 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236616
Bug ID: 236616
Summary: Data URI favicon doesn't seem to work
Product: WebKit
Version: Safari 15
Hardware: Mac (Intel)
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: Images
Assignee: webkit-unassigned at lists.webkit.org
Reporter: eric.case at gmail.com
CC: sabouhallawa at apple.com
I've documented my attempts to get this working in this repo: https://github.com/case/safari-favicons-base64
I tried the suggestion in this Stack Overflow post: https://stackoverflow.com/a/5199989/890466 -- which suggests that this worked in Mac Safari back in 2011. Perhaps something related has changed or broken since then?
This snippet works fine in latest (as of filing this bug report) Mac Chrome and Firefox:
<link rel="icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAQAAADZc7J/AAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQflAx4QGA4EvmzDAAAA30lEQVRIx2NgGAWMCKa8JKM4A8Ovt88ekyLCDGOoyDBJMjExMbFy8zF8/EKsCAMDE8yAPyIwFps48SJIBpAL4AZwvoSx/r0lXgQpDN58EWL5x/7/H+vL20+JFxluQKVe5b3Ke5V+0kQQCamfoYKBg4GDwUKI8d0BYkWQkrLKewYBKPPDHUFiRaiZkBgmwhj/F5IgggyUJ6i8V3mv0kCayDAAeEsklXqGAgYGhgV3CnGrwVciYSYk0kokhgS44/JxqqFpiYSZbEgskd4dEBRk1GD4wdB5twKXmlHAwMDAAACdEZau06NQUwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wNy0xNVQxNTo1Mzo0MCswMDowMCVXsDIAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDctMTVUMTU6NTM6NDArMDA6MDBUCgiOAAAAAElFTkSuQmCC" />
But for some reason I haven't been able to get it working in Safari.
I also have a related Twitter thread about this with @othermaciej here: https://twitter.com/othermaciej/status/1493336261901238272?s=21
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220214/691bd15c/attachment.htm>
More information about the webkit-unassigned
mailing list