[jbosstools-issues] [JBoss JIRA] (JBIDE-18033) Wrong html tag insertion from Palette into empty html file

Vlado Pakan (JIRA) issues at jboss.org
Tue Sep 2 02:30:00 EDT 2014


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

Vlado Pakan closed JBIDE-18033.
-------------------------------


Verified with JBDS 8.0.0.CR1-v20140831-0335-B201

> Wrong html tag insertion from Palette into empty html file
> ----------------------------------------------------------
>
>                 Key: JBIDE-18033
>                 URL: https://issues.jboss.org/browse/JBIDE-18033
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.2.0.CR1
>            Reporter: Alexey Kazakov
>            Assignee: Daniel Azarov
>            Priority: Critical
>             Fix For: 4.2.0.CR1
>
>
> 1. Create an empty html file (no doctype)
> 2. DnD a popup from JQuery Mobile 1.4 Palette
> 3. See the wrong result:
> {code}
> <a href="#popup-1" data-rel="popup" class="ui-btn ui-corner-all ui-alt-icon ui-shadow ui-btn-inline" title="Popup">Popup</a>
> <div data-role="popup" id="popup-1" class="ui-content">
> 	<p>This is a popup</p>
> </div>
> <html>
> <head>
> 	<meta name="viewport" content="width=device-width, initial-scale=1">
> 	<link rel="stylesheet" href="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.css" />
> 	<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script>
> 	<script src="http://code.jquery.com/mobile/1.4.3/jquery.mobile-1.4.3.min.js"></script>
> </head>
> <body>
> </body>
> </html>
> {code}
> The tag should be inserted into the generated body.
> We also should insert <!DOCTYPE html> if we generate <html> tag and there is no doctype on the page.



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list