Closed Bug 169054 Opened 22 years ago Closed 8 years ago

Don't use code in nsContextMenuInfo.cpp which is not publicly supported

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 235187

People

(Reporter: ccarlen, Assigned: ccarlen)

Details

http://lxr.mozilla.org/seamonkey/source/embedding/browser/webBrowser/nsContextMenuInfo.cpp#356 As the comment says, find a better, publicly supported way of doing what this code is doing.
GetComputedStyle is a supported method. See http://lxr.mozilla.org/seamonkey/source/content/xml/document/src/nsXMLContentSink.cpp#350 for an example. I'm not sure if it will do completely what you want, but you could hack the background-getting function to do what you want for :-moz-viewport or :-moz-canvas or something fun like that (or provide a different API).
QA Contact: adamlock → docshell
This was fixed 13 years ago by bug 235187.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.