Re: 3d favicons

On Sun, Aug 19, 2018 at 9:17 AM Florian Bösch <pyalot@gmail.com> wrote:

> I'd favor making it possible to target the favicon with a canvas directly.
> As in:
>
> <link id="icon" rel="icon" type="image/png" href="..." animated="True">
>> <script>
>>   window.onload = function(){
>>      var icon = document.getElementById('icon');
>>      var ctx = icon.getContext('3d'); // or 2D
>>      ...
>>   }
>>  </script>
>
>
> That way you can put in anything you want (even video) at any speed you
> want (realtime if so desired, or slower), with any technique you want (2D
> canvas or 3D canvas).
>

How would you make it 3d? It seems that would require script to run...
I don't think this approach will work though as the favicon is not part of
the DOM and can be rendered when the document isn't even loaded (ie for
bookmarks). I suspect such a change will be hard to specify and implement

Received on Monday, 20 August 2018 03:35:29 UTC