Elektrine
EN
Log in Register
Paige Chat Timeline Communities Gallery Videos Email DNS VPN Uptime Kairo
Back to Timeline
Remote

Bramus

@bramus@mastodon.social
mastodon 4.7.0-beta.1
  • Open on mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

0 Followers
0 Following
9 Posts
Joined April 25, 2022
About:
https://www.bram.us/about
Blog:
https://www.bram.us/
Bird:
https://twitter.com/bramus

Posts

Open post
bramus
Bramus @bramus@mastodon.social · Nov 17, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social

New blogpost: Style a parent element based on its number of children using CSS :has()

https://www.bram.us/2022/11/17/style-a-parent-element-based-on-its-number-of-children-using-css-has/

1
1
1
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 16, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social

Had a task on my todo to write a blog post for a few weeks now, but never got to it. Couldn’t find the right angle, so I kept pushing it forward. – Yes, a writer’s block.

To get the creative juices flowing I started hacking on some code yesterday. Today I wrote the post in 2hrs.

Procrastination works!

3
0
0
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 15, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social
Replying to @bramus@mastodon.social

Looks like we’ve got some questions to ponder about in the CSSWG:

  • Should the LVP resize here (and thereby also move the origin for Fixed Positioning)?
  • Should Viewport Units cater for scrollbar-gutter, knowing their size is derived from the ICB (which resizes)?

#ItsComplicated

🤔

0
0
0
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 15, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social
Replying to @bramus@mastodon.social
Debugging the viewport units also interesting: both Firefox and Chrome do not take scrollbar-gutter into account, causing overflow.
0
1
0
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 15, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social
Replying to @bramus@mastodon.social

Couldn’t resist and added some new test pages to https://interop-2022-viewport.netlify.app to find things out.

Some early results:

  • Chrome reports wrong size for ICB (docElement.clientWidth)
  • Chrome cuts off rendering (blue box)
  • FixedPos in Firefox is wrong (blue box)
  • Safari has no support
1
1
0
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 15, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social
Replying to @bramus@mastodon.social
And now I’m wondering what viewport units will do and how mobile browsers are going to (mis)behave … #CanOfWorms 🙈
0
1
0
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 15, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social

You think you’ve got the Viewports thing tackled, but then you suddenly wonder if it all plays nice with `scrollbar-gutter` or not …

Narrator: it doesn’t.

4
4
0
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 10, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social

just setting up my t̶w̶t̶t̶r̶ mastodon

4
2
0
0
Open post
bramus
Bramus @bramus@mastodon.social · Nov 10, 2022
Bramus
@bramus@mastodon.social

Chrome Web DevRel at Google (CSS + ChromeDevtools). CSSWG Member. PADI Divemaster. Blogs at bram.us

mastodon.social

@kleinfreund@mastodon.social @matuzo@mastodon.social Also check out this explainer: https://github.com/web-platform-tests/interop-2022-viewport/blob/main/explainers/viewport-units.md

0
0
0
0

Remote instance

mastodon.social
Open on original server

Media

313k7r1n3
Elektrine

Tor hidden service

elekhj7afj4qnrr4yd3bkzslsyo5jgfxw3orgjkhlcxifueodybyiiad.onion

Platform

  • Email
  • Chat
  • Timeline
  • Communities
  • VPN
  • DNS

Company

  • About
  • Contact
  • FAQ

Legal

  • Terms of Service
  • Privacy Policy
  • Warrant Canary
  • Lite (no JS)
  • VPN Policy
  • Source code

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: 04:26:22 UTC