Closed Bug 203727 Opened 23 years ago Closed 17 years ago

list numbering rendering is skewed

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: rubydoo123, Assigned: MatsPalmgren_bugz)

References

Details

(Keywords: testcase, verified1.9.1)

Attachments

(6 files)

Tested using build 2003042808 on win2K 1. open composer 2. select the numbered list icon from the toolbar and enter the following: one[enter] two[enter] three[enter] four[enter] nine[enter] ten[enter] eleven[enter] five[enter] six[enter] seven[enter] eight 3. select 'nine,' 'ten,' and 'eleven' and press the indent icon on the toolbar Actual results: item numbers 7 & 8 are shifted to the left and are not vertically aligned with other numbers Expected: the vertical alignment to be correct. Attaching a screen grab
This is a different type of misalignment, but it also happens on exactly items number 7 and 8. The html code for the page will be attached next.
This code creates the misaligned page. Page renders properly in Internet Explorer.
A workaround for my misalignment examples is to put the <LI> tags AFTER the <A NAME=> tags. This suggests that my additional example is really a different bug with the NAME Anchor counting towards the line fill.
QA Contact: bugzilla → editor
Assignee: mozeditor → nobody
Attached file Testcase
This is actually a Layout bug...
Component: Editor → Layout: Block and Inline
Flags: in-testsuite?
Keywords: testcase
OS: Windows 2000 → All
QA Contact: editor → layout.block-and-inline
Hardware: PC → All
Attached patch reftest.diffSplinter Review
Attached patch Like so?Splinter Review
When the list item ordinal changes, mark the bullet frame dirty rather than invalidating its area.
Attachment #312999 - Flags: superreview?(dbaron)
Attachment #312999 - Flags: review?(dbaron)
Comment on attachment 312999 [details] [diff] [review] Like so? The bullet is always a child of the item, right? r+sr=dbaron
Attachment #312999 - Flags: review?(dbaron) → review+
Attachment #312999 - Flags: superreview?(dbaron) → superreview+
Assignee: nobody → mats.palmgren
(In reply to comment #9) > (From update of attachment 312999 [details] [diff] [review]) > The bullet is always a child of the item, right? The bullet frame always has the list item block frame as parent. An inside bullet frame is in the normal flow child list, an outside bullet is not. Both are stored in the 'mBullet' member.
In theory, an inside bullet need not be a child (but rather some other type of descendant), if the block's first normal child is another block. I'm not sure if we implement that, though.
AFAICT, it's always a direct child: http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsBlockFrame.cpp#6395 and other parts of this file depends on that...
Status: NEW → RESOLVED
Closed: 17 years ago
Flags: wanted1.9.0.x?
Flags: in-testsuite?
Flags: in-testsuite+
Resolution: --- → FIXED
We're using "wanted" for prospective blockers (and a slightly different meaning for security bugs), and a cosmetic change doesn't make the cut. Looks like a safe patch, though, so you could try an approval request. Doesn't meet the strict criteria, but might catch mconnor on a good day.
Flags: wanted1.9.0.x? → wanted1.9.0.x-
Verified fix on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090130 Minefield/3.2a1pre. It's also been verified on 1.9.1branch, but the keyword was changed over in bug 418574
Status: RESOLVED → VERIFIED
Keywords: verified1.9.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: