Title: [200069] trunk/LayoutTests
- Revision
- 200069
- Author
- [email protected]
- Date
- 2016-04-25 20:52:08 -0700 (Mon, 25 Apr 2016)
Log Message
Cloning a textarea does not clone the textarea's value
https://bugs.webkit.org/show_bug.cgi?id=156637
Reviewed by Chris Dumez.
https://dom.spec.whatwg.org/#concept-node-clone describes that the value
of a node shouldn't be copied when cloning the node.
* fast/forms/checkValidity-cloneNode-crash-expected.txt:
* fast/forms/checkValidity-cloneNode-crash.html:
Modified Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (200068 => 200069)
--- trunk/LayoutTests/ChangeLog 2016-04-26 03:22:07 UTC (rev 200068)
+++ trunk/LayoutTests/ChangeLog 2016-04-26 03:52:08 UTC (rev 200069)
@@ -1,3 +1,16 @@
+2016-04-25 Myles C. Maxfield <[email protected]>
+
+ Cloning a textarea does not clone the textarea's value
+ https://bugs.webkit.org/show_bug.cgi?id=156637
+
+ Reviewed by Chris Dumez.
+
+ https://dom.spec.whatwg.org/#concept-node-clone describes that the value
+ of a node shouldn't be copied when cloning the node.
+
+ * fast/forms/checkValidity-cloneNode-crash-expected.txt:
+ * fast/forms/checkValidity-cloneNode-crash.html:
+
2016-04-25 Joseph Pecoraro <[email protected]>
Web Inspector: React.js JSXTransformer produces bogus error locations
Modified: trunk/LayoutTests/fast/forms/checkValidity-cloneNode-crash-expected.txt (200068 => 200069)
--- trunk/LayoutTests/fast/forms/checkValidity-cloneNode-crash-expected.txt 2016-04-26 03:22:07 UTC (rev 200068)
+++ trunk/LayoutTests/fast/forms/checkValidity-cloneNode-crash-expected.txt 2016-04-26 03:52:08 UTC (rev 200069)
@@ -10,6 +10,8 @@
PASS element.checkValidity() is true
PASS element2.checkValidity() is false
PASS element.checkValidity() is true
+PASS element2.value is ""
+PASS element2.checkValidity() is false
PASS element2.checkValidity() is true
PASS successfullyParsed is true
Modified: trunk/LayoutTests/fast/forms/checkValidity-cloneNode-crash.html (200068 => 200069)
--- trunk/LayoutTests/fast/forms/checkValidity-cloneNode-crash.html 2016-04-26 03:22:07 UTC (rev 200068)
+++ trunk/LayoutTests/fast/forms/checkValidity-cloneNode-crash.html 2016-04-26 03:52:08 UTC (rev 200069)
@@ -44,8 +44,8 @@
element.value = "a";
shouldBeTrue("element.checkValidity()");
element2 = element.cloneNode();
- // https://bugs.webkit.org/show_bug.cgi?id=156637 will fix this bug.
- // shouldBeTrue("element2.checkValidity()");
+ shouldBeEqualToString("element2.value", "");
+ shouldBeFalse("element2.checkValidity()");
element2.value = element.value;
shouldBeTrue("element2.checkValidity()");
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes