[Webkit-unassigned] [Bug 44021] New: <style> inside <noscript> is parsed when JavaScript is enabled.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Aug 14 22:52:18 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=44021
Summary: <style> inside <noscript> is parsed when JavaScript is
enabled.
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: johanneslindenbaum at gmail.com
Summary:
When adding <style> definitions inside of a <noscript> tag the style declarations are applied even when JavaScript is enabled.
Steps to Reproduce:
<noscript>
<style type="text/css">
#myId { display: none; }
</style>
</noscript>
Expected Results:
Style declarations inside of no script, attempting to gracefully degrade a form, should not be parsed. When JavaScript is in enabled #myDiv should remain visible, where during a disabled JavaScript page load the element should not be displayed.
Actual Results:
Style definitions are applied when JavaScript is enabled.
Firefox 3.6.8 correctly ignores <style> in <noscript>
IE 8 (Win 7) correctly ignores <style> in <noscript>
Chrome 5.0.375.99 parses <style> in <noscript>
Safari 5.0.1 (6533.17.8) parses <style> in <noscript>
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list