New issue
Advanced search Search tips

Issue 902321 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 252710
Owner: ----
Closed: Nov 7
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Compat



Sign in to add a comment

Reordering inputs with the same name loose information after using back to get to the page.

Reported by d.ga...@vegaitsourcing.rs, Nov 6

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36

Example URL:

Steps to reproduce the problem:
1. Create a list of check boxes or other inputs with the same name attribute.
2. Check some of them.
3. Reorder the inputs.
4. Go to a different page.
5. Click the back button.
6. Now the values are in the incorrect checkboxes

What is the expected behavior?
The right inputs have the right data.

What went wrong?
After you press back the inputs get reordered to their initial place on the first load of the page, and the incorrect elements have values.
The values only care about their last positions not the elements itself.

Does it occur on multiple sites: N/A

Is it a problem with a plugin? No 

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 70.0.3538.77  Channel: stable
OS Version: 10.0
Flash Version: 

I've included a html file with an example of the issue for quick testing.
I've also included a "screenshot" of the issue.
 
bug.png
19.4 KB View Download
index_checkbox_test.html
4.5 KB View Download
Bisected to r201287 "Blink roll 150614:150719"
https://chromium.googlesource.com/chromium/blink/+log/b6eecd33..a50b0371?n=100
Suspecting 582132773280455ead1d42b0073be37efdeaf989 "Store form control list with RefPtr"
Landed in 29.0.1514.0
Components: Blink>Forms
Components: -Blink>Forms Blink>Forms>Restore
Mergedinto: 252710
Status: Duplicate (was: Unconfirmed)

Sign in to add a comment