Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8326694

Defer setting of autocapitalize attribute

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 23
    • 23
    • tools
    • None
    • b12
    • generic
    • generic

      The `autocapitalize="off"` attribute was added to the search and filter inputs in API docs with JDK-8320458. Although the `autocapitalize` attribute is defined in the HTML5 specification[1] it is not yet well-supported by tools such as HTML Tidy. Since these input fields are disabled by default and only enabled during page load, we could defer the setting of the `autocapitalize` attribute to the initialization script to avoid warnings/errors from these tools.

      [1]: https://html.spec.whatwg.org/multipage/interaction.html#attr-autocapitalize

            hannesw Hannes Wallnoefer
            hannesw Hannes Wallnoefer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: