Closed
Bug 212504
Opened 22 years ago
Closed 22 years ago
namespaceID argument to nsCSSLoader::CreateSheet() should be PRInt32
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
People
(Reporter: caillon, Assigned: caillon)
Details
Attachments
(1 file, 2 obsolete files)
58.06 KB,
patch
|
bzbarsky
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
/usr/local/src/mozilla/trunk/mozilla/content/html/style/src/nsCSSLoader.cpp: In
member function `nsresult CSSLoaderImpl::InternalLoadAgentSheet(nsIURI*,
nsICSSStyleSheet**, nsICSSLoaderObserver*)':
/usr/local/src/mozilla/trunk/mozilla/content/html/style/src/nsCSSLoader.cpp:1838:
warning: passing
negative value `-1' for argument 3 of `nsresult
CSSLoaderImpl::CreateSheet(nsIURI*, nsIContent*, unsigned int, int,
StyleSheetState&, nsICSSStyleSheet**)'
Assignee | ||
Comment 1•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #127617 -
Flags: superreview?(bzbarsky)
Attachment #127617 -
Flags: review?(bzbarsky)
![]() |
||
Comment 2•22 years ago
|
||
Actually, I've been considering removing this argument altogether. We never use
it (just like we never use the default namespace stuff in the parser and
CSSStyleSheet). Do we have plans to use any of it?
Comment 3•22 years ago
|
||
(dunno about this particular argument, but AIUI, the default namespace stuff was
a misguided "feature" from the late 90s that never really worked and has no good
reason to exist.)
![]() |
||
Comment 4•22 years ago
|
||
Well, all this argument does is set the default namespace on sheets loaded via
that cssloader....
Assignee | ||
Comment 5•22 years ago
|
||
Per discussion with bz
Attachment #127617 -
Attachment is obsolete: true
Assignee | ||
Updated•22 years ago
|
Attachment #127617 -
Flags: superreview?(bzbarsky)
Attachment #127617 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•22 years ago
|
Attachment #127779 -
Flags: superreview?(bzbarsky)
Attachment #127779 -
Flags: review?(bzbarsky)
Assignee | ||
Comment 6•22 years ago
|
||
Assignee | ||
Updated•22 years ago
|
Attachment #127779 -
Flags: superreview?(bzbarsky)
Attachment #127779 -
Flags: review?(bzbarsky)
Assignee | ||
Updated•22 years ago
|
Attachment #127789 -
Flags: superreview?(bzbarsky)
Attachment #127789 -
Flags: review?(bzbarsky)
![]() |
||
Comment 7•22 years ago
|
||
Comment on attachment 127789 [details] [diff] [review]
Better fix
r=bzbarsky if you take out that stray printf.
dbaron, could you sr? I don't think there are any issues with this, but you're
more familiar with the CSSStyleSheetImpl code....
Attachment #127789 -
Flags: superreview?(dbaron)
Attachment #127789 -
Flags: superreview?(bzbarsky)
Attachment #127789 -
Flags: review?(bzbarsky)
Attachment #127789 -
Flags: review+
Comment on attachment 127789 [details] [diff] [review]
Better fix
sr=dbaron if you fix nsMathMLFrame::MapAttributesIntoCSS (which I think you
need to do)
Attachment #127789 -
Flags: superreview?(dbaron) → superreview+
Assignee | ||
Comment 9•22 years ago
|
||
Oh, good catch. Fixed both your comments and checked in 07/17/2003 18:26.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•