New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 621870 link

Starred by 5 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Enabling a disabled input[type=file] in a disabled fieldset and then enabling the disabled fieldset result in the input[type=file] keeps disabled.

Reported by x.gow...@gmail.com, Jun 21 2016

Issue description

Chrome Version       : 51.0.2704.103 (Official Build) (64-bit)
URLs (if applicable) : <see the demo file attched>
Other browsers tested:
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
    Firefox:OK
         IE:OK

What steps will reproduce the problem?
(1)Enable a disabled input[type=file] in a disabled fieldset.
(2)Enable the disabled fieldset.

What is the expected result?
The input[type=file] becomes enabled.

What happens instead?
The input[type=file] keeps disabled, although its "disabled" attribute is removed normally.

Additional information:
Please refer to the file attached.

 
bugtest.html
5.4 KB View Download
Cc: rnimmagadda@chromium.org
Components: Blink>Forms>Fieldset
Labels: -Pri-3 M-52 OS-Linux OS-Mac OS-Windows Pri-2
Status: Untriaged (was: Unconfirmed)
Able to repro this issue on Windows 7, MAC (10.11.5) & Ubuntu Trusty (14.04) for Google Chrome Stable Version - 51.0.2704.103

This is a Non-Regression issue existing from M30 - # 30.0.1549.0 [screen-recording is attached]
621870.mp4
1.1 MB View Download

Comment 3 by tkent@chromium.org, Jun 23 2016

Components: Blink>Forms>File
Labels: -M-52 Hotlist-GoodFirstBug
Status: Available (was: Untriaged)
Only [Choose File] button keeps disabled. Clicking on "No file chosen" text or typing Enter key triggers a file chooser.

Probably we need to call layoutObject()->updateFromElement() in FileInputType::disabledAttributeChanged() in order to update 'active' state.

i'm interesting this issue. i would like to fix it. thank you.
could you review this commit?
https://codereview.chromium.org/2093383002/.

Comment 7 by tkent@chromium.org, Jun 28 2016

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

Sign in to add a comment