[richfaces-issues] [JBoss JIRA] Commented: (RF-4112) Use <script type="text/javascript"> instead of <script>
Adam Hauner (JIRA)
jira-events at lists.jboss.org
Fri Aug 8 04:17:50 EDT 2008
[ https://jira.jboss.org/jira/browse/RF-4112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12424178#action_12424178 ]
Adam Hauner commented on RF-4112:
---------------------------------
Oops, ignore previous comment.
HTML 4.01 says, that type attribut is required for SCRIPT element:
18.2.1 The SCRIPT element
<!ELEMENT SCRIPT - - %Script; -- script statements -->
<!ATTLIST SCRIPT
charset %Charset; #IMPLIED -- char encoding of linked resource --
type %ContentType; #REQUIRED -- content type of script language --
src %URI; #IMPLIED -- URI for an external script --
defer (defer) #IMPLIED -- UA may defer execution of script --
>
http://www.w3.org/TR/html4/interact/scripts.html#edef-SCRIPT
> Use <script type="text/javascript"> instead of <script>
> -------------------------------------------------------
>
> Key: RF-4112
> URL: https://jira.jboss.org/jira/browse/RF-4112
> Project: RichFaces
> Issue Type: Feature Request
> Affects Versions: 3.2.1
> Environment: all environments
> Reporter: Petr Ferschmann
> Assignee: Nick Belaevski
> Fix For: 3.3.0
>
>
> RichFaces uses non-valid <script> (eg. in suggestion). But it is not correct. It should use <script type="text/javascript">. JavaScript is not the only scripting language in current browsers.
> RichFaces should try to be more HTML valid.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list