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)
Core Graveyard
Viewer App
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9
People
(Reporter: glazou, Assigned: glazou)
References
Details
Attachments
(1 file)
|
3.12 KB,
patch
|
Details | Diff | Splinter Review |
|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.
*** Bug 71649 has been marked as a duplicate of this bug. ***
| Assignee | ||
Comment 4•24 years ago
|
||
| Assignee | ||
Comment 5•24 years ago
|
||
Proposed fix for this bug. Just reuses |nsCSSSelector::ToString| instead
of re-doing all the work...
r= and sr= needed
Comment 6•24 years ago
|
||
Ah, the beauty of factoring! sr=attinasi (but make sure Pierre has reviewed to
too please.)
Comment 7•24 years ago
|
||
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
| Assignee | ||
Comment 8•24 years ago
|
||
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
| Assignee | ||
Updated•24 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 9•24 years ago
|
||
checked in ;-)
Updated•17 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•