-
Notifications
You must be signed in to change notification settings - Fork 3
Reconsider disabled properties on containers #20
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
Comments
It's probably not worth disabling all properties though, like the ability to change the background for instance is nice. |
More food for thought: sometimes even setting width / height can be harmless. |
Now however, using cw / ch for the property it relates to must be forbidden. |
For now I think restrictions should be lifted, and only obvious cases - like the one above - should be checked, where circular issues would surely arise. To "properly" address circular issues would be a bigger undertaking:
|
Use-case: Setting font-size on a button component could result in weird behaviour, if the text can wrap.
|
As an attempt to avoid circulatory issues, refuse to parse the CSS if it's trying to change the container's width or height.
Also look into disabling other properties, like padding, which again could affect the container's size.
The text was updated successfully, but these errors were encountered: