New issue
Advanced search Search tips

Issue 728515 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug

Blocking:
issue 627682



Sign in to add a comment

Incorrect INPUT type for <input type="chec&#x212Abox">

Project Member Reported by tkent@chromium.org, Jun 1 2017

Issue description

Chrome Version: 61 canary
OS: All but iOS

What steps will reproduce the problem?
(1) Open the following URL

  data:text/html;charset=utf-8,<input%20type="chec&%23x212A;box">

(2) Observe the page

What is the expected result?
A text field should be shown.

What happens instead?
A small box like a checkbox is shown.

Please use labels and text to provide additional information.

We use Unicode-careless matching incorrectly. It should be ASCII-caseless matching.

https://html.spec.whatwg.org/multipage/forms.html#attr-input-type
https://html.spec.whatwg.org/multipage/infrastructure.html#enumerated-attribute
> the attribute's value must be an ASCII case-insensitive match for one of the given keywords ...

 
I will work on this. 
I have submitted a patch https://codereview.chromium.org/2918033003/.


Comment 3 by tkent@chromium.org, Jun 7 2017

Labels: M-61
Status: Fixed (was: Available)

Sign in to add a comment