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 15:08:28 -0500

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

Changes by: Patrik Wallström <address@hidden>
Date: 2003-Feb-25 21:08 (Europe/Stockholm)

            What     | Removed                   | Added
---------------------------------------------------------------------------
            Severity | 5 - Major                 | 1 - Ordinary
          Resolution | None                      | Fixed
              Status | Open                      | Closed




=================== BUG #2656: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: Gnuheter                     
Submitted on: 2003-Feb-25 20:48
Category:  Bug                        Severity:  1 - Ordinary               
Bug Group:  None                      Resolution:  Fixed                    
Assigned to:  None                    Status:  Closed                       

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]