Conversation

Can use codepen.io/sosuke/pen/Pjo to generate a filter chain closely approximately the color via the probabilistic algorithm above. Tweaking it to use a loop until it gets one with insignificant loss is simple enough and it doesn't take long. How is the web this screwed up though?
1
3
Replying to and
Using 100vh as min-height is our baseline approach but that doesn't actually work consistently / properly. We need the CSS stretch feature (formerly called fill-available and fill, forget the exact history) which isn't fully standardized yet so it's as -webkit-fill-available.
1
Replying to and
Chromium silently broke the design at one point and started showing the footer immediately under the content since they changed the semantics of -webkit-fill-available as the spec evolved. We didn't notice for a while and then had to figure out the weird workaround needed for it.
1
2
Replying to and
Ended up having to set -webkit-fill-available for html in addition to body and that resolved it. Guess you need to apply it all the way up the page in order to fill the available space now. Anyway, depending on underspecified, evolving and often buggy WIP features isn't great.
1
Replying to and
What I really need to figure out is twitter.com/DanielMicay/st. Our site now has a favicon.svg changing color based on whether the browser has dark mode enabled. Chromium prefers favicon.ico since it wants hand-crafted pixel art for 16x16, 32x32, etc. which we don't have anyway.
Quote Tweet
Really annoyed at a combination of Chromium and Safari issues right now. Safari doesn't have SVG favicon support yet and Chromium won't use an SVG favicon if there's an ICO favicon defined. Need Chromium to use the SVG favicon so we can extend it to change based on dark mode.
1
Replying to and
Fucking web development. It's honestly harder to deal with some of this nonsense than fixing these awful use-after-free bugs, etc. I need to get access to desktop Safari so I can figure out how to work around it by doing something like setting favicon.ico via a Link header...
1
Replying to and
I also found a memory corruption bug in Firefox while looking into this stuff where it triggers a double free. You have no idea how much time I wasted on this SVG mask and favicon nonsense at this point, lol.
1