HNHacker News
TopNewBestAskShowJobs

jensimmons

36 karma · joined February 17, 2015

submissionscomments
jensimmons··on New Safari developer tools provide insight into CSS Grid Lanes
The "brick" layout creates rows, yes. When a regular person looks at it, they will see rows. But Grid Lanes flows content up and down, not across the row.

If you just want content to flow down one row, then the next, then the next, Flexbox is a better solution.

The whole point of masonry layout is that content flows perpendicular to the lane.

jensimmons··on 13-year-old Safari bug: getBoundingClientRect [video]
This is fixed in Safari Technology Preview 232! https://developer.apple.com/documentation/safari-technology-...
jensimmons··on WebKit Features in Safari 17.5
It didn’t go away — it moved. You can disable JS per website in Web Inspector. That way you can disable JS from the site you are building, while being able to use Safari with JS to look things up on other websites.
jensimmons··on WebKit Features in Safari 17.2
Correct.
jensimmons··on WebKit Features in Safari 17.0
You are correct that <div `role=search`> functions the same way that <search> does. But the search element includes the proper support for accessibility by default, where the ARIA role requires a developer to remember to use it.

Plus semantic HTML provides untold assistance for bots, to help them understand the web page — whether that's a search engine bot, machine learning, reader mode, translation engines, or any other computerized system looking to understand the page. Semantic HTML conveys more human meaning to the machines.

jensimmons··on WebKit Features in Safari 16.4
If there is a bug, we will fix it. Bugs can be reported at https://bugs.webkit.org. We would never intentionally prevent web technology from working when a site is added to the Home Screen and opened as a web app.
jensimmons··on Safari 16.4 is an admission
This information is out of date.

https://trac.webkit.org/changeset/242814/webkit

jensimmons··on Interop 2023: continuing to improve the web for developers
If you want all the details on Interop 2023 — which technologies are included and how they impact the scores — read this: https://webkit.org/blog/13706/interop-2023/
jensimmons··on Conditional CSS
Style queries are the only thing he talked about that's Chrome-only, and Chrome hasn't even shipped them yet. They're only available in Chrome Canary behind a flag.

Firefox is working on shipping :has() and Container Queries.

Safari supports everything besides style queries. Many of these, Safari shipped first. More importantly, these days, browsers often ship new CSS around the same time.

Plus you can always use Feature Queries (@supports) to conditionally test for support and apply different CSS depending on what's supported. That way users who haven't updated their software in years have a great experience, too.

So no, you don't have to wait to use this CSS. Just think through what you are doing. Learn how here: https://www.youtube.com/playlist?list=PLbSquHt1VCf1kpv9WRGMC...

jensimmons··on WebKit Features in Safari 16.1
Which CSS standards would you most like to see Safari shipping sooner?
jensimmons··on WebKit Features in Safari 16.1
Yes, as others said.

Also, in Safari you will not get spammed by requests for permission to send notifications. A website or web app can only ask for permission _after_ you've indicated interest with a gesture — like clicking on a "subscribe" bell icon, or a button that says "notify me". They are not allowed to ask you until you've taken the first step.

jensimmons··on New WebKit Features in Safari 15.5
https://jobs.apple.com/en-us/search?search=WebKit&sort=relev...
jensimmons··on New WebKit features in Safari 15.4
Safari is ahead in implementing things like :has() and the new Viewport Units.
jensimmons··on Firefox 72.0
> I don't want my passwords stored unencrypted on disk.

Passwords are always stored encrypted when you save them in Firefox. You can read more about it here: https://support.mozilla.org/en-US/kb/how-firefox-securely-sa...

jensimmons··on The Web Ahead Episode 100: Designing the Web with Jeffrey Zeldman
Jeffrey Zeldman chats with Jen Simmons about privacy, big data, and the need for designers to pay close attention to ethical questions.