Closed
Bug 272547
Opened 20 years ago
Closed 20 years ago
ol li overflow:auto sets counter to zero
Categories
(Core :: Layout: Block and Inline, defect)
Core
Layout: Block and Inline
Tracking
()
RESOLVED
FIXED
People
(Reporter: felix-sein-hosenladen, Assigned: roc)
References
Details
(Keywords: css2, testcase)
Attachments
(2 files)
(deleted),
text/html
|
Details | |
(deleted),
patch
|
bzbarsky
:
review+
bzbarsky
:
superreview+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
The css-rule "overflow:auto" sets the li counter to 0. Every li now has the
number 0.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>abc</title>
<style type="text/css" media="screen">
li {
width:100px;
list-style-type:decimal;
list-style-position:inside;
overflow:auto;
}
</style>
</head>
<body>
<ol>
<li>aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</li>
<li>bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb</li>
<li>cccccccccccccccccccccccccccccccccccccccccccccccccccccc</li>
</ol>
</body>
</html>
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1•20 years ago
|
||
I see this behaviour here too, using the following builds:
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; de-AT; rv:1.8a4) Gecko/20040927
Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; de-DE; rv:1.7.5) Gecko/20041108
Firefox/1.0
Assignee: firefox → nobody
Component: General → Layout
OS: Windows 2000 → All
Product: Firefox → Core
QA Contact: firefox.general → core.layout
Hardware: PC → All
Version: unspecified → Trunk
Comment 2•20 years ago
|
||
Comment 3•20 years ago
|
||
this might be the better component for this, correct me if I am wrong.
Assignee: nobody → dbaron
Component: Layout → Style System (CSS)
QA Contact: core.layout → ian
Updated•20 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Updated•20 years ago
|
Updated•20 years ago
|
Assignee: dbaron → nobody
Component: Style System (CSS) → Layout: Block and Inline
QA Contact: ian → layout.block-and-inline
Assignee | ||
Comment 4•20 years ago
|
||
The fix is fairly easy ... when looking for blocks to renumber into, we have to
skip through any wrappers (nsHTMLScrollFrame in this case).
Assignee: nobody → roc
Status: NEW → ASSIGNED
Attachment #178427 -
Flags: superreview?(bzbarsky)
Attachment #178427 -
Flags: review?(bzbarsky)
Comment 5•20 years ago
|
||
Comment on attachment 178427 [details] [diff] [review]
fix
r+sr=bzbarsky
Attachment #178427 -
Flags: superreview?(bzbarsky)
Attachment #178427 -
Flags: superreview+
Attachment #178427 -
Flags: review?(bzbarsky)
Attachment #178427 -
Flags: review+
Assignee | ||
Comment 6•20 years ago
|
||
checked in
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•