Incorrect INPUT type for <input type="chec𡊫ox"> |
||
Issue descriptionChrome 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 ...
,
Jun 7 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b1bf7d6b39cc77b38b433873a3db686dc3a0ca73 commit b1bf7d6b39cc77b38b433873a3db686dc3a0ca73 Author: tanvir.rizvi <tanvir.rizvi@samsung.com> Date: Wed Jun 07 23:28:35 2017 Input type check comparision should be an ASCII case-insensitive match. Currently we use unicode-careless matching,which is wrong. so ASCII -caseless matching is used now. BUG= 728515 Review-Url: https://codereview.chromium.org/2918033003 Cr-Commit-Position: refs/heads/master@{#477786} [modify] https://crrev.com/b1bf7d6b39cc77b38b433873a3db686dc3a0ca73/third_party/WebKit/LayoutTests/external/wpt/html/dom/reflection-forms-expected.txt [modify] https://crrev.com/b1bf7d6b39cc77b38b433873a3db686dc3a0ca73/third_party/WebKit/LayoutTests/fast/forms/input-type-change3-expected.txt [modify] https://crrev.com/b1bf7d6b39cc77b38b433873a3db686dc3a0ca73/third_party/WebKit/LayoutTests/fast/forms/input-type-change3.html [modify] https://crrev.com/b1bf7d6b39cc77b38b433873a3db686dc3a0ca73/third_party/WebKit/Source/core/html/forms/InputType.cpp
,
Jun 7 2017
|
||
►
Sign in to add a comment |
||
Comment 1 by tanvir.r...@samsung.com
, Jun 2 2017