Closed Bug 1869482 Opened 1 year ago Closed 1 year ago

Radio button selected through java script doesn't show as selected on the html even when code shows checked = "checked''

Categories

(Firefox :: Untriaged, defect)

Firefox 120
defect

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: saurabh.katiyar, Unassigned, NeedInfo)

Details

Attachments

(1 file)

Steps to reproduce:

On page load we are getting data and based on the data the radio is dynamically selected.
We are setting checked = "checked" however the radio on the ui comes unselected.
This issue is specific to firefox version 120.0.1. It was working perfectly fine in older fire fox versions as well as in chrome and safari

Actual results:

Though the radio is being selected dynamically and the same shows in the code, however the browser doesn't reflect the same on the UI

Expected results:

When input element for radio has checked = "checked" the browser should interpret it as as selected ans show the radio selected on the UI.

Not a security bug so unhiding.

The screenshot shows that your <input type=radio> is opacity: 0, so it isn't visible.

The thing on the screen that looks like a radio button must be something else, and presumably the issue is in whatever code is trying to mimic the radio button with whatever that is.

If you can link to a live example where you see this problem, we can investigate further, but we'd really need more information in order to make any changes in Firefox.

If you can't share a live link (because it's on an intranet or requires a login or whatever), it may also be helpful to run mozregression - https://mozilla.github.io/mozregression/ - to find out exactly what change to Firefox broke your site. And/or perhaps it's possible to save to disk the HTML and CSS and extract a minimal testcase, though that may be non-trivial depending on the site.

Group: firefox-core-security
Flags: needinfo?(saurabh.katiyar)

Closing as Resolved: Incomplete due to no update from the reporter. If anyone can still reproduce this issue and provide the requested info, please feel free to reopen the bug. Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: