Browsers Treat Big Sites Differently

Safari와 Firefox는 특정 대형 사이트 도메인에 대해 렌더링 방식을 다르게 처리하는 도메인별 특수 코드를 내장해 사이트별 문제를 우회한다. 반면 Chrome은 시장 점유율이 높아 웹 표준 해석을 주도하며 별도의 도메인별 예외 처리가 필요 없다. 이러한 브라우저별 차이는 웹 개발자들이 Chrome 중심으로 개발하게 만드는 피드백 루프를 형성하며, Safari와 Firefox는 사용자 경험 유지를 위해 사이트별 맞춤 패치를 지속적으로 추가한다. 이로 인해 개발자는 Chrome에서만 테스트할 경우 다른 브라우저에서 발생하는 문제를 인지하지 못할 위험이 있다.

https://denodell.com/blog/browsers-treat-big-sites-differently

#browser #webcompat #quirks #chromium #webkit

Browsers Treat Big Sites Differently

Safari and Firefox change how big sites render based on the domain. TikTok, Netflix, Instagram… even SeatGuru. Chrome doesn’t. Why is that?

Den Odell
Is #Webcompat dead? They have 18k open issues on GitHub. I'm refusing to think that these will be triaged in this lifetime. https://github.com/webcompat/web-bugs/issues
webcompat/web-bugs

A place to report bugs on websites. Contribute to webcompat/web-bugs development by creating an account on GitHub.

GitHub

Again, unfortunately, I go to use a feature that is apparently now supported in Safari/WebKit (and considered baseline on #MDN), only to discover that one of the features isn’t implemented.

Today’s example? The <dialog> element.

After messing around with it and wondering why clicking the backdrop wasn’t closing it even though closedby="any" was set, I find the closedby attribute isn’t implemented at all 😶

Now I have to add some JS that shouldn’t be needed.

#WebKit #CSS #WebCompat #Interop

Similarly… foiled again.

Me, earlier:

Oh cool, the @ page size descriptor is supported by Chrome, Firefox and Safari! I’ll use it for this print and PDF layout that needs to be A4 landscape.

Me, now, actually trying it:

Wait, why isn’t it working? Oh. Oh no. It does not work at all in Safari. And MDN/caniuse.com say it does, but they are wrong (and there is an open issue about it).

The WebKit bug 63575 is from… 14.5 years ago.

*dies* 💀

#WebKit #CSS #WebCompat #Interop #MDN #CanIUse

The year is 2026 and again, today, I still need to use a prefixed version of user-select because WebKit still requires it (-webkit-user-select)…

https://bugs.webkit.org/show_bug.cgi?id=208677

There’s a proposal for it in Interop 2026 and I really hope it was selected (the proposal selection process has already been completed, but the results aren’t expected to be published until next month).

#WebKit #CSS #WebCompat #Interop

208677 – unprefix -webkit-user-select

WebKit Bugzilla
Ok how tf does #Servo v0.0.2 in Android actually render something in #Misskey but not #Mastodon or #Pleroma / #Akkoma. I feel like it should be the opposite lol   

#webcompat

Another great new CSS feature that is starting to be available in more browsers is field-sizing, which allows you to size an input to fit its value with:

field-sizing: content;

Great for UI like tags, where you want to be able to type directly into them and have them automatically resize to fit the text.

(#CanIUse shows the feature as not being available in Safari Technology Preview, even though all the individual child features show that it is available)

#Interop #WebCompat #CSS

If you haven’t used it before, image-set() is used in CSS in any place where you’d normally use an image. Here’s a simple example where the browser will use JPEG XL if it supports it, or JPEG if it doesn’t:

background-image: image-set(
url("bg.jxl") type("image/jxl"),
url("bg.jpg") type("image/jpeg")
);

( you can also specify resolutions, e.g. url() 2x type() )

#Interop #WebCompat #JPEGXL

It’s really nice that we now have wide support for image-set() in browsers so that it’s possible to use JPEG XL in browsers that support it (with automatic fallback to other formats for browsers that don’t), even for cases like background images, which used to be a pain point when all we had was <picture>.

This is an example of the kinds of big wins that can be achieved through the #Interop Project.

#WebCompat #JPEGXL

gentle reminder for webdevs. There is no point putting a sourcemap reference in the JS file if the sourcemap is 403 for people outside of your gated environment. :)

But putting a working reference to the sourcemap is invaluable in helping people working on webcompat to be able to understand why the website is failing and how to help find a fix.

with love from #webcompat