Closed
Bug 451507
Opened 18 years ago
Closed 17 years ago
searching for insertBefore should favor the DOM method
Categories
(developer.mozilla.org Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: timeless, Unassigned)
References
()
Details
compare MDC and Google. Google picks the right result (even if i don't intercaps the method name).
http://developer.mozilla.org/Special:Search?search=insertBefore&type=fulltext&go=Search
*
insertbefore in En/XUL/Attribute
56 words - Updated 5 months ago
« XUL Reference home insertbefore Type: element id When an element is in an overlay , the insertbefore attribute specifies the id of the element in the base window that the element should appear before. This value may be a comma-separated list of ids, which are scanned and the first one found in the window is used.
*
element.insertBefore in En/DOM
248 words - Updated 2 months ago
« Gecko DOM Reference Summary Inserts the specified node before a reference element as a child of the current node. Syntax var insertedElement = parentElement.insertBefore(newElement, referenceElement) If referenceElement is null, newElement is inserted at the end of the list of child nodes. insertedElement The node being inserted, that is newElement parentElement The parent of the newly inserted node. newElement The node to insert. referenceElement The node before which newElement is inserted. Example <html> <head> <title>Gecko DOM insertBefore test</title> </head> <body> <div> <span id="childSpan">foo bar</span> </div> <script type="text/javascript"> // create an empty element node // without an ID, any attributes, or any content var sp1 = document.createElement("span"); // give it an id attribute called 'newSpan' sp1.setAttribute("id", "newSpan"); // create some content for the newly created element. var sp1_content = document.createTextNode("This is a new span element.
http://www.google.com/search?q=insertbefore&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a
#
DOM:element.insertBefore - MDC
- 9:50am
<html> <head> <title>Gecko DOM insertBefore test</title> </head> <body> <div> <span id="childSpan">foo bar</span> </div> <script type="text/javascript"> ...
developer.mozilla.org/en/docs/DOM:element.insertBefore - 15k - Cached - Similar pages - Note this
#
XUL:Attribute:insertbefore - MDC
insertbefore: Type: element id: When an element is in an overlay, the insertbefore attribute specifies the id of the element in the base window that the ...
developer.mozilla.org/en/docs/XUL:Attribute:insertbefore - 11k - Cached - Similar pages - Note this
More results from developer.mozilla.org »
Sadly, google links don't work atm, so i'm forced to re-search w/ mdc which gives me something that i didn't care about.
Comment 1•18 years ago
|
||
I'm curious if you have a proposal for how the search engine should be able to know which one is the one you want.
Comment 2•17 years ago
|
||
I don't see a realistic way to make this happen.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
| Assignee | ||
Updated•14 years ago
|
Component: Deki Infrastructure → Other
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•