Closed
Bug 410064
Opened 18 years ago
Closed 16 years ago
http-equiv meta tag inside script is interpreted and applied
Categories
(Core :: DOM: HTML Parser, defect)
Core
DOM: HTML Parser
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: uriber, Unassigned)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
|
346 bytes,
text/html
|
Details |
A <meta> tag inside a string in a script (or anywhere inside a <script> tag, for that matter) should not be taken into account when determining page encoding.
This is similar to bug 124904, which dealt with http-equiv meta tags in HTML comments.
Reported (in Heberw) at: http://mozilla.org.il/board/viewtopic.php?f=13&t=5875
| Reporter | ||
Comment 1•18 years ago
|
||
| Reporter | ||
Comment 2•18 years ago
|
||
The testcase doesn't work from Bugzilla, since Bugzilla apparently sends a character-encoding HTTP header that overrides the meta tags.
Comment 3•18 years ago
|
||
Yeah. As a workaround, the site can use the comment hack <script><!-- ... // --></script> to hide the meta tag.
Comment 4•16 years ago
|
||
WONTFIX per HTML5 spec. (The meta prescan doesn't use the full parser.)
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•