Closed Bug 452345 Opened 17 years ago Closed 17 years ago

nsCSSFrameConstructor "initial containing block" is misnamed

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: khuey)

References

Details

(Whiteboard: [good first bug])

Attachments

(1 file, 1 obsolete file)

mInitialContainingBlock and GetInitialContainingBlock return the outermost frame for the root element. This is not the initial containing block, the variable should be renamed to mRootElementFrame and GetInitialContainingBlock removed in favour of GetRootElementFrame.
Whiteboard: good first bug
Whiteboard: good first bug → [good first bug]
Attached patch Patch for 452345 (obsolete) — Splinter Review
This patch handles the renaming.
You should probably request review for that patch by going to the attachment details page (you could also have done this when uploading the attachment), changing the review field to "?", and putting in ":roc" as the requestee.
Missed a couple instances the first time around.
Attachment #359158 - Attachment is obsolete: true
Comment on attachment 359160 [details] [diff] [review] Patch for 452345 1.1 Looks good. I guess IsInitialContainingBlock is unused? In a followup patch you could just remove it.
Attachment #359160 - Flags: superreview+
Attachment #359160 - Flags: review?(roc)
Attachment #359160 - Flags: review+
Keywords: checkin-needed
Whiteboard: [good first bug] → [good first bug][needs landing]
Yep, it appears to be completely unused. I'll take it out after this one lands.
Assignee: nobody → me
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [good first bug][needs landing] → [good first bug]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: