Email or username:

Password:

Forgot your password?
170 posts total
Bramus

`el.className` and `el.htmlFor` have such unusual names because `class` and `for` used to be reserved words in JS. That hasn't been true for property names for 10+ years.

Firefox is experimenting with adding `el.class` and `el.for`, yay!

github.com/whatwg/html/issues/

Stuart Langridge

@jaffathecake this year has been a succession of discoveries of stuff which I have believed is true for years (sometimes decades) and I have never revisited. Radix parameter to parseInt()? Not required. NodeLists don't have .forEach? Yes they do. Property names are allowed to be reserved words? This is the latest surprise. Next someone will tell me that with{} is OK or something

Bramus

"Patrick McCray @patrickmccray.bsky.social

If you're having a rough day, remember that in 1991 Tim Berners-Lee's paper for the World Wide Web was rejected and he was relegated to the poster session.

bsky.app/profile/patrickmccray

Woah

Patrick McCray @patrickmccray.bsky.social

If you're having a rough day, remember that in 1991 Tim Berners-Lee's paper for the World Wide Web was rejected and he was relegated to the poster session.

Inside the post is an image of Tim Berners-Lee's poster for the World Wide Web
Show previous comments
Martin Escardo

@impactology

Similarly, Tim Griffin's paper on giving a type to call/cc and the conclusion that call/cc implements Goedel's double-negation translation of classical logic into constructive logic was rejected from LICS, the top conference in Theoretical Computer Science.

His work has created a research industry that is still alive today, after 35 years, with thousands of papers.

He has the rejection letter hanging in a wall in his office.

LICS now has the "test of time award", but only for papers published in LICS.

They should also have test of time awards for papers that are rejected from LICS, so that something is learned from that.

@impactology

Similarly, Tim Griffin's paper on giving a type to call/cc and the conclusion that call/cc implements Goedel's double-negation translation of classical logic into constructive logic was rejected from LICS, the top conference in Theoretical Computer Science.

His work has created a research industry that is still alive today, after 35 years, with thousands of papers.

OddOpinions5

@impactology
since the thing isn't readable, and no one here is an expert on the state of the art then, hard to tell if this should or shouldn't have been a poster but why let facts spoil a snarky post ?

Bramus

@matthiasott is on the bad@CSSpodcast this week, sharing what they still struggle with, AND we nerd out on **how much we adore the lack of control we have in web design**.

Check it out on YouTube
youtube.com/watch?v=zSK76r1zEF

nerdy.dev/bad-at-css-with-matt

Adam Argyle

@matthiasott Matthias, thanks again for coming on, you're so cool and I really love learning from you!

Bramus

A often-heard complaint about View Transitions is how it handles clip-path, border-radius, opacity, …

The snapshots fade, while you’d want the clip-path to actually animate. Also, nested elements bleed out their container because the snapshots are a flat list instead of a nested tree.

Bramus

But what if we solved that? So that you’d get the following instead:

- The clip-path on the circle transitions
- The text stats clipped by the circle

That’s much better, right?

Bramus

👀

To provide some context. My web preferences API proposal has been upstreamed to CSS media queries draft spec.
drafts.csswg.org/mediaqueries-

Vadim Makeev

@Lukew Does it mean light/dark themes switching without hacking around? 😱

Bramus

#w3cTPAC
🎬 Watch this video from @rachelandrew introducing a new #CSS property that has an experimental implementation in #Chrome:  'reading-flow'
▶️ youtu.be/-9qZAR2nKiU

reading-flow
Bramus

🚀 Is the snappy thing snapped? Is the sticky item stuck? Oh, how I wanted to write that title! In this article, I'm taking a look at ⭐ state-queries in CSS ⭐ with some Pokemon themed demos.

utilitybend.com/blog/is-the-st

Bramus

