gnuheter-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnuheter-dev] [Bug #2656] Brott mot HTML-standarden: <script>-tag


From: nobody
Subject: [Gnuheter-dev] [Bug #2656] Brott mot HTML-standarden: <script>-tag
Date: Tue, 25 Feb 2003 14:48:10 -0500

=================== BUG #2656: FULL BUG SNAPSHOT ===================
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=2656&group_id=2176

Submitted by: None                    Project: Gnuheter                     
Submitted on: 2003-Feb-25 14:48
Category:  Bug                        Severity:  5 - Major                  
Bug Group:  None                      Resolution:  None                     
Assigned to:  None                    Status:  Open                         

Summary:  Brott mot HTML-standarden: <script>-tag

Original Submission:  På rad 61 i header.php begås ett brott mot 
HTML-standarden sidan påstår sig följa:
echo "<script src=\"utils.js\"></script>\n";

Här glömmer man det krävda attributet "type", som ska sättas till 
"text/javascript". Den riktiga raden vore alltså:
echo "<script src=\"utils.js\" type=\"text/javascript\"></script>\n";

HTML-specifikationen skriver om detta attribut:
This attribute specifies the scripting language of the element's contents and 
overrides the default scripting language. The scripting language is specified 
as a content type (e.g., "text/javascript"). Authors must supply a value for 
this attribute. There is no default value for this attribute.



No Followups Have Been Posted


CC list is empty


No files currently attached


For detailed info, follow this link:
http://savannah.nongnu.org/bugs/?func=detailbug&bug_id=2656&group_id=2176




reply via email to

[Prev in Thread] Current Thread [Next in Thread]