Closed
Bug 233160
Opened 21 years ago
Closed 21 years ago
Separate style overlays out of nsIChromeRegistry
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.7beta
People
(Reporter: benjamin, Assigned: benjamin)
References
Details
Attachments
(1 file, 1 obsolete file)
95.51 KB,
patch
|
hyatt
:
superreview+
|
Details | Diff | Splinter Review |
From my chrome interface separation proposal
(http://bdsmedberg.no-ip.org/chrome/) separate out the style overlays, just like
I separated out the XUL overlays. When implementing this, I found that the
category is just too complicated and unncessary, so I ditched it and folded the
style overlays into the same nsIXULOverlayProvider interface.
Assignee | ||
Comment 1•21 years ago
|
||
This is a checkpoint patch, not ready for review yet. It works in firebird, but
breaks seamonkey, minimo, and pretty much everything else ;)
Assignee | ||
Comment 2•21 years ago
|
||
OK, here is the full patch for review. This moves all user/agent sheet logic
out of the chrome registry into layout. nsIChromeRegistry is down to three
methods!
Assignee | ||
Updated•21 years ago
|
Attachment #140670 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #140978 -
Flags: superreview?(bzbarsky)
Attachment #140978 -
Flags: review?(hyatt)
Comment 3•21 years ago
|
||
I may not get to this for a week or so.
Comment 4•21 years ago
|
||
In fact, I have no idea when I'll be able to get to this....
Assignee | ||
Updated•21 years ago
|
Attachment #140978 -
Flags: superreview?(bzbarsky) → superreview?(hyatt)
Comment 5•21 years ago
|
||
Comment on attachment 140978 [details] [diff] [review]
complete patch for sea/ff/minimo
This looks great. sr=me
Attachment #140978 -
Flags: superreview?(hyatt) → superreview+
It's really a stylesheet cache, not a style cache.
Also, I wonder if we should do anything related to bug 179006. Probably not...
Maybe more later...
Assignee | ||
Comment 7•21 years ago
|
||
I'm definitely thinking about 179006, but not in this bug.
Assignee | ||
Comment 8•21 years ago
|
||
Comment on attachment 140978 [details] [diff] [review]
complete patch for sea/ff/minimo
dbaron, do you want to do a full review?
Attachment #140978 -
Flags: review?(hyatt) → review?(dbaron)
I'm not going to have a chance to do a full review of this before 1.7b, so I'm
OK with it just going in, assuming you rename to nsLayoutStylesheetCache. But
bz might want to have a look.
Comment on attachment 140978 [details] [diff] [review]
complete patch for sea/ff/minimo
>+ char *str = ToNewCString(sheets);
>+ char *newStr;
>+ char *token;
>+ while ( (token = nsCRT::strtok(str, ", ", &newStr)) ) {
Your condensation of the two strtok calls into one was incorrect. You need:
char *str = ToNewCString(sheets);
char *newStr;
char *token = str;
while ( (token = nsCRT::strtok(token, ", ", &newStr)) ) {
Comment 11•21 years ago
|
||
I have no time to do more than skim before freeze... the interface looks ok,
though we will eventually need to move user/agent sheets elsewhere. The other
changes look fine in general.. (again, I didn't read the details).
Comment on attachment 140978 [details] [diff] [review]
complete patch for sea/ff/minimo
You landed this, right?
Attachment #140978 -
Flags: review?(dbaron)
Assignee | ||
Comment 13•21 years ago
|
||
yes, this went in before the 1.7b freeze
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.7beta
You need to log in
before you can comment on or make changes to this bug.
Description
•