Closed
Bug 1459865
Opened 6 years ago
Closed 6 years ago
checkbox ignores checked attribute on refresh
Categories
(Core :: Layout: Form Controls, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: cyberjacob, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 Build ID: 20180427210249 Steps to reproduce: Created an HTML page with a checkbox. This checkbox has the checked attribute set to "checked", as it should be checked by default at all times. The box was unchecked, and the page then refreshed. Actual results: After the page was refreshed, the checkbox remained unchecked, despite the attribute. Expected results: When the page was refreshed, the checkbox should become checked again.
Reporter | ||
Updated•6 years ago
|
OS: Unspecified → Windows 10
Hardware: Unspecified → x86
Comment 1•6 years ago
|
||
This is intentional behavior. To discard the user state, do a hard refresh (Ctrl+Shift+R or Ctrl+F5). To prevent the behavior in the first place, use the autocomplete="off" attribute. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#attr-checked Bug 654072, comment 6
Status: UNCONFIRMED → RESOLVED
Has STR: --- → yes
Closed: 6 years ago
Component: Untriaged → Layout: Form Controls
OS: Windows 10 → All
Product: Firefox → Core
Hardware: x86 → All
Resolution: --- → INVALID
Reporter | ||
Updated•6 years ago
|
Resolution: INVALID → DUPLICATE
Comment 3•6 years ago
|
||
This is not a duplicate of bug 654072 as it doesn't involve JavaScript.
Resolution: DUPLICATE → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•