Previously, marker generation checked the HTML tag name ("li") and
required a list parent (ul/ol/dir/menu). This caused <li> elements
styled with display: table-cell or display: table to incorrectly
show bullet markers. Per CSS spec, list-style only applies to elements
with display: list-item, regardless of tag name or parent.
Adds Display::ListItem variant, parses "list-item" CSS keyword, updates
UA stylesheet to give <li> display: list-item instead of block, and
replaces the tag-name-based marker check with a display-based check.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 lines
990 B
Plaintext
14 lines
990 B
Plaintext
DisplayList items=12
|
|
Text rect=(-0.41703367, 8, 4.4170337, 16) text="•" color=#000000 font_size=16
|
|
Text rect=(8, 9.6, 3.8649044, 16) text="[" color=#000000 font_size=16
|
|
Text rect=(14.919236, 9.6, 61.321587, 16) text="2023-09-11" color=#000000 font_size=16
|
|
Text rect=(79.29515, 9.6, 3.8649044, 16) text="]" color=#000000 font_size=16
|
|
Text rect=(86.214386, 9.6, 36.593246, 16) text="SunOS" color=#0000ee font_size=16
|
|
SolidRect rect=(86.214386, 24.443718, 36.593246, 1.1428572) color=#0000ee
|
|
Text rect=(125.86196, 9.6, 16.082232, 16) text="4.x" color=#0000ee font_size=16
|
|
SolidRect rect=(125.86196, 24.443718, 16.082232, 1.1428572) color=#0000ee
|
|
Text rect=(144.99854, 9.6, 48.904552, 16) text="Terminal" color=#0000ee font_size=16
|
|
SolidRect rect=(144.99854, 24.443718, 48.904552, 1.1428572) color=#0000ee
|
|
Text rect=(196.95743, 9.6, 76.42878, 16) text="Configuration" color=#0000ee font_size=16
|
|
SolidRect rect=(196.95743, 24.443718, 76.42878, 1.1428572) color=#0000ee
|