Opened 12 years ago
Closed 12 years ago
#8308 closed defect (invalid)
dojo.style(node, 'color') & <select>
Reported by: | weber2nd11 | Owned by: | anonymous |
---|---|---|---|
Priority: | high | Milestone: | tbd |
Component: | Core | Version: | 1.2.3 |
Keywords: | Cc: | Eugene Lazutkin | |
Blocked By: | Blocking: |
Description
I didn't see any tickets about this issue; hopefully I'm not beating a dead horse.
In Firefox 2 & Firefox 3 (it doesn't occur in IE6, IE7, Chrome 1.0.154.36, Opera 9.63, or Safari 3.1.2 on Windows XP Pro), when you use dojo.style(nodeReference, "color"); as a getter for <option> tags within a <select> menu, it will return rbg(255, 255, 255) every time, irregardless of what value is actually set on the <option> tag.
See attached .html file for an example.
Attachments (2)
Change History (6)
Changed 12 years ago by
comment:1 Changed 12 years ago by
Cc: | Eugene Lazutkin added |
---|---|
Component: | General → Core |
comment:2 Changed 12 years ago by
maybe wontfix: on Firefox the selected option *is* black, even if the inline style contains another color.
See the attached html.
Changed 12 years ago by
Attachment: | colorTest.html added |
---|
comment:3 Changed 12 years ago by
Pardon.
On Firefox the returned color is the color of the selected option: on my ubuntu box the current theme has white - rgb(255,255,255) - on blue background for selected items (you can see this color when the mouse cursor is over the option); if I change this setting, getComputedStyle (and dojo.style) reflects the theme change.
comment:4 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Small HTML file illustrating the described behavior. Pulls Dojo 1.2.3 from AOL CDN