Bug Tracker

Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#11020 closed bug (cantfix)

Bug with CSS in Firefox

Reported by: valent.novem@… Owned by: valent.novem@…
Priority: low Milestone: None
Component: css Version: 1.7.1
Keywords: Cc:
Blocked by: Blocking:


Try to load this page in Firefox. Try to reload the page. Try to reload using Ctrl+F5. It gives different results.

        <script src="jquery-1.7.1.js"></script>
            $(function() {
                var $el = $('select:first').children(':first')
                alert([$el[0].style.color, $el.css('color')]);
            <option style="color: #ff0000;">Hi</option>
            <option style="color: #00ff00;">Hi</option>
            <option style="color: #0000ff;">Hi</option>

Change History (6)

comment:1 Changed 11 years ago by anonymous

Tested using jsFiddle. jQuery <= 1.3.2 gives correct result, others wrong.

comment:2 Changed 11 years ago by dmethvin

Owner: set to valent.novem@…
Status: newpending

Can you share your fiddle link with us, and a clear description of what is wrong in your opinion?

comment:3 Changed 11 years ago by anonymous

http://jsfiddle.net/zjKFs/ I'm not sure what is wrong, but css method is working incorrectly (try version 1.3.2 vs 1.7.1)

comment:4 Changed 11 years ago by anonymous

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.

comment:5 Changed 11 years ago by valent.novem@…

Status: pendingnew

comment:6 Changed 11 years ago by Timmy Willison

Component: unfiledcss
Priority: undecidedlow
Resolution: cantfix
Status: newclosed

I don't there's anything we can do on our end.

Note: See TracTickets for help on using tickets.