Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specification of the behaviour of inline-size: 0 #919

Open
alvinhochun opened this issue Jul 21, 2023 · 0 comments
Open

Specification of the behaviour of inline-size: 0 #919

alvinhochun opened this issue Jul 21, 2023 · 0 comments

Comments

@alvinhochun
Copy link

11.4.1. The ‘inline-size’ property says:

A value of zero disables the creation of a wrapping area.

Is this a leftover from before the harmonisation with CSS which added the value auto? CSS doesn't do this but sets the content area to zero width:

<p style="font-size:24px;inline-size:100px">This text wraps at 100px.</p>
<p style="font-size:24px; inline-size:0;overflow-wrap:break-word">This text wraps at 0.</p>

cc @therahedwig

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

No branches or pull requests

1 participant