#CSSWG

westbrookwestbrook
2025-06-02

Who can tell which is correct?

When visiting codepen.io/Westbrook/pen/gbpMb should there be four red squares (Blink) or four vertical red bars/lines (FF/WebKit)?

Not sure which is the bug to submit one. Help!

The Blink rendering of this page with four red boxes.The FF/WebKit rendering of this with four red lines.
westbrookwestbrook
2025-05-17

and friends... is there a reasonable world wherein we reconciled `ArrowLeft/Right/Up/Down` input with `scroll-snap-type: x mandatory;` output in a way that was..._more_ expected?

2025-05-08

So, a CSS --custom-property can't be used in a @media query because it's scoped to the element where it's declared, the highest in the hierarchy being :root. But what about ones with workable initial-values registered with @property?

Doesn't seem to work with Firefox Dev Ed at the time of writing but couldn't they though? Could this be on the way? Anyone? My search-fu is off.

#CSS #CssWg

westbrookwestbrook
2025-05-08

TFW...

You get all ramped up to use awesome features like Anchor Position and features like and you run into nuanced blockers point you towards having to go back to the bad old days... 😖

Hello `transform: ...` and wanting to break clipping but only _some_ stacking. 🤔

Also, I've love to have the Popover API in CSS so that I could pop a pseudo element over my UI. 🤞

2025-05-01

New blog post: “Fit-to-Width Discussions & Feedback”

blog.kizu.dev/fit-to-width-dis

A bit less than a year ago, I published my “Fit-to-Width Text: A New Technique” article. Since then, CSSWG resolved to start working on it, and, following this, two things happened: a discussion of its potential accessibility issues, and an intent to prototype it from Google.

I have some thoughts, feedback, and ideas about both of these, so here is a post!

#Accessibility #CSSWG #Typography #CSS

2025-04-07

here's a github issue asking for css legend & fieldset to be included proposed form styling improvements. pile on if you want to be able to style that legend properly!!! github.com/w3c/csswg-drafts/is

Inautiloinautilo
2025-03-29


How do we evolve CSS logical shorthands? · There are options, but one major roadblock ilo.im/1630tm

_____

2025-03-25

One of the main reason for some inaccessible custom web UI frameworks is that, it is impossible to style some form controls to make them look alike in all platforms and browsers.

The #CSSWG folks have created a working draft to make the form control styling possible.

w3.org/TR/2025/WD-css-forms-1-

#accessibility #html5 #CSS #FormControls

Amelia Bellamy-RoydsAmeliaBR@front-end.social
2025-03-04

OK, #CSSWG folks, whose brilliant idea was it to make auto-generated heading IDs for anchor links in the CSS spec end with ① or ② or ⑤ characters (for the 1st, 2nd, or 5th heading in a section without an otherwise specified ID).

Looks very cute in a URL bar, but gets copy & pasted as URL encoded character barf. And then there's the likely screen-reader mangling of special characters.

This had better be for Editor's drafts only & prompt a warning to add custom IDs before publication.

🤨

westbrookwestbrook
2025-02-04

Hey friends. 👋 Do we expect View Transitions to bork `background-filter` rules? Pending issue? Known workaround?

Asking for a friend.

Chris Lilley 🏴󠁧󠁢󠁳󠁣󠁴󠁿svgeesus@mastodon.scot
2025-01-28

Downside: missed plane BOS->SFO because wheelchair arrived too late.
Upside:
chase.com/travel/guide/experie

(will still make first day of #csswg meeting tomorrow)

Chris Lilley 🏴󠁧󠁢󠁳󠁣󠁴󠁿svgeesus@mastodon.scot
2024-12-18

The #csswg has published CSS Color HDR 1. This gives a way to control the presentation of HDR content such as video, images etc and also adds several HDR colorspaces to CSS (in addition to the WCG but SDR colorspaces that already exist). #css

w3.org/TR/css-color-hdr-1/

2024-11-20

“Three straw polls is a bad measure of time”

@famulimas at today’s #CSSWG meeting.

westbrookwestbrook
2024-11-04

Does your app have excellent `:focus-visible` states?

Are they the sort of fancy something or other that extends beyond the padding-box of the currently focused element? Read: outline with outline-offset or similar.

Do you notice how those element within a CSS clipping element get...clipped?

What do you do in the face of this reality?

Should we be able to promote elements to the top layer (developer.mozilla.org/en-US/do) via CSS to mitigate this sort of thing?

Inautiloinautilo
2024-10-31


Should masonry be part of CSS grid? · Exploring two CSS syntaxes for waterfall layouts ilo.im/160my8

______

westbrookwestbrook
2024-10-30

So, it looks like `:host:has()` will be landing in Chrome 131 stable! 🥳

codepen.io/Westbrook/pen/WNVJj

See "This is styled text!" in green.

When can we get `:has-slotted` landed? It's behind a flag in Canary, and it works great! 🙏

See "This is extra special styled text!" in green and bold!

westbrookwestbrook
2024-10-30

Does anyone know if there's active spec work going into a `matchMedia()` (developer.mozilla.org/en-US/do) equivalent object for Container Style Queries (caniuse.com/css-container-quer)?

I'm thinking about when Content-Aware Components will be able to pass their knowledge about state down to child elements with CSS Custom Properties and have the JS be reactive to that data in cases where the actual DOM should change based on that state.

Sara Joy :happy_pepper:sarajw@front-end.social
2024-10-29

Hey #CSS people, or #CssWg people --

I know there's discussion about light-dark() eventually being able to do more than just colours. And that in another part of CSS, maybe container queries could include state (like is sticky thing stuck) - mostly I'm like Oooh, could it also get color-scheme state?

Where would I best look up discussions or articles about such things?

Thank yoouuu

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst