Pewarta Proxy

📋 Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

⚙️ Pengaturan Proxy Target

Skip to content

[css-overflow-5] Added middle-truncation - #14490

Open
SebastianZ wants to merge 12 commits into
w3c:mainfrom
SebastianZ:middle-truncation
Open

SebastianZ wants to merge 12 commits into
w3c:mainfrom
SebastianZ:middle-truncation

Conversation

@SebastianZ

@SebastianZ SebastianZ commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

This change adds middle-truncation as resolved on in #3937 (comment).

I made some changes regarding the explainer based on the notes people had at the F2F, notably:

  • Offset anchors to line-start by default with 100% referring to the line-end edge
  • Renamed middle to center (though should be discussed, as UAs are allowed to place the overflow marker outside the exact center)
  • Let fade() and fade not apply to middle-truncation for now (needs further discussion how to handle them)
  • Made empty string invalid for middle-truncation
  • Let scrolling work on the larger part instead of always the start part
  • Let offset work with start and end keywords

The rest of the spec text is copied over from Overflow 4.

Once this PR is merged, I'll also open separate issues for all the things that still require some discussion.

Closes #3937

Thank you again @sharonhsl for all the help with this!

Sebastian

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[css-overflow-4] Ellipsizing of text in middle of string

1 participant