Add list-style-position (inside/outside), list-style-image, complete list-style shorthand, and automatic list counters via CounterContext. Includes code review fixes: add ListStyleImage to is_inherited(), fix quoted URL parsing in parse_list_style_image() and shorthand expansion, remove spurious list_marker_width for inside-positioned markers. 6 golden tests (235-240) and 15 new unit tests added. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
303 B
HTML
24 lines
303 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
ul {
|
|
list-style-position: inside;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
li {
|
|
background-color: #eee;
|
|
margin-bottom: 5px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ul>
|
|
<li>First item (inside)</li>
|
|
<li>Second item (inside)</li>
|
|
<li>Third item (inside)</li>
|
|
</ul>
|
|
</body>
|
|
</html>
|