Closed Bug 408126 Opened 18 years ago Closed 16 years ago

style tag inside noscript tag acts differently in xsl vs html

Categories

(Firefox :: General, defect)

2.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: xbudex, Unassigned)

Details

(Whiteboard: [CLOSEME 2010-07-30])

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11 On a page that uses xsl transforms, if there is a style tag inside a noscript tag, the style will be applied even is scripting is enabled. I copy/pasted the generated source into a static html file, and the style was applied if scripting is disabled, but it was not applied if scripting is enabled. I realize the following is not w3c complaint, however, I think it should work the same if the page is html or xsl. Example of problem code: <noscript> <style type="text/css"> .hide { display: block; } </style> </noscript> Reproducible: Always Steps to Reproduce: 1. Create two pages, one in html, one in xsl. Each page should have a style tag inside a noscript tag. 2. View each page. Actual Results: The xsl page has the style even if javascript being enabled. The html page has the style with javascript being disabled, and not applied if javascript is enabled. Expected Results: The xsl page should apply the style if javascript is disabled, and it should not apply the style if javascript is enabled. I am using the noscript plugin to enable/disable javascript. I am using the web developer plugin to get the generated source code. I haven't tested this on any os other than windows xp, but I suspect it will be cross platform. I looked and I could not find a bug similar to this, so I apologize if this is a known issue. Also, the opera browser has this same behavior, so this might be expected.
This bug was originally reported on Firefox 2.x or older, which is no longer supported and will not be receiving any more updates. I strongly suggest that you update to Firefox 3.6.6 or later, update your plugins (flash, adobe, etc.), and retest in a new profile. If you still see the issue with the updated Firefox, please post here. Otherwise, please close as RESOLVED > WORKSFORME http://www.mozilla.com http://support.mozilla.com/kb/Managing+profiles http://support.mozilla.com/kb/Safe+mode
Whiteboard: [CLOSEME 2010-07-30]
Version: unspecified → 2.0 Branch
No reply, INCOMPLETE. Please retest with Firefox 3.6.8 or later and a new profile (http://support.mozilla.com/kb/Managing+profiles). If you continue to see this issue with the newest firefox and a new profile, then please comment on this bug.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INCOMPLETE
See bug 950865, recently confirmed.
You need to log in before you can comment on or make changes to this bug.