Skip to content

[css-text-5] Only accept none as a standalone keyword for text-fit#13830

Open
cdoublev wants to merge 1 commit into
w3c:mainfrom
cdoublev:patch-8
Open

[css-text-5] Only accept none as a standalone keyword for text-fit#13830
cdoublev wants to merge 1 commit into
w3c:mainfrom
cdoublev:patch-8

Conversation

@cdoublev

Copy link
Copy Markdown
Collaborator

@tkent-google, could you tell me if this is an oversight in #13616?

Each of consistent | per-line | per-line-all is explicitly defined as having no effect if none is specified. My understanding is that no scaling factor is applied with none, so I do not see how none <percentage> could be useful.

https://drafts.csswg.org/css-text-4/#propdef-text-fit

@tkent-google tkent-google 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.

Yes, this change is reasonable.

@cdoublev cdoublev force-pushed the patch-8 branch 2 times, most recently from c0d2ee0 to 93faa65 Compare June 7, 2026 15:46
@cdoublev cdoublev changed the title [css-text-4] Only accept none as a standalone keyword for text-fit Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants