8000 [css-ui-4] Add 'field-sizing' property by tkent-google · Pull Request #9251 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content

Conversation

tkent-google
Copy link
Contributor

See #7542

@tkent-google
Copy link
Contributor Author

My plan is that more detailed behavior is described in the HTML standard.

@tabatkins
Copy link
Member

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 legacy | auto then? auto still isn't any clearer, but legacy clearly points to "how form elements used to size", so auto must be the new behavior. legacy | normal would also be fine.

@tkent-google
Copy link
Contributor Author

@tabatkins Let's discuss keywords in #7542

chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 4, 2023
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
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 4, 2023
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
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 4, 2023
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
aarongable pushed a commit to chromium/chromium that referenced this pull request Sep 4, 2023
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}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 4, 2023
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}
chromium-wpt-export-bot pushed a commit to web-platform-tests/wpt that referenced this pull request Sep 4, 2023
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}
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Sep 13, 2023
…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
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this pull request Sep 14, 2023
…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
@tkent-google
Copy link
Contributor Author

Updated this PR for fixed | content.
#7542 (comment)

@frivoal would you take a loot at this please?

Copy link
Collaborator
@frivoal frivoal left a 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.

@tkent-google
Copy link
Contributor Author

I've made suggested edits implementing that change.

Thanks! I accepted all your suggestions.

@tkent-google tkent-google changed the title [css-ui-4] Add 'form-sizing' property [css-ui-4] Add 'field-sizing' property Oct 13, 2023
@tkent-google tkent-google requested a review from frivoal October 13, 2023 05:50
@tkent-google
Copy link
Contributor Author

@frivoal would you take a loot at this again please?

tkent-google and others added 6 commits October 27, 2023 15:59
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>
@frivoal frivoal merged commit a71cd52 into w3c:main Oct 27, 2023
Lightning00Blade pushed a commit to Lightning00Blade/wpt that referenced this pull request Dec 11, 2023
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}
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
0