Closed Bug 94396 Opened 24 years ago Closed 24 years ago

CSS1: list-item display mode doesn't work with XML correctly

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: ericp, Assigned: pierre)

References

()

Details

Viewing the following XML file should display a bulleted list, as far as I understand CSS1 so far, but doesn't. XML file "buglist.xml": <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/css" href="buglist.css"?> <list> <item>1st point</item> <item>2nd point</item> <item>3rd point</item> </list> CSS file "buglist.css": item {display: list-item; list-style-type: disc; }
The reason is that the list-style-position property has a default value of outside. If you add "list-style-position: inside;" to your item style or if you add "list {margin-left:20px}" to the stylesheet you will see the bullets. See http://www.w3.org/TR/REC-CSS2/generate.html#q11 for details.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
VERIFIED -- another way of checking that is to add some margins.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.