tidy-html5/regression_testing/cases/legacy-expects/case-1410061b.html
Jim Derry 1ca8e210c8 Fixes #525.
Naked groups of LI in HTML5 mode will now have an inferred UL applied to
them consistent with HTML4 and earlier modes.

Test case added.

Note that three regressions were updated in favor of this corrected behavior.
2021-08-17 12:34:43 -04:00

20 lines
465 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>1410061 - issue 1 inferred ul</title>
<style type="text/css">
span.c2 {font-size: 200%}
ul.c1 {padding-left: 2ex; margin-left: 0ex; margin-top: 0ex; margin-bottom: 0ex}
</style>
</head>
<body>
<b><span class="c2">In bold</span></b>
<ul class="c1">
<li><span class="c2">Not in bold</span></li>
<li><span class="c2">With font size 6</span></li>
<li><span class="c2">But should NOT be indented</span></li>
</ul>
</body>
</html>