commit | 45e2dd4fbba13147e681d0941bba904b780e2d38 | [log] [tgz] |
---|---|---|
author | Christoph Schwering <schwering@google.com> | Fri Mar 28 17:15:10 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Mar 28 17:15:10 2025 |
tree | 66a4afbaa2d8af41e0cc8bf0d4041bba2d7dc47a | |
parent | cb1436e40f9668918d98bf4f212e611267eea985 [diff] |
[Autofill] Rewrite fill-date-in-<select> functions This CL rewrites the functions for filling date parts (year, month, or day) in <select> elements. The new version is more flexible and will be used for importing. The new functions extract ranges of <option> elements that represent years, months, or days, and map each <option> to an integer representation of its value. A change compared to the old function is that the days and months always take precedence over years. The old functions were ambiguous. Bug: 396325496 Change-Id: I293a2543158c79af7062ec9f3307b7af2f7fe708 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6406414 Commit-Queue: Christoph Schwering <schwering@google.com> Reviewed-by: Jan Keitel <jkeitel@google.com> Cr-Commit-Position: refs/heads/main@{#1439506}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.