[jbosstools-issues] [JBoss JIRA] (JBIDE-15805) Livereload does not work with HTML files without <body>

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Thu Nov 14 02:17:06 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-15805?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-15805:
-----------------------------------

    Fix Version/s: 4.2.0.Alpha1
                       (was: 4.1.1.CR1)
      Description: 
Liveroload does not update HTML files if it does not have <html> tag which is not required by HTML5 spec in most cases:

http://www.w3.org/TR/2011/WD-html5-20110525/syntax.html#optional-tags

"An html element's start tag may be omitted if the first thing inside the html element is not a comment."

So livereload should handle all optional tags. And maybe log a worning (or rise an warning dialog?) if there is no valid HTML5 content at all and we can't insert JS links.

  was:Liveroload does not update HTML files if it does not have <bady> tag which is not required by HTML5 spec.

         Assignee: Daniel Azarov  (was: Xavier Coulon)

    
> Livereload does not work with HTML files without <body>
> -------------------------------------------------------
>
>                 Key: JBIDE-15805
>                 URL: https://issues.jboss.org/browse/JBIDE-15805
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: livereload
>    Affects Versions: 4.2.0.Alpha1
>            Reporter: Alexey Kazakov
>            Assignee: Daniel Azarov
>             Fix For: 4.2.0.Alpha1
>
>
> Liveroload does not update HTML files if it does not have <html> tag which is not required by HTML5 spec in most cases:
> http://www.w3.org/TR/2011/WD-html5-20110525/syntax.html#optional-tags
> "An html element's start tag may be omitted if the first thing inside the html element is not a comment."
> So livereload should handle all optional tags. And maybe log a worning (or rise an warning dialog?) if there is no valid HTML5 content at all and we can't insert JS links.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list