Closed
Bug 522771
Opened 15 years ago
Closed 15 years ago
Showfor broken on IE7
Categories
(support.mozilla.org :: Knowledge Base Software, task, P1)
Tracking
(Not tracked)
VERIFIED
FIXED
1.4.2
People
(Reporter: zzxc, Assigned: jsocol)
References
()
Details
(Keywords: regression, Whiteboard: sumo_only showfor)
Attachments
(4 files, 1 obsolete file)
A user in Live Chat is reporting that showfor content for all operating systems is appearing on IE7, rather than hiding content for other systems. Searching through chat logs, there seem to be a number of other cases where Windows users are confused about Mac instructions in the middle of articles. SUMO should be fully functional in all versions of IE >=7, and basic functionality should work in IE6. Could we test to make sure this wasn't regressed?
Assignee | ||
Comment 1•15 years ago
|
||
In IE 8, and IE 8's IE 7 mode, it works for me. Stephen or Vishal, can you verify this in a real IE 7 installation?
Comment 2•15 years ago
|
||
This works for me in a "native" IE 7 build (that is, IE 7 in Windows XP in a VM).
Comment 3•15 years ago
|
||
Comment 4•15 years ago
|
||
I can confirm this, actually, now that I know what I'm looking for (thx, zzxc). I'll upload a screenshot that shows the problem (look for the |Option| key reference, and others (that are Mac-specific).
Comment 5•15 years ago
|
||
Updated•15 years ago
|
Keywords: regression
Assignee | ||
Comment 6•15 years ago
|
||
Just to clarify (and remind myself) this does occur in IE 8 when in IE 7 mode, now that I know exactly what to look for. Does SHOWFOR have special markup for lists?
Assignee: nobody → james
Target Milestone: --- → 1.4.2
Comment 7•15 years ago
|
||
Testcase for this specific bug up at https://litmus.mozilla.org/show_test.cgi?id=9587 (we can change the testcase to test IE 6 and IE 8 too).
Assignee | ||
Updated•15 years ago
|
Assignee: james → paulc
Priority: -- → P1
Comment 8•15 years ago
|
||
Uses jQuery instead of previous implementation. For what it's worth, the problem was in IE7's handling of getAttribute('className') (previously used) -- http://thicksliced.blogspot.com/2006/12/elementgetattributeclass.html (see IE7). I tried figuring this out with raw javascript but the element.className attribute wasn't properly updated in IE7. This patch was tested on Fx3.5.3, IE 6,7,8.
Attachment #408138 -
Flags: review?(james)
Assignee | ||
Comment 9•15 years ago
|
||
Comment on attachment 408138 [details] [diff] [review] v1 It hid all options, instead of none of them. (Will include screenshot.)
Attachment #408138 -
Flags: review?(james) → review-
Assignee | ||
Comment 10•15 years ago
|
||
(Technically, this is IE 8 in IE 7 mode, but it matches what I saw in IE 7. I just couldn't easily get a screenshot from the IE 7 VM [no print screen key]).)
Assignee | ||
Updated•15 years ago
|
Assignee: paulc → james
Assignee | ||
Comment 11•15 years ago
|
||
setAttribute('style','...'); does not work in IE < 8. There were also some issues with using String.match()--I replaced strings with RegExps--and there was a variable being redeclared incessantly. I also reversed the order of the for loop to prevent repeated calls to NodeList.length. Tested in: WinXP: - IE 6 - IE 7 - IE 8 - Firefox 3.5 - Chrome MacOS - Firefox 3.5 - Safari
Attachment #408138 -
Attachment is obsolete: true
Attachment #409141 -
Flags: review?(paulc)
Comment 12•15 years ago
|
||
Comment on attachment 409141 [details] [diff] [review] v2 Looks good on IE6,7,8, Fx3.5.3, and Chrome 3.
Attachment #409141 -
Flags: review?(paulc) → review+
Comment 13•15 years ago
|
||
I should add all of the above for WinXP. I also tested Linux Fx3.5.3.
Updated•15 years ago
|
Flags: in-litmus?
Assignee | ||
Comment 14•15 years ago
|
||
r54589 (trunk)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment 15•15 years ago
|
||
Verified, FIXED. Verified on: Win XP: - IE 6 - IE 7 - Fx 3.5 Win Vista: - IE 8 Linux: - Fx 3.0
Status: RESOLVED → VERIFIED
Assignee | ||
Comment 16•15 years ago
|
||
r54600 (prod)
Updated•15 years ago
|
Flags: in-litmus? → in-litmus+
Updated•15 years ago
|
Whiteboard: sumo_only showfor
You need to log in
before you can comment on or make changes to this bug.
Description
•