3 ms·
Exactly. New tags should "fail safe" in old browsers (i.e. do "nothing"). The problem with the mask attribute and "only render the last one" concept is that old
by Someone1234 11y ago
Exactly. New tags should "fail safe" in old browsers (i.e. do "nothing"). The problem with the mask attribute and "only render the last one" concept is that older browsers might not be doing so already, and therefore the new tag doesn't fail safe (it is fail-active, so older browsers might render solid black favicons).
Seems silly. They should just use a new rel value for this specific purpose. Although broadly speaking it feels like the icon rel has had its day, and now we need a replacement that is DESIGNED to support multiple resolutions, and things like masks.
- zimpenfish 11y agoTo be fair, WhatWG does say in https://html.spec.whatwg.org/multipage/semantics.html#rel-icon https://html.spec.whatwg.org/multipage/semantics.html#rel-ic... « If multiple icons are provided, the user agent must select the most appropriate icon according to the type, media, and sizes attributes. If there are multiple equally appropriate icons, user agents must use the last one declared in tree order at the time that the user agent collected the list of icons. » (edit for formatting)
- wvenable 11y ago> If there are multiple equally appropriate icons In this case, the icons are specified that they are equally appropriate but they really aren't.