Closed Bug 71648 Opened 24 years ago Closed 24 years ago

Dump of stylesheets in Viewer outputs erroneous selectors

Categories

(Core Graveyard :: Viewer App, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla0.9

People

(Reporter: glazou, Assigned: glazou)

References

Details

Attachments

(1 file)

|nsCSSStyleRuleImpl::List| should use |nsCSSSelector::ToString|. For the moment, the selectors' output from the viewer is false in various ways. Tis is a very easy fix.
accepting bug
Status: NEW → ASSIGNED
*** Bug 71649 has been marked as a duplicate of this bug. ***
setting to moz0.9
Priority: -- → P3
Target Milestone: --- → mozilla0.9
Proposed fix for this bug. Just reuses |nsCSSSelector::ToString| instead of re-doing all the work... r= and sr= needed
Ah, the beauty of factoring! sr=attinasi (but make sure Pierre has reviewed to too please.)
Two remarks: - The line you add should be mSelector.ToString(buffer, mSheet, PR_FALSE, 0); instead of mSelector.ToString(buffer, mSheet, PR_FALSE); - You should replace the line that immediately follows the one you add: buffer.AppendWithConversion("weight: "); with buffer.AppendWithConversion(" weight: "); With these two changes, r=pierre
I agree 100% with the comments : * missing arguments is caused by the integration of 71647... * I already added the missing whitespace to my own build to get a better and more readable output checking in asap
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: