Closed Bug 306006 Opened 19 years ago Closed 19 years ago

typos in dom_doc_ref45.html and dom_doc_ref44.html

Categories

(Documentation Graveyard :: Web Developer, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sakurachan, Unassigned)

Details

Attachments

(2 files)

User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FunWebProducts)
Build Identifier: 

Index: mozilla-org/html/docs/dom/domref/dom_doc_ref45.html
===================================================================
RCS file: /cvsroot/mozilla-org/html/docs/dom/domref/dom_doc_ref45.html,v
retrieving revision 1.35
diff -u -r1.35 dom_doc_ref45.html
--- mozilla-org/html/docs/dom/domref/dom_doc_ref45.html	11 Dec 2002 21:52:11 -
0000	1.35
+++ mozilla-org/html/docs/dom/domref/dom_doc_ref45.html	26 Aug 2005 02:52:58 -
0000
@@ -61,7 +61,7 @@
     <td><font face="courier" color="darkgreen"><pre  class="Preformatted">
 <font face="courier" color="darkgreen">var frag = 
document.createDocumentFragment();</font>
 <a name="1007527"> </a>
-<font face="courier" color="darkgreen">frag.appendChild( ???
document.createTextNode(`&lt;div&gt;Moveable Div&lt;/div&gt;') );</font>
+<font face="courier" color="darkgreen">frag.appendChild( 
document.createTextNode('&lt;div&gt;Moveable Div&lt;/div&gt;') );</font>
 <a name="1007538"> </a>
 </pre>
 </font></td>



Index: mozilla-org/html/docs/dom/domref/dom_doc_ref44.html
===================================================================
RCS file: /cvsroot/mozilla-org/html/docs/dom/domref/dom_doc_ref44.html,v
retrieving revision 1.35
diff -u -r1.35 dom_doc_ref44.html
--- mozilla-org/html/docs/dom/domref/dom_doc_ref44.html	11 Dec 2002 21:52:11 -
0000	1.35
+++ mozilla-org/html/docs/dom/domref/dom_doc_ref44.html	26 Aug 2005 03:04:57 -
0000
@@ -60,7 +60,7 @@
   <caption></caption>
   <tr>
     <td><font face="courier" color="darkgreen"><pre  class="Preformatted">
-<font face="courier" color="darkgreen">d = document.getElementById
("div1);</font>
+<font face="courier" color="darkgreen">d = document.getElementById
("div1");</font>
 <a name="1007501"> </a>
 <font face="courier" color="darkgreen">p = d.createAttribute
("proportion");</font>
 <a name="1007502"> </a>


Reproducible: Always

Steps to Reproduce:
view http://www.mozilla.org/docs/dom/domref/dom_doc_ref44.htm
and http://www.mozilla.org/docs/dom/domref/dom_doc_ref45.htm

Actual Results:  
typo
Attached patch patch for dom doc ref44 β€” β€” Splinter Review
Attached patch patch for dom doc ref45 β€” β€” Splinter Review
Status: UNCONFIRMED → NEW
Ever confirmed: true
createAttribute's doc was already fixed
createDocumentFragment's doc is fixed:
http://developer.mozilla.org/en/docs/DOM:document.createDocumentFragment#Example
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: