---
title: "A Masonry Mistake?"
publication: "Frontend Focus"
issue: 641
published_at: "2024-05-01"
canonical_url: "https://frontendfoc.us/issues/641"
---

Plus printing music with CSS Grid. |       

Together with [![Imagekit\](https://res.cloudinary.com/cpress/image/upload/c_fill,g_auto,e_trim,w_290,h_100/e_make_transparent/co_white,e_outline:7/srf0buoihyfdsnjkebof.png)](https://imagekit.io/blog/nextjs-video-player/?utm_source=Cooperpress&utm_medium=email&utm_campaign=VideoAPI_Newsletter_Q124&utm_term=FrontEndFocus&utm_content=Primary_listing)        

🚀 **Frontend** Focus 

#​641 — May 1, 2024 | [Read on the web](https://frontendfoc.us/issues/641)      

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1714507636/fiqx14pvcvpajr8we4kg.png)](https://developer.chrome.com/blog/masonry?hl=en)  

[An Alternative Proposal for CSS Masonry](https://developer.chrome.com/blog/masonry?hl=en) — Last week we shared [WebKit’s thoughts on how to approach creating masonry type layouts](https://webkit.org/blog/15269/help-us-invent-masonry-layouts-for-css-grid-level-3) in CSS. Now the Chrome team has weighed in, stating that “_implementing it as part of the CSS Grid specification [..] would be a mistake_”, and they think it should be its own _separate_ layout method defined using `display: masonry` or something similar. 

Rachel Andrew (Chrome)   

🤔 Kevin Powell has [shared his thoughts](https://www.youtube.com/watch?v=azs0xtt_tJc) over on his channel, highlighting the broader layout disagreement at play here. Plus, [Chris Coyier has penned some feedback too](https://frontendmasters.com/blog/feedback-on-masonry-layout/).  [![\](https://copm.s3.amazonaws.com/b4666be2.png)](https://imagekit.io/blog/nextjs-video-player/?utm_source=Cooperpress&utm_medium=email&utm_campaign=VideoAPI_Newsletter_Q124&utm_term=FrontEndFocus&utm_content=Primary_listing) 

[Here's a Simple Video API for Your Next.js Application](https://imagekit.io/blog/nextjs-video-player/?utm_source=Cooperpress&utm_medium=email&utm_campaign=VideoAPI_Newsletter_Q124&utm_term=FrontEndFocus&utm_content=Primary_listing) — Integrate a video player into your Next.js applications! Learn about HTML5 video tag, video.js library, and how you can unlock more functionality and performance with the ImageKit Video API. Deliver an optimized, buffer-free video stream every time. 

ImageKit sponsor   

[The Popover API is Here](https://frontendmasters.com/blog/popover-api-is-here/) — The [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API) now [has broad support](https://caniuse.com/mdn-api_htmlelement_popover), and as such Chris gives us a brief overview of how it differs from `<dialog>` and how we may want to approach using it. 

Chris Coyier     

⚡️ Quick Links 

- 📱 Soon you won't have to rearchitect your MPA into an SPA, thanks to [same-origin cross-document view-transitions](https://groups.google.com/a/chromium.org/g/blink-dev/c/LsA567xpe7k).
- 🦊 Firefox Nightly is [now available on Linux for ARM64](https://blog.nightly.mozilla.org/2024/04/19/firefox-nightly-now-available-for-linux-on-arm64/).
- 🖍️ The Edge team has announced they're [deprecating the CSS](https://blogs.windows.com/msedgedev/2024/04/29/deprecating-ms-high-contrast/) `-ms-high-contrast` media query and `-ms-high-contrast-adjust` property, in favor of modern standard-based features.
- ⚡️ It's been 14 years since Steve Jobs shared [his "thoughts on Flash"](https://www.webdesignmuseum.org/web-design-history/steve-jobs-and-his-thoughts-on-flash-2010).
- 🌐 ..and it's been [31 years since](https://twitter.com/github/status/1785266917998989581) CERN put the worlds first web browser, _WorldWideWeb_ into the public domain.
- 🪟 The Arc browser is [now available on Windows](https://twitter.com/browsercompany/status/1785309803201405116).     

📙 **Tutorials, Articles & Opinion** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1714558110/of8co5r2niyb3ijvpvdm.png)](https://cruncher.ch/blog/printing-music-with-css-grid/)  

[Printing Music with CSS Grid](https://cruncher.ch/blog/printing-music-with-css-grid/) — The author notes (_pun very much intended_) that music notation on the web should be as accessible and fluid as text is - but how do we go about fixing it so musicians don’t have to fumble pinch-zooming a PDF during a gig? Lots of good examples here and a reminder of just how far you can take CSS! 

Stephen Band   

▶[Optimizing INP: A Deep Dive](https://www.youtube.com/watch?v=cmtfM4emG5k) — A good step-by-step instructional video on digging into responsiveness issues in Chrome’s Performance Panel (_29 minutes_). 

Brendan Kenny (Chrome for Developers)   

[Learn Modern UI Engineering with Web Components and Web Standards](https://bluespire.com/p/web-component-engineering?utm_source=frontendfocus&utm_medium=email&utm_campaign=wcec-2&utm_content=sponsor-link) — 13 modules, 170+ videos, and an interactive learning app guide you from novice to expert with the latest web standards. 

Blue Spire sponsor   [![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1714561779/a0aogrtrq4sny2s4wqjw.png)](https://ishadeed.com/article/tree-view-css-indent/) 

[Handling the Indentation of a Treeview Component](https://ishadeed.com/article/tree-view-css-indent/) — How should you approach building a UI that contains nested components, with an increasing indentation for each one? Ahmad looks at solving it with CSS. 

Ahmad Shadeed   [![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1714561152/rfuqj1ei1iqbmzok8tgt.gif)](https://tympanus.net/codrops/2024/05/01/reaction-diffusion-compute-shader-in-webgpu/) 

[Reaction-Diffusion Compute Shader in WebGPU](https://tympanus.net/codrops/2024/05/01/reaction-diffusion-compute-shader-in-webgpu/) — A look at how to use WebGPU compute shaders to create some rather wild looking patterns. Support is limited right now, but it’s a neat effect. 

Robert Leitl   

[Passkeys: A Shattered Dream?](https://fy.blackhats.net.au/blog/2024-04-26-passkeys-a-shattered-dream/) — William, who has his own [web auth project](https://crates.io/crates/webauthn-rs), shares some concerns and growing disillusion with passkeys. 

William Brown   

[The `Intl.Segmenter` Object is Now Part of Baseline](https://web.dev/blog/intl-segmenter) — For interoperable, locale-sensitive text segmentation. 
Rachel Andrew   

[Creating Fluid Typography with the CSS `clamp()` Function](https://www.sitepoint.com/fluid-typography-css-clamp-function/) 
Daine Mawer  

🔧 **Code, Tools & Resources** 

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/tv4tnuw0dwhozgx5b5yr.jpg)](https://www.designsystemhunt.com/)  

[DesignSystemHunt: A Curated Collection of Design Systems from Popular Brands](https://www.designsystemhunt.com/) — Currently includes links and info on 140+ different design systems from various startups, brands, tech companies, etc. 

DesignSystemHunt   

[extension.js: Zero-Config, Cross Browser Extension Dev Starter](https://extension.js.org/) — The goal is to make it as simple as a `npx extension create my-extension` to get started with building your own browser extension. [GitHub repo.](https://github.com/cezaraugusto/extension.js) 

Cezar Augusto   

[Transformational Auth & Identity | Userfront](https://userfront.com/?&utm_source=frontendfoc-us&utm_medium=newsletter_sponsored_link&utm_campaign=magnitude&utm_content=transformational) — "Compared to our previous experiences in the security/auth space, Userfront is an order of magnitude simpler to use." 

Userfront sponsor   [![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1714560088/qurdfpybkyitfsbhdjmu.png)](https://popicons.cc/) 

[Popicons: A Set of Free Figma/SVG Icons in Line, Solid & Duotone Styles](https://popicons.cc/) — Designed in Figma and you can download the whole lot or go directly to the [searchable gallery](https://popicons.cc/icons) and copy the SVG code directly. 

Popicons   

[Only <Spans>: Each Element on This Page is a `SPAN`](https://onlyspans.net/) — A silly what-not-to-do experiment that demonstrates the fact that every element on a page can be an HTML `<span>` element but modified for different roles using CSS. 

OnlySpans   

[Fluid for Tailwind CSS](https://fluid.tw/) — A fluid `clamp()` plugin for Tailwind that works with every utility. [Repo here](https://github.com/barvian/fluid-tailwind). 

Maxwell Barvian   

[JSON Generator: An Intuitive Tool for Crafting Complex JSON Structures](https://www.jsongenerator.io/) — Includes 40+ “template tags” (or functions) that you can incorporate into the JSON template so you can generate specific types of content for use in testing, mocking, teaching, and so on. 

JSON Generator    

😈 ...and finally  

[![\](https://res.cloudinary.com/cpress/image/upload/w_1280,e_sharpen:60,q_auto/v1714562251/zqyhkwbkywntafyyykyo.png)](https://codepen.io/cobra_winfrey/pen/oNOMRav)  

['Doom' Scroll](https://codepen.io/cobra_winfrey/pen/oNOMRav) — A neat demo of [`@scroll-timeline`](https://caniuse.com/css-scroll-timeline) — a new CSS property that allows animations to be driven by a container’s scroll position. YMMV on browser support here. 

Adam Kuhn    

📬 

**Got a new email address?** You can [change your email here](https://frontendfoc.us/edit_subscription/*|UID|*). 

--- 

**Bored of us?** Click [here to stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*). 

--- 

**Got a link for us?** Reply and tell us. We can't include everything but we'll take a look. 

--- 

Published by Cooper Press Ltd.
Curated by [Chris Brandrick](https://mastodon.social/@brandrick) & [Peter Cooper](https://twitter.com/cooperx86).
Fairfield Enterprise Centre, Louth, LN11 0LS, United Kingdom 

[Stop getting this newsletter](https://frontendfoc.us/leave/*|UID|*)  

[Ipx.](https://frontendfoc.us/open/641/*|UID|*?ipx=t)
