Closed
Bug 123824
Opened 23 years ago
Closed 3 years ago
idl documentation is poorly worded
Categories
(Core :: DOM: Core & HTML, defect, P5)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: timeless, Unassigned)
References
()
Details
Attachments
(1 obsolete file)
i was browsing http://unstable.elemental.com/mozilla/build/latest/mozilla/dom/dox/interfacensIDOMWindow.html And read: attribute float nsIDOMWindow::textZoom Set/Get the document scale factor. When setting this attribute, a NS_ERROR_NOT_IMPLEMENTED error may be returned by implementations not supporting zoom. Implementations not supporting zoom should return 1.0 all the time for the Get operation. 1.0 is equals normal size, i.e. no zoom. -- This text needs to be at least as good as the implementation text, and it currently isn't. Set/Get the document text scaling factor. An implementation that does not support zoom should return NS_ERROR_NOT_IMPLEMENTED when the setter is called and the outvalue for the getter should be 1.0. A textZoom of 1.0 means normal size, ie no scaling.
Comment 3•22 years ago
|
||
Couldn't find much wrong with the original text, but reworded it anyway.
Updated•22 years ago
|
Attachment #110354 -
Flags: superreview?(jst)
Attachment #110354 -
Flags: review?(fabian)
Comment 5•22 years ago
|
||
Comment on attachment 110354 [details] [diff] [review] my first take > Couldn't find much wrong with the original text, but reworded it anyway. That is silly. Don't do that. Or explain yourself better. Doing things for the hell of it is bad. But more on that later.... Don't you want to get reviews from the people who actually own this file? Like dougt and darin. One (both?) of them should at least see this patch (or a revised version of it) before it gets reviewed. >@@ -42,6 +42,7 @@ > * methods" are not scriptable. > * > * @status FROZEN >+ * Is there any particular reason for this change? > */ > [scriptable, uuid(c8c0a080-0868-11d3-915f-d9d889d48e3c)] > interface nsIFile : nsISupports >@@ -51,7 +52,9 @@ > * > * NORMAL_FILE_TYPE - A normal file. > * DIRECTORY_TYPE - A directory/folder. >+ * > */ >+ Or these changes? Especially the new line after the comment, which goes against style and screws up some JavaDoc converters which require there to be no space between the comment and what it's commenting. When making style changes, do so because most of the file does it, not because you like it better (or whatever your reasoning was). This applies to pretty much every change you made in the file. > const unsigned long NORMAL_FILE_TYPE = 0; > const unsigned long DIRECTORY_TYPE = 1; > >@@ -276,48 +367,69 @@ > * error (NS_ERROR_FILE_UNKNOWN_TYPE). > * > * @param permissions >- * The unix style octal permissions. This may >+ * The unix style octal permissions. This may Don't change this sort of thing. I see several other places which use two spaces between sentences, yet you do nothing to those places. Follow the prevailing style of the file (or just save yourself trouble and leave these alone, it's not that big of a deal. Really). And read http://java.sun.com/j2se/javadoc/writingdoccomments/ . I suggest you write a new patch, and then find more appropriate reviewers.
Attachment #110354 -
Flags: superreview?(jst)
Attachment #110354 -
Flags: review?(fabian)
Attachment #110354 -
Flags: review-
Comment 6•22 years ago
|
||
Also, um, what happened to nsIDOMWindow? I think I see now why you thought you wanted jst and fabian to review this since the bug right up to your patch talked about DOM stuff, but did you attach the wrong patch?
Comment 7•22 years ago
|
||
Comment on attachment 110354 [details] [diff] [review] my first take Duh, wrong patch. Sorry!
Attachment #110354 -
Attachment is obsolete: true
Comment 8•21 years ago
|
||
My time is very limited right now.
Assignee: bugzilla → nobody
Status: ASSIGNED → NEW
Updated•15 years ago
|
QA Contact: ian → general
Assignee | ||
Updated•11 years ago
|
Component: DOM: Mozilla Extensions → DOM
Assignee | ||
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
Updated•3 years ago
|
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•