Anthony Frehner

@frehner.me

Web, standards, tooling, sports, video games. https://frehner.me Working @Shopify, on Polaris (web components)

Oh this is maybe fun - a pure CSS way of hiding a “slot” of children if there are any children in that slot that aren’t allowed. For example, a Button Group component that only allows Buttons as children; otherwise the slot is display:none’d Maybe I’ll write a tiny thing about this.

Hi! I'm working on a new HTML feature: filterable select There are two proposed API shapes so far: 1. Nesting <input> in <select> 2. Sibling <input> for listbox <select> w/id ref Option 1 is more ergonomic, but would break selects in older browsers Thoughts? (Both currently in Canary w/flag)

Crazy and somewhat feasible idea of the day (with @nerdy.dev): Decompile CSS Style Queries to Space Toggles for older browser support but written in the better syntax Not a 1:1 comparison, limited in some ways, but if you live in those constraints, could work.

How’s moveBefore coming along? Are libraries adding support for it or still waiting it out? Would be nice to use the connectedMoveCallback lifecycle

If you put 60 on the microwave, you get 60 seconds If you put 90, you get 90 seconds If you put 120, how many seconds do you get? A: 120 seconds B: 80 seconds C: I only use “+30 seconds” button ever so I don’t have to think about this

What I really need is a calendar event type that not only notifies me beforehand, but ALSO notifies me before the event ends. For when you not only have to drop someone off at an event, but also pick them up. (Children, family, friends, etc)