aboutsummaryrefslogtreecommitdiffstats
path: root/demos/menu/default.html
diff options
context:
space:
mode:
authorTJ VanToll <tj.vantoll@gmail.com>2014-10-25 09:18:17 -0700
committerTJ VanToll <tj.vantoll@gmail.com>2014-10-25 10:10:30 -0700
commitde2ef2a585447cf75fc8d4a734c12aa2bbd028c2 (patch)
tree38f5491fedb4668ff8a55ea38934bf7f5561d777 /demos/menu/default.html
parent3002d460de2b854243d99634e69d394dfca78886 (diff)
downloadjquery-ui-de2ef2a585447cf75fc8d4a734c12aa2bbd028c2.tar.gz
jquery-ui-de2ef2a585447cf75fc8d4a734c12aa2bbd028c2.zip
Menu: Wrap menu items in a <div>
This avoids styling issues where ui-state-focus rules apply to submenus. Fixes #10162 Closes gh-1342
Diffstat (limited to 'demos/menu/default.html')
-rw-r--r--demos/menu/default.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/demos/menu/default.html b/demos/menu/default.html
index 6da41e016..6c23c4e22 100644
--- a/demos/menu/default.html
+++ b/demos/menu/default.html
@@ -22,38 +22,38 @@
<body>
<ul id="menu">
- <li class="ui-state-disabled">Aberdeen</li>
- <li>Ada</li>
- <li>Adamsville</li>
- <li>Addyston</li>
- <li>Delphi
+ <li class="ui-state-disabled"><div>Aberdeen</div></li>
+ <li><div>Ada</div></li>
+ <li><div>Adamsville</div></li>
+ <li><div>Addyston</div></li>
+ <li><div>Delphi</div>
<ul>
- <li class="ui-state-disabled">Ada</li>
- <li>Saarland</li>
- <li>Salzburg an der schönen Donau</li>
+ <li class="ui-state-disabled"><div>Ada</div></li>
+ <li><div>Saarland</div></li>
+ <li><div>Salzburg an der schönen Donau</div></li>
</ul>
</li>
- <li>Saarland</li>
- <li>Salzburg
+ <li><div>Saarland</div></li>
+ <li><div>Salzburg</div>
<ul>
- <li>Delphi
+ <li><div>Delphi</div>
<ul>
- <li>Ada</li>
- <li>Saarland</li>
- <li>Salzburg</li>
+ <li><div>Ada</div></li>
+ <li><div>Saarland</div></li>
+ <li><div>Salzburg</div></li>
</ul>
</li>
- <li>Delphi
+ <li><div>Delphi</div>
<ul>
- <li>Ada</li>
- <li>Saarland</li>
- <li>Salzburg</li>
+ <li><div>Ada</div></li>
+ <li><div>Saarland</div></li>
+ <li><div>Salzburg</div></li>
</ul>
</li>
- <li>Perch</li>
+ <li><div>Perch</div></li>
</ul>
</li>
- <li class="ui-state-disabled">Amesville</li>
+ <li class="ui-state-disabled"><div>Amesville</div></li>
</ul>
<div class="demo-description">