User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7a) Gecko/20040108 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7a) Gecko/20040108 list item disappears when switching stylesheet Reproducible: Always Steps to Reproduce: 1.Open the testcase. 2.Use style test. 3.The list item disappears.
I got same results in http://quadrone.org. select basic theme and then select any style again. The Firebird and Thunderbird links are disappeared.
Confirming using Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.6) Gecko/20040109
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
Not sure if this is the correct component, but definitly not Browser-General
Assignee: general → nobody
Component: Browser-General → Layout
QA Contact: general → core.layout
So it looks like dynamic changes to list-style-position are not quite happy... Looking at the code in nsBlockFrame::UpdateBulletPosition (http://lxr.mozilla.org/seamonkey/source/layout/html/base/src/nsBlockFrame.cpp#1587), it looks like the bullet and the first item in the first line both get stuffed into the first line, which seems incorrect when that first item is a block...
Component: Layout → Layout: Block and Inline
QA Contact: core.layout → core.layout.block-and-inline
See also bug 36854, which discusses why what we're doing in the non-dynamic case for list-style-position:inside is wrong too.
Depends on: 36854
You need to log in before you can comment on or make changes to this bug.