ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #00354
[Bug 1286833] Re: UbuntuUI.Toolbar Example Is Not Valid HTML
** Changed in: ubuntu-html5-theme
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to ubuntu-html5-theme in
Ubuntu.
https://bugs.launchpad.net/bugs/1286833
Title:
UbuntuUI.Toolbar Example Is Not Valid HTML
Status in Ubuntu UI SDK for HTML5 Apps:
Fix Released
Status in “ubuntu-html5-theme” package in Ubuntu:
Fix Released
Bug description:
As the summary states, the UbuntuUI.Toolbar API in 14.04 SDK version
(http://developer.ubuntu.com/api/html5/sdk-14.04/UbuntuUI.Toolbar/)
has an example that has incorrect HTML. To be more precise, it has a
<ul> unordered list tag after a nav tag, and the UL tag is closed off
with a </div> tag with the </nav> inside.
Content of example:
<footer data-role="footer" class="revealed" id="footerID">
<nav>
<ul>
<li>
<a href="#" id="home">Home</a>
</li>
</nav>
</div>
</footer>
JavaScript access:
var toolbar = UI.footer("footerID");
UI.button('home').click(function () {
UI.pagestack.push("main");
});
Should be:
<footer data-role="footer" class="revealed" id="footerID">
<nav>
<ul>
<li>
<a href="#" id="home">Home</a>
</li>
</ul>
</nav>
</footer>
JavaScript access:
var toolbar = UI.footer("footerID");
UI.button('home').click(function () {
UI.pagestack.push("main");
});
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-html5-theme/+bug/1286833/+subscriptions