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

Unified Diff: third_party/WebKit/LayoutTests/editing/input/textarea-white-space-normal-trailing-space-expected.html

Issue 1813663002: Don't collapse whitespace in contenteditable=plaintext-only. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
Index: third_party/WebKit/LayoutTests/editing/input/textarea-white-space-normal-trailing-space-expected.html
diff --git a/third_party/WebKit/LayoutTests/editing/input/textarea-white-space-normal-trailing-space-expected.html b/third_party/WebKit/LayoutTests/editing/input/textarea-white-space-normal-trailing-space-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..23366476b94a5e189722e9f1e69b608375199fdb
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/editing/input/textarea-white-space-normal-trailing-space-expected.html
@@ -0,0 +1,8 @@
+<!DOCTYPE html>
+<textarea style="white-space:pre-wrap">a b </textarea>
+<script>
+var textarea = document.querySelector('textarea');
+textarea.focus();
+textarea.selectionStart = 4;
+textarea.selectionEnd = 4;
+</script>

Powered by Google App Engine
This is Rietveld 408576698