Menu

W3C News

Honor prefers-color-scheme in the CSS Paint API with Custom Properties

December 27th, 2021

One of the coolest things I’ve been messing with in the last couple years is the CSS Paint API. I love it. I did a talk on it, and made a little gallery of my own paint worklets. The other cool thing is the prefers-color-scheme media query and how you can use it to adapt…

Care for the Text

December 24th, 2021

How do you make a great website? Everyone has an answer at the ready: Flashy animations! Illustrations! Colors to pack a punch! Vite! And, sure, all these things might make a website better. But no matter how fancy the application is or how dazzling the technology will ever be under the hood, a great website…

HTML Sanitizer API

December 16th, 2021

Three cheers for (draft stage) progress on a Sanitizer API! It’s the gospel that you can’t trust user input. And indeed, any app I’ve ever worked on has dealt with bad actors trying to slip in and execute nefarious code somewhere it shouldn’t. It’s the web developer’s job to clean user input before it is…

Happy holidays from the World Wide Web Consortium!

December 13th, 2021

As 2021 is drawing to an end, and the impact of the global pandemic continues to be a weighty blow, this is the second year the W3C community has not really seen each other. Yet, we are meeting the needs of a Web which becomes more and more useful to society. So, please accept our…

Test Your Site With Real Users

December 2nd, 2021

A few years ago, there was this French book publisher. They specialize in technical books and published an author who wrote a book about CSS3, HTML5, and jQuery. The final version, however, had a glaring typo on the cover where “HTML5” was displayed as “HTLM5.” Read that twice. Yes. “HTLM5.” (Note that it was also…

Thank you, Angular

November 30th, 2021

Photo by Igor Minar Looking back… I remember it as if it happened just yesterday. A string of semi-random events led me to meet Miško in 2009. Our meeting was followed by this email exchange: On Jul 31, 2009, at 4:47 PM, Misko Hevery wrote: … > Here is the site I am working on. It is…

When is it “Right” to Reach for contain and will-change in CSS?

November 26th, 2021

I’ve got some blind spots in CSS-related performance things. One example is the will-change property. It’s a good name. You’re telling the browser some particular property (or the scroll-position or content) uh, will, change: .el { will-change: opacity; } .el.additional-hard-to-know-state { opacity: 0; } But is that important to do? I don’t know. The point,…

Which SVG technique performs best for way too many icons?

November 23rd, 2021

Tyler Sticka digs in here in the best possible way: by making a test page and literally measuring performance. Maybe 1,000 icons is a little bit of an edge case, but hey, 250 rows of data with four icons in each gets you there. Tyler covers the nuances carefully in the post. The different techniques…

The [New] State of CSS in Angular

November 16th, 2021

It’s been a few years since we last covered CSS on this blog — and a lot has happened since then! In this post, we’ll take a look at new web features that impact how we define styling in our Angular applications. Using @use instead of @import In 2019, Sass introduced a new module system, including a migration from…

Job: Automotive and Transportation Champion (USA, China, Japan)

November 15th, 2021

We are excited to announce an open position (possibly part-time) : Automotive & Transportation Champion, based in the USA or China, or Japan. This is an opportunity for a global leader to drive the overall strategy of applying open web standards to the automotive & transportation ecosystem. The Champion is a thought leader who has…