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

Andreu Botella :verified_enby:

@andreu@mastodon.andreubotella.com
mastodon 4.7.3+glitch
  • Open on mastodon.andreubotella.com

Browser engineer at @igalia@floss.social, currently working on layout on Chromium (Google Chrome), as well as on interoperability between browsers and server-side JS runtimes as a co-chair of WinterTC.

I'm also:
- A math/physics/linguistics geek.
- Linux person.
- Atheist / secular humanist.
- G(r)ay asexual.
- Non-binary.

159 Followers
52 Following
2 Posts
Joined February 03, 2023
Website:
https://andreubotella.com
Github:
https://github.com/andreubotella
Pronouns:
they/them
Open post
Andreu Botella :verified_enby: @andreu@mastodon.andreubotella.com
· 23mo ago

Hey! CSS developers! I want to hear from you.

I'm improving the way line clamping works in Chrome and in the specs. The existing -webkit-line-clamp property is a mess, because it will only do something if you have other properties (which are legacy versions of flexbox properties), and we can't fix that because of web compat. But we can add a new line-clamp property without those issues!

But right now I'm dealing with what should happen if you have both properties set on the same element:

display: block;
line-clamp: 3;
-webkit-line-clamp: 4;

(Note that if we remove line-clamp: 3, this wouldn't clamp, because display: block prevents -webkit-line-clamp from working.)

So what do you think should happen?

#css #CSSWG

mastodon.andreubotella.com

Andreu's Mastodon server

18
5
37
0
Open post
Andreu Botella :verified_enby: @andreu@mastodon.andreubotella.com
· 6mo ago
Replying to
@jaffathecake I recently found another benefit: being able to programmatically generate an image from rendered HTML/CSS content.
1
2
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: 11:26:25 UTC