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

Unified Diff: LayoutTests/editing/selection/keep-selection-after-set-focus-expected.txt

Issue 424973003: Don't clear selection on focus change except for text form control element (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 2014-07-30T09:45:59 Created 6 years, 5 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: LayoutTests/editing/selection/keep-selection-after-set-focus-expected.txt
diff --git a/LayoutTests/platform/mac/svg/custom/svg-fonts-in-text-controls-expected.txt b/LayoutTests/editing/selection/keep-selection-after-set-focus-expected.txt
similarity index 50%
copy from LayoutTests/platform/mac/svg/custom/svg-fonts-in-text-controls-expected.txt
copy to LayoutTests/editing/selection/keep-selection-after-set-focus-expected.txt
index 8e89db85739d0fc3baa12b9926a7680c760849f0..fe38e57a0ab1b0daa226bb14d506e71d9087b8b5 100644
--- a/LayoutTests/platform/mac/svg/custom/svg-fonts-in-text-controls-expected.txt
+++ b/LayoutTests/editing/selection/keep-selection-after-set-focus-expected.txt
@@ -1,11 +1,13 @@
-This tests that the width of textareas and inputs is correctly calculated based on the metrics of the SVG font.
+Selection should be kept after focus changed.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+PASS selection.anchorNode is sample
+PASS selection.anchorOffset is 3
+PASS selection.focusNode is sample
+PASS selection.focusOffset is 6
PASS successfullyParsed is true
TEST COMPLETE
-Textarea offsetWidth: 137
-Input offsetWidth: 139

Powered by Google App Engine
This is Rietveld 408576698