New issue
Advanced search Search tips

Issue 637860 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

Chrome not working on Ikea's sign up page

Project Member Reported by liaoyuke@chromium.org, Aug 15 2016

Issue description

App Version (from "Chrome Settings > About Chrome"): 
iOS Version: 52.0.2743.116 (64-bit)
Device: MacPro

Steps to reproduce: 
1. go to: https://secure.ikea.com/webapp/wcs/stores/servlet/CreateUser
2. type in "First name", "Last name", "Cell phone", "Email address".
3. then type in "Re-enter Email address"

Observed behavior: 
1. characters in "Re-enter Email address" is in reverse order.
2. cannot edit other text boxes anymore.

Expected behavior: everything should be in right order and should be editable.

Frequency: every time.
<number of times you were able to reproduce>

Additional comments: 
1. tried this on Safari, and it works fine.
 
Labels: Needs-Feedback
Status: Unconfirmed (was: Untriaged)
I can't find the site: https://secure.ikea.com/webapp/wcs/stores/servlet/CreateUser.

Can you provide a new link?
It seems that copy past that link doesn't work. Just go to
http://www.ikea.com/us/en/, and then click on "Login or Sign up" button,
and then click on the "Sign up now" button.
Components: Blink>Editing

Comment 4 by joone....@intel.com, Aug 19 2016

I confirm this bug in the same Chrome version on Mac OSX 10.11.6

Comment 5 by yosin@chromium.org, Aug 23 2016

Components: -Blink>Editing Blink>Forms>Text
Labels: -Needs-Feedback OS-Windows
Status: Untriaged (was: Unconfirmed)
It seems ikea.com's script doesn't work well on all browsers. 

- Chrome: typed characters inserted in reverse order. Mouse click doesn't work
- Edge: Mouse drag doesn't work
- Firefox: Backward delete doesn't work. Mouse click doesn't work

Event dispatching order?


Comment 6 by tkent@chromium.org, Aug 23 2016

Cc: yoichio@chromium.org
Labels: -Pri-1 Hotlist-Interop Pri-2
Status: Available (was: Untriaged)
Minimum repro:

<!DOCTYPE html>
<input autofocus onselect="this.selectionStart=this.selectionEnd+0; console.log(this.id);" >
<input onselect="this.selectionStart=this.selectionEnd+0; console.log(this.id);">

1. Open this HTML
2. Press TAB key
3. Enter two or more letters  ==> reversed

Due to infinite dispatching of 'select' event.
Though the current Chrome behavior conforms to the standard, IMO we should change the standard so that selectionStart setter don't dispatch 'select' event if the value is not changed.

Comment 7 by tkent@chromium.org, Aug 23 2016

Owner: tkent@chromium.org
Status: Started (was: Available)
#6 was wrong.
This is a bug of our selectionStart setter.  It updates FrameSelection even if the element has no focus.

Project Member

Comment 8 by bugdroid1@chromium.org, Aug 23 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/530015339e3f6572d239432b69f77ebca1492f73

commit 530015339e3f6572d239432b69f77ebca1492f73
Author: tkent <tkent@chromium.org>
Date: Tue Aug 23 08:32:55 2016

Selection API of INPUT/TEXTAREA should not update FrameSelection without focusing.

We had an option SelectionOption::ChangeSelection, which updates FrameSelection
regardless of focus state. It's harmful because it caused focus-FrameSelection
mismatch.  We don't need such option, and ChangeSelectionIfFocused should be the
default.

This CL needs to update many layout tests because they assumed
setSelectionRange() updated FrameSelection.

BUG= 637860 

Review-Url: https://codereview.chromium.org/2270663002
Cr-Commit-Position: refs/heads/master@{#413695}

[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/TestExpectations
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/deleting/5290534.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/inserting/4960120-1.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/pasteboard/data-transfer-items-drag-drop-string.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-copy-text.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-input-textarea.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/pasteboard/drag-drop-url-text.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/pasteboard/pasting-tabs.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/selection/4975120.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/selection/5497643.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/selection/drag-text-delay.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/selection/programmatic-selection-on-mac-is-directionless.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/editing/selection/stay-in-textarea.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/fast/events/context-no-deselect.html
[add] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/fast/forms/selection-setSelectionRange-frameselection.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/fast/forms/text/input-delete.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/fast/forms/textarea/paste-into-textarea.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-arrow-navigation.html
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/Source/core/html/HTMLTextFormControlElement.h
[modify] https://crrev.com/530015339e3f6572d239432b69f77ebca1492f73/third_party/WebKit/Source/web/tests/data/move_range_selection_extent_input_field.html

Comment 10 by tkent@chromium.org, Aug 23 2016

Labels: M-54
Status: Fixed (was: Started)

Sign in to add a comment