Side navigation
#11020 closed bug (cantfix)
Opened December 14, 2011 01:30AM UTC
Closed December 14, 2011 03:19PM UTC
Last modified March 14, 2012 09:49AM UTC
Bug with CSS in Firefox
Reported by: | valent.novem@gmail.com | Owned by: | valent.novem@gmail.com |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | css | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Try to load this page in Firefox. Try to reload the page. Try to reload using Ctrl+F5. It gives different results.
<html> <head> <script src="jquery-1.7.1.js"></script> <script> $(function() { var $el = $('select:first').children(':first') alert([$el[0].style.color, $el.css('color')]); }); </script> </head> <body> <select> <option style="color: #ff0000;">Hi</option> <option style="color: #00ff00;">Hi</option> <option style="color: #0000ff;">Hi</option> </select> </body> </html>
Attachments (0)
Change History (6)
Changed December 14, 2011 01:58AM UTC by comment:1
Changed December 14, 2011 02:03AM UTC by comment:2
owner: | → valent.novem@gmail.com |
---|---|
status: | new → pending |
Can you share your fiddle link with us, and a clear description of what is wrong in your opinion?
Changed December 14, 2011 02:20AM UTC by comment:3
I'm not sure what is wrong, but css method is working incorrectly (try version 1.3.2 vs 1.7.1)
Changed December 14, 2011 07:18AM UTC by comment:4
It seems like the bug is in Firefox engine, method getComputedStyle returns wrong value. Other browsers are OK. http://jsfiddle.net/Kt3KV/1/
Maybe it should be submitted to Mozilla tracker.
Changed December 14, 2011 09:09AM UTC by comment:5
status: | pending → new |
---|
Sent to Mozilla. https://bugzilla.mozilla.org/show_bug.cgi?id=710561
Changed December 14, 2011 03:19PM UTC by comment:6
component: | unfiled → css |
---|---|
priority: | undecided → low |
resolution: | → cantfix |
status: | new → closed |
I don't there's anything we can do on our end.
Tested using jsFiddle.
jQuery <= 1.3.2 gives correct result, others wrong.