Closed
Bug 273631
Opened 20 years ago
Closed 20 years ago
Checked radio button index off by one on reload
Categories
(Core :: DOM: HTML Parser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 175289
People
(Reporter: radx, Unassigned)
References
()
Details
Attachments
(1 file)
|
328 bytes,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 (ax) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 (ax) 1. Load http://flum.se/firefox_error.htm 2. Press reload 3. Press reload See how the "checked" value is being ignored? http://flum.se/firefox_ok.htm <-- this one works. The difference in the code: The one that works: <form> <table> <tr> ... </tr> </table> </form> The one that dont: <table> <form> <--- this has been moved as you can see. <tr> ... </tr> </table> </form> I don't know if it's not allowed according to html rules to put the start <form> tag right after you start a table or not. Please excuse me if this is infact an error on my behalf. Reproducible: Always Steps to Reproduce: 1. Load http://flum.se/firefox_error.htm 2. Press reload 3. Press reload See how the "checked" value is being ignored? http://flum.se/firefox_ok.htm <-- this one works. The difference in the code: The one that works: <form> <table> <tr> ... </tr> </table> </form> The one that dont: <table> <form> <tr> ... </tr> </table> </form> I don't know if it's not allowed according to html rules to put the start <form> tag right after you start a table or not. Please excuse me if this is infact an error on my behalf. Actual Results: The default value was something else than i had in mind. Expected Results: I suppose use the checked value everytime.
Comment 1•20 years ago
|
||
First shot at a minimal testcase.
Comment 2•20 years ago
|
||
Well, it's invalid as the day is long, but don't let that bother you ;). Might still point out an interesting bug (or, be a duplicate that I can't find). The nutshell version: with an input between <table><form> and the first <tr>, which gets removed to before the <table> in the DOM, the index for which radio button is checked is off by one on each subsequent reload.
Assignee: bugs → parser
Component: Web Site → HTML: Parser
Product: Firefox → Core
QA Contact: mrbkap
Summary: Reload the URL and you'll see firefox won't respect the "checked" value → Checked radio button index off by one on reload
Version: unspecified → Trunk
Comment 3•20 years ago
|
||
*** This bug has been marked as a duplicate of 175289 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•