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

Unified Diff: LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt

Issue 764313004: Fix the problem to keep the selection when clicking the substring out of range (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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/fast/forms/setrangetext-out-of-range-expected.txt
diff --git a/LayoutTests/svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.txt b/LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt
similarity index 50%
copy from LayoutTests/svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.txt
copy to LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt
index a9612e511cf9aee99387a4121405184d334e0ead..4d4aa0232821b2fe457d1c92fc68cbcef4b77085 100644
--- a/LayoutTests/svg/dynamic-updates/SVGFEDropShadowElement-dom-in-attr-expected.txt
+++ b/LayoutTests/fast/forms/setrangetext-out-of-range-expected.txt
@@ -1,13 +1,15 @@
-SVG 1.1 dynamic update tests
-
-Tests dynamic updates of the 'in' attribute of the SVGFEDropShadowElement object
+This tests the selection of the text field when mouse event occurs out of range
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS dropShadowElement.getAttribute('in') is "SourceAlpha"
-PASS dropShadowElement.getAttribute('in') is "SourceGraphic"
PASS successfullyParsed is true
TEST COMPLETE
+PASS textfield.selectionStart is 0
+PASS textfield.selectionEnd is 5
+
+the selection should be cleared
+PASS textfield.selectionStart is 0
+PASS textfield.selectionEnd is 0

Powered by Google App Engine
This is Rietveld 408576698