Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/innerText/setter-tests.js

Issue 2786903002: [innerText] Add more tests to setter.html. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/innerText/setter-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/external/wpt/innerText/setter-tests.js
diff --git a/third_party/WebKit/LayoutTests/external/wpt/innerText/setter-tests.js b/third_party/WebKit/LayoutTests/external/wpt/innerText/setter-tests.js
index 9671b23c3464559c126e466b4a5e1be1c34a5dd4..99ae5ec18516ed7b25176da2da49478587ec084f 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/innerText/setter-tests.js
+++ b/third_party/WebKit/LayoutTests/external/wpt/innerText/setter-tests.js
@@ -1,6 +1,7 @@
testText("<div>", "abc", "abc", "Simplest possible test");
testHTML("<div>", "abc\ndef", "abc<br>def", "Newlines convert to <br> in non-white-space:pre elements");
testHTML("<pre>", "abc\ndef", "abc<br>def", "Newlines convert to <br> in <pre> element");
+testHTML("<textarea>", "abc\ndef", "abc<br>def", "Newlines convert to <br> in <textarea> element");
testHTML("<div style='white-space:pre'>", "abc\ndef", "abc<br>def", "Newlines convert to <br> in white-space:pre element");
testHTML("<div>", "abc\rdef", "abc<br>def", "CRs convert to <br> in non-white-space:pre elements");
testHTML("<pre>", "abc\rdef", "abc<br>def", "CRs convert to <br> in <pre> element");
« no previous file with comments | « third_party/WebKit/LayoutTests/external/wpt/innerText/setter-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698