LLM tools like ChatGPT and Claude makes the question of "Should designers code?" a funny one. These tools makes creating code trivially easy. In fact, you can create a functioning prototype of an idea in the time it would take you to draw 4 rectangles in Figma. I

In the video, I wanted to show how I can take an idea kicking around in my head out into the world in just a few minutes: youtu.be/5PfQNSxn0vs?si=ESvCJy

Bramus

I recorded a short video for TPAC to introduce the reading-flow property, which now has an experimental implementation in Chrome. w3.org/2024/09/TPAC/demo-css.h

#css #w3c

Rachel Andrew

There's also bonus Max in this video. I think he may be the distracting background I was warned about. He had been asleep in his hammock, which is just out of shot, and quietly emerged. Watch for the CSS, or the cat, or both!

Bramus

The new Web Weekly Newsletter is out.🥂 This time:

✅ What makes good forms?
✅ Accessible name computation
✅ `display: contents`
✅ Why not only `p` elements are paragraphs in HTML as 😱
✅ Styleable selects in Chrome Canary
➕ New tools & more platform updates.

Enjoy!👇

stefanjudis.com/blog/web-weekl

Web Weekly — Your friendly web dev newsletter
Bramus

📣 New post

Safari just launched a major new CSS feature in Technology Preview. Here’s what it is, some things you can do with it, and how to use it today with a fallback.

typetura.com/blog/unit-divisio

Bramus

I thought I needed a `:nth-next-sibling(n)` in #CSS but I actually don't. `:nth-child(n of <selector>)` is a powerful beast! :css:

Wrote a quick post about it here: chriskirknielsen.com/blog/nth-

Bramus

learn about #CSS `interpolate-size: allow-keywords;` from @bramus on the Chrome Blog

Animate to height or width `auto`!

developer.chrome.com/docs/css-

Stefan Eissing

@argyleink @bramus @tomayac These browser ui adventures where the mouse hero sets out to find secrets and hidden meanings left behind by the Builders…

This is a game from fifteen years ago. 🙈💁🏻‍♂️

Bramus

When doing a performance trace with Chrome DevTools in Chrome Canary, it now shows you additional info for animations:

1. The animation name
2. The associated DOM node
3. Whether the animation could be composited or not and specifically why that is the case

This information was always there under the hood, but DevTools never surfaced it. Before you had to go through Chrome Histograms – or do a proper trace – in order to get this info.

Now, it’s just there. Very exciting 🤩

When doing a performance trace with Chrome DevTools in Chrome Canary, it now shows you additional info for animations:

1. The animation name
2. The associated DOM node
3. Whether the animation could be composited or not and specifically why that is the case

This information was always there under the hood, but DevTools never surfaced it. Before you had to go through Chrome Histograms – or do a proper trace – in order to get this info.

Screenshot of the feature
Bramus

looks like popover light dismiss is still broken in safari 18 (but there's a strange workaround: add a pointerdown on your body)

bugs.webkit.org/show_bug.cgi?i

Konnor Rogers

@mayank `:active` for buttons also never fires on mobile safari unless you have a pointer event on the body 🙃

Russ

@mayank I'm not sure the pointerdown worked in some situations or was more trouble that it was worth. Anyway surely this should be fixed by now, it has worked in Safari Desktop for some time and 'light dismissal' is one of the key features of popover.

Bramus

Exciting release, as Safari now joins Chrome in supporting (Same-Document) View Transitions and Style Queries! 🎉

🔗 View Transitions: developer.chrome.com/docs/web-

🔗 Style Queries: developer.chrome.com/docs/css-
front-end.social/@jensimmons/1

Bramus

Current status: PARACETAMOL 🤧🤒

Brecht

@bramus If not working, add ibuprofen! or how we say in dutch: "Waarom kiezen als ge kunt combineren"

James Basoo

@davatron5000 Seems like it's headed in a good direction. It's been sorely needed for so long!

Dan Ryan :dryan:

@davatron5000 if they can do this then html includes should be a piece of cake

Go Up