Skip to content

[css-text-4][css-inline-3][css-text-decor-4] Introduce text-fit property#13616

Merged
kojiishi merged 3 commits into
w3c:mainfrom
tkent-google:tkent-text-fit
Apr 20, 2026
Merged

[css-text-4][css-inline-3][css-text-decor-4] Introduce text-fit property#13616
kojiishi merged 3 commits into
w3c:mainfrom
tkent-google:tkent-text-fit

Conversation

@tkent-google

@tkent-google tkent-google commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

[css-text-4][css-inline-3][css-text-decor-4] Introduce text-fit property

[css-text-4]

  • Add a section to define text-fit property.
  • word-spacing, letter-spacing, and text-autospace properties apply "used" font-size.

[css-inline-3]
line-height property applies "used" font-size.

[css-text-decor-4]
text-decoration-thickness and text-underline-offset properties apply "used" font-size.

#2528
#12885
#12886
#12887
#12888

Comment thread css-inline-3/Overview.bs
Comment thread css-text-4/Overview.bs Outdated
Comment thread css-text-4/Overview.bs
Comment thread css-text-decor-4/Overview.bs

@kojiishi kojiishi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM w/nits

Comment thread css-inline-3/Overview.bs Outdated
Comment thread css-text-4/Overview.bs
Comment thread css-text-4/Overview.bs
@tkent-google

Copy link
Copy Markdown
Contributor Author

@kojiishi Thank you for the review.
Would you merge it if the latest one is ok please?

@fantasai

fantasai commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

@tkent-google This was supposed to go into CSS Text Level 5.
#12885 (comment)

@tkent-google

Copy link
Copy Markdown
Contributor Author

@tkent-google This was supposed to go into CSS Text Level 5. #12885 (comment)

Oh, my bad.
It seems it was already moved to css-text-5. Thanks!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants