DE version is available. Content is displayed in original English for accuracy.
Advertisement
Advertisement
⚡ Community Insights
Discussion Sentiment
56% Positive
Analyzed from 690 words in the discussion.
Trending Topics
#css#still#don#browsers#old#https#mode#hacks#quirks#last

Discussion (18 Comments)Read Original on HackerNews
There came a point where if you wrote good HTML/CSS that passed the W3C validator, you were golden on pretty much any device. This still rings true today.
https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/V...
I used these CSS styles in the late 90s to make internal browser-based apps for our call centre agents that looked & felt more like native Windows desktop apps.
---
Shameless plug:
In neutrino (my webview wrapper), we grab those and inject them as prefixed CSS variables (--neutrino-NameOfSystemColor).
Works on windows/macos/gtk/qt, and except for qt it works live (if the user changes the accent tone, the CSS variable updates automatically).
https://alganet.dev/neutrino/ Screenshot of Mint: https://imgur.com/a/WyjpwsR
I remember having to use Javascript to generate the image path (I cannot quite remember why absolute or root-relative URLs were not an option for us though...)
Unfortunately that means everyone targets chrome.
Then you end up with shit performance or broken sites in Firefox [1].
You'd think with "AI" they could generate js/css that works in both browsers...
[1] Which is the only browser that can still run proper ublock origin...
Edit: someone pointed below that the compatibility problem's magnitude is much smaller. Seems flagged and dead for unknown reasons.
The magnitude is probably much smaller, but that makes it worse, because people will just forget about FF.
Also I agree the thing about Meerita's post being flagged and dead seems wrong. There is evidently nothing wrong with the post and it should not be.
... i haven't been able to download my invoices off the Orange Romania site for months in Firefox. They work perfectly in Chrome.
Somehow I bet the ones that fucked up the functionality got a raise instead of being fired.
[1] https://technology.blog.gov.uk/2016/10/21/gaining-understand...
I wonder how many collective years of developers’ lifespans were dedicated just to addressing its quirks.
Some of those hacks were specifically for IE, and there was a debate on staying quirks vs going standards mode. Each had its own drawbacks and choices.
i was seen as a genius at work for understanding quirks mode and how JScript differed from javascript/ecmascript