Elektrine
Log in Register
Paige Chat Timeline Gallery Friends Email Drive DNS Private DNS Domains VPN Kairo Nerve
Remote

westbrook

@westbrook@mastodon.social
mastodon 4.8.0-nightly.2026-10-06
  • Open on mastodon.social

Open web enthusiast. Maker of things with HTML, CSS & JS. Trombonist. Food lover. 日本語OK. Opinions are owned by no one but my myself.

0 Followers
0 Following
12 Posts
Joined October 27, 2022
Website:
https://westbrookjohnson.com
Music:
https://music.kwjtrio.com
Blog:
https://blog.westbrookjohnson.com
Other writing:
https://dev.to/westbrook
Open post
westbrook @westbrook@mastodon.social
· 3w ago

Ooooie! These customizable selects look HOT in Safari 27. 🥰

#developingDesignSystems #webDev #testingTheWebForward #webkit #safari

mastodon.social
4
0
1
0
Open post
westbrook @westbrook@mastodon.social
· 6mo ago

Do I know any @developers@chromium.social devs that work close to #css that I could nerdsnipe into figuring out how chromium could catch up to webkit in so far as a `:host(:has(~ ul li)) {}` selector?

See it in action, here: https://codepen.io/Westbrook/pen/EayLZow

Checkout the #CSSWG convo, here: https://github.com/w3c/csswg-drafts/issues/11859#issuecomment-3834942939

#webComponents developers want all the same `:has()` goodies that anyone can leverage, and you could be the hero we both need and deserve!! 🦸

mastodon.social

Mastodon

5
5
6
0
Open post
westbrook @westbrook@mastodon.social
· 6mo ago
Replying to
@bkardell And, most especially, the ones that hung out with other gods...gods are not a social species. Make war, make hunger, make off for your alone time on a cloud; that is the life of a god.
1
1
0
0
Open post
westbrook @westbrook@mastodon.social
· 6mo ago
Replying to
@zacky@m.marchbox.com The fact that it works quite well in WebKit just leaves one wondering what about the Chrome CSS parsing is so...lacking? 🤣
1
1
0
0
Open post
westbrook @westbrook@mastodon.social
· 6mo ago
Replying to

@zacky@m.marchbox.com A great question, and certainly a reason to hope that Chrome wouldn't have much issue getting into this style of selector!

However, these's no self selector in :host-context(). Always it's interpreted as:

:host {
  .host-context & {
    /* You're in a host context. */
  }
}

It being deprecated, maybe the same intrepid implementor who was going to pull this out of Chromium would be interested in replacing it with extended :host:has(...) and :host(:has(...)) support 🤞

1
3
0
0
Open post
westbrook @westbrook@mastodon.social
· 28mo ago
Replying to
@owa 素晴らしい‼️
0
0
0
0
Open post
westbrook @westbrook@mastodon.social
· 2w ago

What does it all even mean any more?

0
0
0
0
Open post
westbrook @westbrook@mastodon.social
· 6d ago
Do the dance macabre! https://greenlung.bandcamp.com/track/dance-to-the-grave-2 There's no better to day to take a listen to this new album from #greenLung on #bandcamp that today! And no better today than one that happens in October, the spookiest of months. 👻 👺 👹 🎃 Especially with #bandcampFriday coming up... #music #necropolitan #youShouldListen
Dance to the Grave, by GREEN LUNG
GREEN LUNG

Dance to the Grave, by GREEN LUNG

from the album Necropolitan

0
0
0
0
Open post
westbrook @westbrook@mastodon.social
· 6mo ago
Replying to

@bramus@front-end.social I'd argue the the use of --arg makes the application of the value local, which aligns more to this: https://codepen.io/Westbrook/pen/raMJByv than to what you've shared.

Maybe that's not how mixins work, but it's definitely how I'd read them. Your example feels more like the mixin is:

:root {
  --foo: 10em;
}

@mixin --foo() {
  @Result@mastodon.social {
    &, & > h2, & + p {
      width:  var(--foo);
    }
  }
}
codepen.io
0
0
0
0
Open post
westbrook @westbrook@mastodon.social
· 6mo ago
Replying to
@leaverou@front-end.social @TC39@fosstodon.org But we want CSS as CSS and HTML as HTML, the way we get JSON as JSON, not at strings or bytes. Won’t we have to “ad hoc” type them down the road anyway making it just delayed further but not continuing to work towards them now?
0
3
0
0
Open post
westbrook @westbrook@mastodon.social
· 6mo ago
Replying to
@leaverou@front-end.social Thanks for clarifying! 😅 Because, I like the idea of "getting everything so right", but I am glad that that doesn't (in this case) superceed getting CSS import attributes into #webkit 🤞 I also like text, especially with so much text prompting going around, and agree it'll be a good next stop towards normalizing the super powers that import attributes provide at large!
0
0
0
0
Back
313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

I2P eepsite

j6b6cyk6gjmepjih7jjadxgxvvf3lzzujljuu2v4biemzpg3naya.b32.i2p

Platform

  • Email
  • Chat
  • Timeline
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ
  • Lite (no JS)

Legal

  • Terms of Service
  • Privacy Policy
  • Transparency Report
  • Report Abuse
  • Warrant Canary
  • VPN Policy

Support

  • support@elektrine.com
  • Report Security Issue
Mail client setup IMAP mail.elektrine.com:993 POP3 mail.elektrine.com:995 SMTP mail.elektrine.com:465
© 2026 Elektrine. All rights reserved. Server: 21:57:00 UTC