Open Bug 894809 Opened 11 years ago Updated 2 years ago

OS X and Windows / Unix seems handle `checked` attribute differently

Categories

(Toolkit :: General, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: zer0, Unassigned)

Details

Because the bug 891224, it seems that OS X and Windows (and apparently Debian too) handle the checked status in a different way. In OS X it seems that the `checked` attribute of the XUL sidebar and menu items is set to `false`; where in Windows (and it seems Debian too) it's removed. So the following code:

    sidebar.getAttribute('checked') === 'false'

Will have different results depends by the platform.
I don't know if it's a bug or there is any reason because of this behavior, but it seems to me that the behavior should be consistent across the Operating System.
Summary: Differences between OS X and Windows / Unix about how the checked attribute is set to `false` → OS X and Windows / Unix seems handle `checked` attribute differently
This is not a DOM bug, but something might go wrong in toolkit level.
Component: DOM → General
Product: Core → Toolkit
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.