Title: [197631] trunk/LayoutTests
Revision
197631
Author
[email protected]
Date
2016-03-05 20:25:44 -0800 (Sat, 05 Mar 2016)

Log Message

Update tests to match the latest version of the HTML5 spec.

LayoutTests/imported/w3c:

* web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html:
Fields that don't have any value set for their autocomplete attribute should return the the empty string.

LayoutTests:

* fast/forms/autocomplete-expected.txt:
* fast/forms/autocomplete.html:
Fields that don't have any value set for their autocomplete attribute should return the the empty string.

Modified Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (197630 => 197631)


--- trunk/LayoutTests/ChangeLog	2016-03-06 04:25:32 UTC (rev 197630)
+++ trunk/LayoutTests/ChangeLog	2016-03-06 04:25:44 UTC (rev 197631)
@@ -1,3 +1,11 @@
+2016-03-05  Sam Weinig  <[email protected]>
+
+        Update tests to match the latest version of the HTML5 spec.
+
+        * fast/forms/autocomplete-expected.txt:
+        * fast/forms/autocomplete.html:
+        Fields that don't have any value set for their autocomplete attribute should return the the empty string.
+
 2016-03-05  Zalan Bujtas  <[email protected]>
 
         Make table collapsed borders subpixel aware.

Modified: trunk/LayoutTests/fast/forms/autocomplete-expected.txt (197630 => 197631)


--- trunk/LayoutTests/fast/forms/autocomplete-expected.txt	2016-03-06 04:25:32 UTC (rev 197630)
+++ trunk/LayoutTests/fast/forms/autocomplete-expected.txt	2016-03-06 04:25:44 UTC (rev 197631)
@@ -5,7 +5,7 @@
 PASS form.getAttribute('autocomplete') is null
 PASS field.getAttribute('autocomplete') is null
 PASS form.autocomplete is "on"
-PASS field.autocomplete is "on"
+PASS field.autocomplete is ""
 PASS form.getAttribute('autocomplete') is "off"
 PASS field.getAttribute('autocomplete') is "off"
 PASS form.autocomplete is "on"

Modified: trunk/LayoutTests/fast/forms/autocomplete.html (197630 => 197631)


--- trunk/LayoutTests/fast/forms/autocomplete.html	2016-03-06 04:25:32 UTC (rev 197630)
+++ trunk/LayoutTests/fast/forms/autocomplete.html	2016-03-06 04:25:44 UTC (rev 197631)
@@ -13,7 +13,7 @@
         shouldBeNull("field.getAttribute('autocomplete')");
 
         shouldBeEqualToString("form.autocomplete", "on");
-        shouldBeEqualToString("field.autocomplete", "on");
+        shouldBeEqualToString("field.autocomplete", "");
 
         form.autocomplete = 'off';
         field.autocomplete = 'off';

Modified: trunk/LayoutTests/imported/w3c/ChangeLog (197630 => 197631)


--- trunk/LayoutTests/imported/w3c/ChangeLog	2016-03-06 04:25:32 UTC (rev 197630)
+++ trunk/LayoutTests/imported/w3c/ChangeLog	2016-03-06 04:25:44 UTC (rev 197631)
@@ -1,3 +1,10 @@
+2016-03-05  Sam Weinig  <[email protected]>
+
+        Update tests to match the latest version of the HTML5 spec.
+
+        * web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html:
+        Fields that don't have any value set for their autocomplete attribute should return the the empty string.
+
 2016-03-02  Ryosuke Niwa  <[email protected]>
 
         HTML parser instantiates a custom element inside a template element with a wrong owner document

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html (197630 => 197631)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html	2016-03-06 04:25:32 UTC (rev 197630)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/forms/the-form-element/form-autocomplete.html	2016-03-06 04:25:44 UTC (rev 197631)
@@ -42,10 +42,10 @@
     }, desc);
   }
 
-  autocompletetest(document.forms.missing_attribute, ["on", "on", "on", "off", ""], "form autocomplete attribute missing");
-  autocompletetest(document.forms.autocomplete_on, ["on", "on", "on", "off", ""], "form autocomplete attribute on");
-  autocompletetest(document.forms.autocomplete_off, ["off", "off", "on", "off", ""], "form autocomplete attribute off");
-  autocompletetest(document.forms.autocomplete_invalid, ["on", "on", "on", "off", ""], "form autocomplete attribute invalid");
+  autocompletetest(document.forms.missing_attribute, ["on", "", "on", "off", ""], "form autocomplete attribute missing");
+  autocompletetest(document.forms.autocomplete_on, ["on", "", "on", "off", ""], "form autocomplete attribute on");
+  autocompletetest(document.forms.autocomplete_off, ["off", "", "on", "off", ""], "form autocomplete attribute off");
+  autocompletetest(document.forms.autocomplete_invalid, ["on", "", "on", "off", ""], "form autocomplete attribute invalid");
 
   var keywords = [ "name", "honorific-prefix", "given-name", "additional-name", "family-name", "honorific-suffix", "nickname", "username", "new-password", "current-password", "organization-title", "organization", "street-address", "address-line1", "address-line2", "address-line3", "address-level4", "address-level3", "address-level2", "address-level1", "country", "country-name", "postal-code", "cc-name", "cc-given-name", "cc-additional-name", "cc-family-name", "cc-number", "cc-exp", "cc-exp-month", "cc-exp-year", "cc-csc", "cc-type", "transaction-currency", "transaction-amount", "language", "bd
 ay", "bday-day", "bday-month", "bday-year", "sex", "url", "photo", "tel", "tel-country-code", "tel-national", "tel-area-code", "tel-local", "tel-local-prefix", "tel-local-suffix", "tel-extension", "email", "impp" ];
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to