[Httpunit-commit] CVS: httpunit/doc Javascript-support.html,1.32,1.33 release_notes.txt,1.240,1.241
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2002-12-30 21:47:26
|
Update of /cvsroot/httpunit/httpunit/doc
In directory sc8-pr-cvs1:/tmp/cvs-serv25347/doc
Modified Files:
Javascript-support.html release_notes.txt
Log Message:
Added document.getElementByID support
Index: Javascript-support.html
===================================================================
RCS file: /cvsroot/httpunit/httpunit/doc/Javascript-support.html,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -r1.32 -r1.33
--- Javascript-support.html 27 Dec 2002 05:09:38 -0000 1.32
+++ Javascript-support.html 30 Dec 2002 21:46:52 -0000 1.33
@@ -93,11 +93,18 @@
<ul>
<li>open - opens a document for writing, optionally specifying a MIME type</li>
<li>close - closes the open document and replaces its contents with the written text</li>
+<li>getElementByID - returns the element in the document with the specified ID</li>
<li>write - writes a string to the contents of the current open document</li>
<li>writeln - writes a line with carriage-return to the contents of the current open document</li>
</ul>
-<h3>Form</h3>
+<h3>HTMLElement</h3>
+<h4>properties</h4>
+<ul>
+<li>title - r/o the title attribute of the element</li>
+</ul>
+
+<h3>Form (inherits from HTMLElement)</h3>
<h4>properties</h4>
<ul>
<li>action - r/w the action associated with the form</li>
@@ -123,7 +130,7 @@
<li>src - read/write - the relative URL of the image</li>
</ul>
-<h3>Link</h3>
+<h3>Link (inherits from HTMLElement)</h3>
<h4>properties</h4>
<ul>
<li>href - read/write - the URL associated with the link</li>
@@ -134,7 +141,7 @@
<li>onMouseOver - invoked when link.mouseOver() is invoked<li>
</ul>
-<h3>Input (and subclasses)</h3>
+<h3>Input (inherits from HTMLElement)</h3>
<h4>properties</h4>
<ul>
<li>form - read-only - the form containing the input</li>
@@ -145,13 +152,13 @@
<li>focus() - a no-op</li>
</ul>
-<h3>Button</h3>
+<h3>Button (inherits from Input)</h3>
<h4>events</h4>
<ul>
<li>onClick - invoked when button.click() is called</li>
</ul>
-<h3>Text</h3>
+<h3>Text (inherits from Input)</h3>
<h4>properties</h4>
<ul>
<li>value - read/write - the current text value</li>
@@ -161,7 +168,7 @@
<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
-<h3>TextArea</h3>
+<h3>TextArea (inherits from Input)</h3>
<h4>properties</h4>
<ul>
<li>value - read/write - the current text value</li>
@@ -171,13 +178,13 @@
<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
-<h3>Hidden</h3>
+<h3>Hidden (inherits from Input)</h3>
<h4>properties</h4>
<ul>
<li>value - read/write - the current text value</li>
</ul>
-<h3>Password</h3>
+<h3>Password (inherits from Input)</h3>
<h4>properties</h4>
<ul>
<li>value - read/write - the current text value</li>
@@ -187,7 +194,7 @@
<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
-<h3>Checkbox</h3>
+<h3>Checkbox (inherits from Input)</h3>
<h4>properties</h4>
<ul>
<li>checked - read/write - the state of the checkbox</li>
@@ -199,7 +206,7 @@
<li>onClick - invoked when the state of the control is changed via form.setParameter or form.removeParameter</li>
</ul>
-<h3>Radio</h3>
+<h3>Radio (inherits from Input)</h3>
<h4>properties</h4>
<ul>
<li>checked - read/write - the state of the radio button</li>
@@ -211,7 +218,7 @@
<li>onClick - invoked when the state of the control is changed via form.setParameter</li>
</ul>
-<h3>Select</h3>
+<h3>Select (inherits from Input)</h3>
<h4>properties</h4>
<ul>
<li>length - read-only - the number of options associated with the control</li>
@@ -224,7 +231,7 @@
<li>onChange - invoked when the value of the control is changed via form.setParameter</li>
</ul>
-<h3>Option</h3>
+<h3>Option (inherits from Input)</h3>
<h4>constructor</h4>
You may construct an Option object and assign it to an element in the Select.options array
<h4>properties</h4>
Index: release_notes.txt
===================================================================
RCS file: /cvsroot/httpunit/httpunit/doc/release_notes.txt,v
retrieving revision 1.240
retrieving revision 1.241
diff -u -r1.240 -r1.241
--- release_notes.txt 27 Dec 2002 13:43:11 -0000 1.240
+++ release_notes.txt 30 Dec 2002 21:46:52 -0000 1.241
@@ -11,6 +11,11 @@
Revision History:
+30-Dec-2002
+Additions:
+ 1. Added support for document.getElementByID
+ 2. all HTML elements with id attributes are now accessible
+
27-Dec-2002
Additions:
1. Added getFragmentIdentifier() to WebRequestSource (parent of WebLink, WebForm, and WebImage)
@@ -27,26 +32,26 @@
25-Dec-2002
Notes:
- get...WithID was incorrectly doing case insensitive matches. It is now case-sensitive, since that is the way the
- ID attribute is defined.
+ 1. get...WithID was incorrectly doing case insensitive matches. It is now case-sensitive, since that is the way the
+ ID attribute is defined.
24-Dec-2002
Additions:
- HTMLParserFactory now supports methods to explicitly select the parser without playing with the class path.
- This includes support for additional parsers not bundled with HttpUnit.
+ 1. HTMLParserFactory now supports methods to explicitly select the parser without playing with the class path.
+ This includes support for additional parsers not bundled with HttpUnit.
22-Dec-2002
Thanks to John Sinclair for noting the lack of line breaks in manifest.mf and proposing a fix
Problems fixed:
- The manifest.mf file now has line breaks between properties
+ 1. The manifest.mf file now has line breaks between properties
19-Dec-2002
Thanks to Bernhard Wagner for adding some parser customization code.
Additions:
- You may call HTMLParserFactory.setPreserveTagCase and setReturnHTMLDocument to control whether the parser coerces
- the case of tags and attributes or returns a HTMLDocument object, respectively.
+ 1. You may call HTMLParserFactory.setPreserveTagCase and setReturnHTMLDocument to control whether the parser coerces
+ the case of tags and attributes or returns a HTMLDocument object, respectively.
18-Dec-2001
Acknowledgements:
|