[webkit-changes] cvs commit: WebCore/layout-tests/fast/forms
element-by-name-expected.txt element-by-name.html
Darin
darin at opensource.apple.com
Sat Jun 18 18:58:36 PDT 2005
darin 05/06/18 18:58:36
Modified: . ChangeLog
kwq KWQKHTMLPartBrowserExtension.h
Added: layout-tests/fast/forms element-by-name-expected.txt
element-by-name.html
Log:
- removed some unused code from one of the KWQ headers
* kwq/KWQKHTMLPartBrowserExtension.h:
- added a layout test for a bug that's already fixed
* layout-tests/fast/forms/element-by-name-expected.txt: Added.
* layout-tests/fast/forms/element-by-name.html: Added.
Revision Changes Path
1.4276 +11 -0 WebCore/ChangeLog
Index: ChangeLog
===================================================================
RCS file: /cvs/root/WebCore/ChangeLog,v
retrieving revision 1.4275
retrieving revision 1.4276
diff -u -r1.4275 -r1.4276
--- ChangeLog 19 Jun 2005 01:49:17 -0000 1.4275
+++ ChangeLog 19 Jun 2005 01:58:33 -0000 1.4276
@@ -1,3 +1,14 @@
+2005-06-18 Darin Adler <darin at apple.com>
+
+ - removed some unused code from one of the KWQ headers
+
+ * kwq/KWQKHTMLPartBrowserExtension.h:
+
+ - added a layout test for a bug that's already fixed
+
+ * layout-tests/fast/forms/element-by-name-expected.txt: Added.
+ * layout-tests/fast/forms/element-by-name.html: Added.
+
2005-06-17 Vicki Murley <vicki at apple.com>
Reviewed by Maciej.
1.11 +0 -5 WebCore/kwq/KWQKHTMLPartBrowserExtension.h
Index: KWQKHTMLPartBrowserExtension.h
===================================================================
RCS file: /cvs/root/WebCore/kwq/KWQKHTMLPartBrowserExtension.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- KWQKHTMLPartBrowserExtension.h 1 Jun 2005 23:49:49 -0000 1.10
+++ KWQKHTMLPartBrowserExtension.h 19 Jun 2005 01:58:36 -0000 1.11
@@ -71,8 +71,3 @@
public:
KHTMLPartBrowserHostExtension(KHTMLPart *) { }
};
-
-class KHTMLZoomFactorAction {
-public:
- void setEnabled(bool) { }
-};
1.1 WebCore/layout-tests/fast/forms/element-by-name-expected.txt
Index: element-by-name-expected.txt
===================================================================
This is a regression test for bug 3481. The problem is that form elements added via innerHTML were not accessible with the form.elementName syntax.
If the test succeeds, there will be a line below that says "form element was found".
Form element was found.
1.1 WebCore/layout-tests/fast/forms/element-by-name.html
Index: element-by-name.html
===================================================================
<html>
<head>
<script>
function test()
{
if (window.layoutTestController)
layoutTestController.dumpAsText();
document.getElementById("putElementHere").innerHTML = "<input type='text' name='testElement' value='test element contents'>";
document.testForm.testElement.focus();
document.getElementById("result").innerText = "Form element was found.";
}
</script>
</head>
<body onload="test()">
<p>This is a regression test for <a href="http://bugzilla.opendarwin.org/show_bug.cgi?id=3481">bug 3481</a>.
The problem is that form elements added via innerHTML were not accessible with the form.elementName syntax.</p>
<p>If the test succeeds, there will be a line below that says "form element was found".</p>
<hr>
<form name="testForm"><p id="putElementHere"></p></form>
<hr>
<p id="result"></p>
</html>
More information about the webkit-changes
mailing list