Title: [109846] trunk
Revision
109846
Author
[email protected]
Date
2012-03-05 20:54:49 -0800 (Mon, 05 Mar 2012)

Log Message

[Forms] HTMLFieldSetForms.idl doesn't have type attribute.
https://bugs.webkit.org/show_bug.cgi?id=80109

Patch by Yoshifumi Inoue <[email protected]> on 2012-03-05
Reviewed by Hajime Morita.

Source/WebCore:

Test: fast/forms/fieldset/fieldset-type.html

* html/HTMLFieldSetElement.idl: Add attribute "type"

LayoutTests:

* fast/forms/fieldset/fieldset-type-expected.txt: Added.
* fast/forms/fieldset/fieldset-type.html: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (109845 => 109846)


--- trunk/LayoutTests/ChangeLog	2012-03-06 04:54:19 UTC (rev 109845)
+++ trunk/LayoutTests/ChangeLog	2012-03-06 04:54:49 UTC (rev 109846)
@@ -1,3 +1,13 @@
+2012-03-05  Yoshifumi Inoue  <[email protected]>
+
+        [Forms] HTMLFieldSetForms.idl doesn't have type attribute.
+        https://bugs.webkit.org/show_bug.cgi?id=80109
+
+        Reviewed by Hajime Morita.
+
+        * fast/forms/fieldset/fieldset-type-expected.txt: Added.
+        * fast/forms/fieldset/fieldset-type.html: Added.
+
 2012-03-05  Kenichi Ishibashi  <[email protected]>
 
         [WebSocket] Should raise SYNTAX_ERR when message contains unpaired surrogates

Added: trunk/LayoutTests/fast/forms/fieldset/fieldset-type-expected.txt (0 => 109846)


--- trunk/LayoutTests/fast/forms/fieldset/fieldset-type-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/fast/forms/fieldset/fieldset-type-expected.txt	2012-03-06 04:54:49 UTC (rev 109846)
@@ -0,0 +1,10 @@
+This test checks fieldset.test attribute
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS fs1.type is "fieldset"
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Added: trunk/LayoutTests/fast/forms/fieldset/fieldset-type.html (0 => 109846)


--- trunk/LayoutTests/fast/forms/fieldset/fieldset-type.html	                        (rev 0)
+++ trunk/LayoutTests/fast/forms/fieldset/fieldset-type.html	2012-03-06 04:54:49 UTC (rev 109846)
@@ -0,0 +1,8 @@
+<script src=""
+<fieldset id="fs1" name="a"></fieldset>
+<script>
+description("This test checks fieldset.test attribute");
+shouldBe('fs1.type', '"fieldset"');
+</script>
+<script src=""
+

Modified: trunk/Source/WebCore/ChangeLog (109845 => 109846)


--- trunk/Source/WebCore/ChangeLog	2012-03-06 04:54:19 UTC (rev 109845)
+++ trunk/Source/WebCore/ChangeLog	2012-03-06 04:54:49 UTC (rev 109846)
@@ -1,3 +1,14 @@
+2012-03-05  Yoshifumi Inoue  <[email protected]>
+
+        [Forms] HTMLFieldSetForms.idl doesn't have type attribute.
+        https://bugs.webkit.org/show_bug.cgi?id=80109
+
+        Reviewed by Hajime Morita.
+
+        Test: fast/forms/fieldset/fieldset-type.html
+
+        * html/HTMLFieldSetElement.idl: Add attribute "type"
+
 2012-03-05  Anders Carlsson  <[email protected]>
 
         Fix build.

Modified: trunk/Source/WebCore/html/HTMLFieldSetElement.idl (109845 => 109846)


--- trunk/Source/WebCore/html/HTMLFieldSetElement.idl	2012-03-06 04:54:19 UTC (rev 109845)
+++ trunk/Source/WebCore/html/HTMLFieldSetElement.idl	2012-03-06 04:54:49 UTC (rev 109846)
@@ -22,6 +22,9 @@
     interface HTMLFieldSetElement : HTMLElement {
         readonly attribute HTMLFormElement form;
         attribute [Reflect] DOMString name;
+
+        readonly attribute DOMString type;
+
         readonly attribute boolean         willValidate;
         readonly attribute ValidityState   validity;
         readonly attribute DOMString       validationMessage;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to