Closed
Bug 39013
Opened 25 years ago
Closed 24 years ago
list-item marker disappears when using "position: relative;" [REL POS]
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
WORKSFORME
Future
People
(Reporter: kazhik, Assigned: attinasi)
References
(Depends on 1 open bug)
Details
(Keywords: css2)
Attachments
(1 file)
360 bytes,
text/html
|
Details |
list-item marker disappears when using "position: relative;".
<ol>
<li style="position: relative; left: 00px;">Line 1
<li style="position: relative; left: 20px;">Line 2
<li style="position: relative; left: 40px;">Line 3
</ol>
Assignee | ||
Comment 1•25 years ago
|
||
Yet another relative / absolute positioning bug... (sigh)
Assignee: pierre → attinasi
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 2•25 years ago
|
||
Accepting and assigning milestone.
Status: NEW → ASSIGNED
Target Milestone: --- → M18
Assignee | ||
Comment 3•25 years ago
|
||
Assignee | ||
Comment 4•25 years ago
|
||
When a LI is abs. or rel. positioned, the frame for the bullets (image or
numbers) is not even created.
There are problem in the CSSFrameConstructor: in the positioned cases, the frame
for the LI is created differently, and in such a way that
nsBlockFrame::SetInitialChildList is not called, and that is where the bullet
frame is normally created.
I'm still investigating... If anybody has experience in this area I could use
some help :-)
Comment 5•25 years ago
|
||
Note that as mentioned in another bug, a "display:list-item" frame that is
absolutely positioned, becomes a "display:block" frame and thus loses it's
bullet. I think. Yes, here it is:
http://www.w3.org/TR/REC-CSS2/visuren.html#q24
Relative positioning is a different matter, the bullet shouldn't go walkabouts
in that particular case.
Keywords: css2
Assignee | ||
Comment 6•25 years ago
|
||
This bug has been marked "future" because we have determined that it is not
critical for netscape 6.0. If you feel this is an error, or if it blocks your
work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M18 → Future
Updated•25 years ago
|
Summary: list-item marker disappears when using "position: relative;" → list-item marker disappears when using "position: relative;" [REL POS]
Comment 7•25 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking
remaining non-tables style bugs. Sorry about the spam. I tried to get this done
directly at the database level, but apparently that is "not easy because of the
shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
Comment 10•24 years ago
|
||
position:relative is only one which triggers the appeareance of this bug.
Each of the following makes the list marker to disapear:
position:relative;top:0px;left:120%;width:100%;margin:0px;padding:0px;
This does not affect the list marker:
visibility:hidden;
If you set the visibility afterwards to visible, then the list marker appears.
Comment 11•24 years ago
|
||
The same problem exists when using "padding:" or "padding-left:"
<head>
<style type="text/css">
ol { padding-left: 10pt}
</style>
</head>
<body>
<ol>
<li>Line 1
<li>Line 2
<li>Line 3
</ol>
</body>
Comment 12•24 years ago
|
||
WFM now.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Comment 13•24 years ago
|
||
Why is this bug target smilestone set to future?
You need to log in
before you can comment on or make changes to this bug.
Description
•