Open Bug 1021887 Opened 7 years ago Updated 5 years ago
Include various <input> attributes with field data sent to the UI Glue
When requestAutocomplete is initiated, we create a list of all pending autofill elements in that form and send them to the UI component. We should include information about the various validation/type attributes in teh data sent so that the requestAutocomplete dialog can help select valid data. We should use the IDL attributes to access the data instead of the content attributes since they should already check the validity in most cases. Examples: * minlength * maxlength * required * type * inputmode * value (in case it's pre-filled) * pattern (may not be required per spec but may help the user) * min/max/step (if we support numeric fields) p=5 because this will require a fair amount of tests
You need to log in before you can comment on or make changes to this bug.