-
Notifications
You must be signed in to change notification settings - Fork 747
[css-ui-4] Add 'field-sizing' property #9251
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
Conversation
My plan is that more detailed behavior is described in the HTML standard. |
Per #7542 (comment), the names "normal" and "auto" aren't very illuminating here. (And, notably, as defined here they appear to be the exact opposite of what I expected them to be - I expected "normal" to be the legacy half-replaced behavior, while "auto" was the new 'act like other elements' behavior. That's a good argument for the names being bad!) Maybe we should go with |
@tabatkins Let's discuss keywords in #7542 |
w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. A property value is mapped to a boolean field of ComputedStyle. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee
w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. A property value is mapped to a boolean field of ComputedStyle. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee
w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee
w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835497 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1192006}
w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835497 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1192006}
w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835497 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1192006}
…only Automatic update from web-platform-tests css-ui: Add form-sizing property w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835497 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1192006} -- wpt-commits: 1b77380f2016401b75bd009d78b9d350010191d3 wpt-pr: 41789
…only Automatic update from web-platform-tests css-ui: Add form-sizing property w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835497 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1192006} -- wpt-commits: 1b77380f2016401b75bd009d78b9d350010191d3 wpt-pr: 41789
Updated this PR for @frivoal would you take a loot at this please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unless I am missing something, it seems to me that we'd be better off expressing the difference between the two modes in terms of intrinsic size rather than talking directly about the preferred size properties. That gets the desired effect into all aspects of sizing, which is my understanding of the groups resolution.
I've made suggested edits implementing that change. Let me know if you think these work, or if I missed subtlety you were deliberately introducing by using the proposed wording.
Thanks! I accepted all your suggestions. |
@frivoal would you take a loot at this again please? |
Co-authored-by: Florian Rivoal <git@florian.rivoal.net>
Co-authored-by: Florian Rivoal <git@florian.rivoal.net>
Co-authored-by: Florian Rivoal <git@florian.rivoal.net>
63a58c8
to
0bd211e
Compare
w3c/csswg-drafts#9251 This CL adds form-sizing property, based on the syntax `form-sizing: auto | normal`. The property doesn't have any effect yet. This CL has no user-visible behavior changes. The property is behind a runtime flag. Bug: 1447058 Change-Id: I5f8f6bab703b9bef761f8886967b86d43a2500ee Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835497 Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/main@{#1192006}
See #7542