Closed Bug 281113 Opened 20 years ago Closed 20 years ago

clean up and document nsStyleContext/nsRuleNode

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: dbaron, Assigned: dbaron)

Details

Attachments

(2 files)

I already checked in a bunch of comments, but there's a little bit of code
cleanup that I want to do in nsStyleContext and nsRuleNode as well (make
mRuleNode const, and remove GetStyleBits).

I'll attach a patch for review that includes what I already checked in and some
things that I haven't checked in yet.
Attached patch patchSplinter Review
Attachment #173411 - Flags: superreview?(bzbarsky)
Attachment #173411 - Flags: review?(bzbarsky)
Comment on attachment 173411 [details] [diff] [review]
patch

>Index: nsStyleContext.h
>+ * the data in an
>+ * nsStyleContext are also immutable.

Modulo GetUniqueStyleData.  I just looked, though, and both the remaining
callers can probably be eliminated in the 1.9 timeframe if we want.  So I'm ok
with not documenting it and just removing it ASAP....

r+sr=bzbarsky.	Thanks for documenting this!
Attachment #173411 - Flags: superreview?(bzbarsky)
Attachment #173411 - Flags: superreview+
Attachment #173411 - Flags: review?(bzbarsky)
Attachment #173411 - Flags: review+
Checked in to trunk, 2005-02-04 21:24 -0800.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: