Closed Bug 791416 Opened 12 years ago Closed 12 years ago

document parameters to nsStyleContext constructor and remove aPresContext parameter

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: dbaron, Unassigned)

Details

Attachments

(1 file)

Attached patch patchSplinter Review
I started to document the parameters to nsStyleContext's constructor and realized the aPresContext parameter is silly, so I removed it along with adding the documentation.
Attachment #661438 - Flags: review?(bzbarsky)
Comment on attachment 661438 [details] [diff] [review]
patch

>+++ b/layout/style/nsStyleContext.h
>+   * @param aPseudoTag  The pseudo-element or anonymous box for which
>+   *                    this style context represents style.

Please add "Null if this is a style context for a nomrla DOM element.

r=me
Attachment #661438 - Flags: review?(bzbarsky) → review+
https://hg.mozilla.org/mozilla-central/rev/e041c4098d4a
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: