TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Safari Ruined My Tuesday

144 pointsby colinarmsover 3 years ago

19 comments

klodolphover 3 years ago
&gt; It&#x27;s like living with IE6 again<p>There is a CSS bug.<p>CSS bugs are dirt common. It&#x27;s a miracle that there are as few CSS bugs as there are. However, I remember IE6. IE6 was a total fucking mess. Everything was broken on IE6. It wasn&#x27;t just a bug, it was a complete support nightmare.<p>I routinely encounter problems with CSS that reveal maddening differences between Chrome, Firefox, and Safari. That&#x27;s just for desktop. But it&#x27;s still way better than dealing with IE6.
评论 #29171623 未加载
评论 #29170601 未加载
评论 #29174590 未加载
评论 #29174284 未加载
Vinnlover 3 years ago
Heh, reading the title I thought this was going to be someone losing all their tabs because &quot;clear history&quot; on mobile Safari apparently does that: <a href="https:&#x2F;&#x2F;twitter.com&#x2F;SaraSoueidan&#x2F;status&#x2F;1457307545815732233" rel="nofollow">https:&#x2F;&#x2F;twitter.com&#x2F;SaraSoueidan&#x2F;status&#x2F;1457307545815732233</a><p>&gt; Oh dear God.. Clearing history on Safari iOS closes all currently-opened tabs?! Why is there nothing that warns you of that?! Why does clearing history on mobile work differently from the way it does on mac? I had 60+ important tabs open and now they&#x27;re gone!!<p>&gt; I had so many notes, bookmarks, and links I needed to use in my course + so many pages unrelated to work, all open for later reference. And no I don&#x27;t have a backup to restore from. What the heck, Apple?!
评论 #29174488 未加载
评论 #29177741 未加载
评论 #29175057 未加载
评论 #29174452 未加载
wffurrover 3 years ago
Part of the problem is the very slow release cadence of Safari. Features are tied to annual OS releases, bug fixes seem to often not meet the bar for incremental updates, which have no discernable schedule.
评论 #29174676 未加载
评论 #29174447 未加载
评论 #29174443 未加载
syspecover 3 years ago
I encounter random CSS bugs all the time in Chrome, it&#x27;s just trendy to say Safari is behind the times.<p>Google wants everything to be done in the browser, their browser, so they can track everything without cookies to sell ads
评论 #29170761 未加载
评论 #29170989 未加载
评论 #29170937 未加载
评论 #29170863 未加载
评论 #29170853 未加载
tgvover 3 years ago
Chrome fucked up one of my days, because it suddenly changed the way updating a video element&#x27;s source worked. On Android 11, and not even all platforms, by the looks of the log files. So, you hack around it, deploy, shrug, and add a notch to your eternally flaming hatred for everything the internet has become.
cdriniover 3 years ago
Yikes, that&#x27;s an awful bug. I make heavy use of pointer-events none. And I&#x27;ve _already_ had to have a special case for Safari, because it didn&#x27;t seem to support setting `pointer-events: all` on SVG tspan elements. Now I have to double check to see if&#x2F;what is broken in Safari 15 :(
foucover 3 years ago
My general recommendation is to make Safari your main browser for development work. Check your work in Firefox later. By that point it should be good.<p>If any weirdness shows up in Chrome, you&#x27;ll just end up comparing it to IE6.
评论 #29170883 未加载
评论 #29170945 未加载
评论 #29171006 未加载
评论 #29171053 未加载
blondinover 3 years ago
i sympathize with the author.<p>safari and browsers aside, there is something bigger going on. there is a massive disconnect between applications users and makers nowadays. i have started to think that they a) don&#x27;t care b) have misaligned priorities c) have weird notions of &quot;acceptable&quot; errors.<p>i have a long list of applications that break every time there is an update. even UX updates introduce bugs nowadays. i have started to dread updates and upgrades.<p>we have lost all notion of stability.
评论 #29170980 未加载
评论 #29170737 未加载
ncakeover 3 years ago
In my brief experience in front-end, I&#x27;ve encountered weird Safari bugs on every single project.<p>In one case the code failed because the form object there doesn&#x27;t implement the method to validate and submit. In another, it wasn&#x27;t sending a form field if it was styled with &quot;display: none;&quot; (had to change to &quot;left: -9999px;&quot;). In another, playing a non-muted video would error out some of the time, if clicking an element wasn&#x27;t recognized as a user event. In yet another, the mobile version refused to center text inside &lt;button&gt; no matter what. And so on.
Cianticover 3 years ago
&gt; CSS includes a handy pointer-events attribute that makes buttons and links flip to non-interactive<p>Except that it doesn&#x27;t, you can still focus those with keyboard and click them. You should always disable buttons with `disabled` property instead of that hack.
评论 #29174806 未加载
concindsover 3 years ago
It&#x27;s quite interesting to read the history of how Blink came to be[0]. Seems like it started on what amounts to a misunderstanding. And now, because of it, Safari&#x27;s fallen hopelessly behind in web standards support, security, and even resource use (see RAM use in Safari vs Chrome with many tabs open, Safari uses 1.5x-2x more RAM). Apple&#x27;s big weakness is that it has laser focus on a few cash cows, and lets everything else linger; the quality of Chrome developer relations, carefulness to not break things in updates (see Safari &amp; IndexDB), huge resources invested in Chrome security, and focus on features and power users (tab list in the menu bar! tab search that doesn&#x27;t take seconds to load on x86! better UI! tabs on top! multiple profile support! ability to open local HTML files without going into the Develop menu!). Why can&#x27;t Apple just care to make a good browser?<p>Does anyone have any insights into how the Safari team functions at Apple, and why they&#x27;re not catching up?<p>[0]: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5489641" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=5489641</a>
michaelbuckbeeover 3 years ago
I had the weird experience of someone reporting that a SSL issue was occurring in Safari but not with Chrome.<p>After a bunch of investigation and rabbit holes it turned out that it was an app issue where the &quot;_&quot; character wasn&#x27;t being filtered from sub-domains.<p><a href="https:&#x2F;&#x2F;my_name.domain.com" rel="nofollow">https:&#x2F;&#x2F;my_name.domain.com</a> -&gt; works in Chrome, not in Safari<p>This is interesting to me as Safari is _correct_ in their implementation (that the underscore character isn&#x27;t valid in domains), but again an instance of FF+Chrome working where Safari doesn&#x27;t.
评论 #29174169 未加载
MisterSandmanover 3 years ago
I didn&#x27;t even have to open the article to know it&#x27;s a CSS bug.
Matthias1over 3 years ago
When you&#x27;re doing cross-platform development like this for the web, you&#x27;re going to have a &quot;least common denominator&quot; that you have to design for. Safari is that least common denominator right now only because Microsoft switched to using Chromium. But if Apple switched Safari to use Chromium, then Firefox would be the least common denominator and supporting Firefox would suddenly seem like a burden.<p>It&#x27;s fine to criticize Safari and encourage Apple to do better in the space, since Apple isn&#x27;t super incentivized to improve Safari. But this narrative that always targets the browser with the smallest feature-set at any given time will only stop when all browsers are Chromium based. (At which point they&#x27;ll start complaining about other browsers using a Chromium version that&#x27;s slightly behind Chrome.)
评论 #29176257 未加载
baggy_troughover 3 years ago
The * in that css rule is pretty painful.
评论 #29175392 未加载
eyelidlessnessover 3 years ago
I’m not at my desk to try it right now, but I wonder if this can be worked around by forcing a repaint. Animating a custom property, for instance, can fix “stuck” styles for eg scroll shadows (see <a href="https:&#x2F;&#x2F;www.bram.us&#x2F;2019&#x2F;10&#x2F;24&#x2F;pure-css-scroll-shadows-vertical-horizontal&#x2F;#note-mobilesafari" rel="nofollow">https:&#x2F;&#x2F;www.bram.us&#x2F;2019&#x2F;10&#x2F;24&#x2F;pure-css-scroll-shadows-verti...</a>).
tofukidover 3 years ago
Here’s my latest browser issue that drove me crazy: In Safari the TextMetrics.actualBoundingBoxRight returned from CanvasRenderingContext2D.measureText() includes dangling spaces, and Chrome does not. So you’ll get different text measurements if the text has a space on the end, which broke my app’s logic of rendering multiline rich text in Chrome. Ugh.
slivanesover 3 years ago
I&#x27;m trying to figure out which browser is the biggest cancer for the WWW.<p>On the one hand, you have Safari whom has a parent company that isn&#x27;t interested in making it have useful feature parity with the others because it&#x27;ll then allow escape from their gravy train app store (fully working PWA&#x27;s, non-compete with rendering engines in iOS). Their lack of keeping up is starting to look a bit like IE6 days.<p>And on the other, you have Chrome whom has a parent company that claims it wants to improve privacy (FLoC), but to me it is more of a &quot;pulling the ladder up on everyone else&quot; because they have so many other methods to track you (DNS, GA, Android, etc.) that limiting everyone would be disingenuous. Pushing AMP is another example of bullying behavior.
评论 #29170693 未加载
评论 #29174015 未加载
评论 #29170822 未加载
throwawayswedeover 3 years ago
&gt; This is a post about a bug in Safari, but if you just want to ship a Phoenix app, the easiest way to learn more is to try it out; you can be up and running in just a couple minutes<p>I&#x27;m sort of sick of this phenomena&#x2F;trend of marketing&#x2F;promotional material being masked as technically helpful content.<p>This is exactly like the appalling methods of native advertising (aka sponsored content), but now used for self-promotion.
评论 #29175877 未加载