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.

Z’s Still Not Dead Baby, Z’s Still Not Dead

67 pointsby matthbergover 5 years ago

8 comments

janpotover 5 years ago
maybe a bit unrelated, but Why would you use a selector like<p><pre><code> [src*=&quot;figure&quot;] { </code></pre> ? It&#x27;s as if you&#x27;re trying to set up a time bomb to blow up in a few months. &quot;hey, can you change that image from &#x2F;figure.png to &#x2F;image.png&quot;, boom, half your styling broken. I&#x27;d use a class instead, not only would it be more readable and intuitive and performant, it would also be less likely to break when doing unrelated changes.
dralleyover 5 years ago
Before clicking, I was pretty sure this article was going to be about IBM Z mainframes.
评论 #21886794 未加载
评论 #21881895 未加载
pjmlpover 5 years ago
While a very enjoyable article, also a good example how much one has to go for recreating in the browser what native graphics engines have provided since the last couple of decades.
chrismorganover 5 years ago
&gt; Almost universally, contemporary browsers support the same compositing tools we’ve used in graphic design and photo editing software for years.<p>I (subjectively) don’t think this is <i>quite</i> a fair thing to claim: some still don’t, and those that do can be <i>very</i> buggy, sometimes unusably so.<p>For starters, IE and Edge don’t support it. The article, incidentally, notes this for Edge, then suggesting using `@supports not (background-blend-mode: normal)`. I would suggest considering (whether you decide to do it or not) using progressive enhancement rather than graceful degradation, putting any necessary fallback in place by default, and adding the blending functionality in `@supports (background-blend-mode: normal)` instead: this will make it work for IE, which doesn’t support @supports. Plenty of people still use IE, and it’s generally desirable to structure things to support it where there is no particular cost to doing so. (I’m <i>not</i> suggesting pandering to IE; for my own stuff now, I make sure the content will still be accessible, but care naught about the accuracy of its formatting.)<p>Next, blending is one of the buggier areas of browsers, an area where it’s common to encounter serious bugs (because GPUs are awful, mostly). For instance, for my website redesign a few months ago (<a href="https:&#x2F;&#x2F;chrismorgan.info&#x2F;blog&#x2F;2019-website&#x2F;" rel="nofollow">https:&#x2F;&#x2F;chrismorgan.info&#x2F;blog&#x2F;2019-website&#x2F;</a>) I designed it in Firefox using blending on my left sidebar and experienced no trouble; but when I checked it in Chrome, I was forced to gave up after a while because I kept running into <i>severe</i> bugs there. I think there were three major bugs that I came across; one I don’t recall, but the other two I do:<p>• <a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=711955" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=711955</a>: two and a half years ago, mix-blend-mode on the body regressed, breaking the very first example in the relevant spec. Quite a few people have complained, and the bug has clear and simple reproduction steps; but no action has been taken.<p>• <a href="https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=992398" rel="nofollow">https:&#x2F;&#x2F;bugs.chromium.org&#x2F;p&#x2F;chromium&#x2F;issues&#x2F;detail?id=992398</a>: if you try to blend a large element (like some of my blog posts, when trying to blend essentially the entire page), it stops rendering after 8,192px (or probably 16,384 device pixels, but I haven’t confirmed that), so that half the page is just <i>missing</i>! I failed to devise a workaround. (Others have then claimed performance problems on such large surfaces, and I think it was measurably harming memory usage too, but I didn’t measure it particularly carefully at the time.)<p>So I ended up with a genuinely crippling bug in rendering so that I <i>couldn’t</i> use it the way I wanted to in at least Chrome on Windows, and a total lack of confidence in browser blending.
skaviover 5 years ago
Wouldn&#x27;t this stuff still be considered flat design? There weren&#x27;t any gradients apart from the image of the car.
sudhirjover 5 years ago
Please add a comma after &quot;Dead&quot;. This indicates that the Baby Z is still not dead, and I&#x27;m wondering what this baby has done to deserve its fate.<p>Z&#x27;s Still Not Dead, Baby, Z&#x27;s Sill Not Dead
corvuscorvidover 5 years ago
Zed&#x27;s dead, baby. Zed&#x27;s dead.
评论 #21884144 未加载
Ice_cream_suitover 5 years ago
Disappointing.<p>I had hoped that it was about the Z notation.