-
Bug
-
Resolution: Done
-
Major
-
4.1.0.CR1
-
None
1. Create an HTML5 page:
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" /> <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script> </head> <body> <div></div> </body> </html>
2. DnD a page from jQuery Mobile palette between <div>...</div>.
3. FAILURE: the result is (see the last line):
... <div> <div data-role="page" id="page-1"> <div data-role="header"> <h1>Page Title</h1> </div> <div data-role="content"> <p>Page content goes here.</p> </div> <div data-role="footer"> <h4>Page Footer</h4> </div> </div></div> ...
It should be:
<div> <div data-role="page" id="page-1"> <div data-role="header"> <h1>Page Title</h1> </div> <div data-role="content"> <p>Page content goes here.</p> </div> <div data-role="footer"> <h4>Page Footer</h4> </div> </div> </div>
instead.