New issue
Advanced search Search tips

Issue 680515 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug

Blocking:
issue 679500



Sign in to add a comment

First radio button is focused on a WebUI dialog (and not in a tab).

Project Member Reported by msarda@chromium.org, Jan 12 2017

Issue description

Created from https://bugs.chromium.org/p/chromium/issues/detail?id=679500

Chromium version: 57.0.2979.0 (Developer Build) (64-bit)
Revision: 14e2a1f1d3e8789304849a70bf471ae136a08ffc-refs/heads/master@{#442902}
OS: Mac OS X

What steps will reproduce the problem?
(1) Sign in to Chrome with account A
(2) Sign out of Chrome
(3) Sign in to Chrome with account B

What is the expected result?
* Notice that the email confirmation dialog has the first radio button focused

What happens instead?
* Notice that the email confirmation dialog should not have any radio button focused

------------------------------------------------

Additional info:
After my investigation, this is a problem in the way WebUI loads the dialog. I have simplified the HTML to the one below (you could do the same by editing chrome/browser/resources/signin/signin_email_confirmation/signin_email_confirmation.html with the contents below):
<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
  </head>
  <body>
    <input type="radio">toto
  </body>
</html>

I load this HTML both in a tab and in a dialog (using ShowConstrainedWebDialogWithAutoResize). I get the following behaviour:
1. When loading this html in a tab, then the radio button is not focused (see attached screenshot).
2. When loading this html in a dialog (using ShowConstrainedWebDialogWithAutoResize), then the radio button is focused (see attached screenshot).


---------------------------------------------

Jayson: This looks like a Chrome on mac issue (it works fine on Windows and Linux), so I have assigned this to you. Feel free to reassign if you are not the right owner for the bug.
 
signin_email_confirmation_dialog.png
40.8 KB View Download
radio_buttton_in_tab.png
42.9 KB View Download
radio_buttton_in_dialog.png
40.8 KB View Download

Comment 1 by msarda@chromium.org, Jan 12 2017

Blocking: 679500

Comment 2 by msarda@chromium.org, Jan 12 2017

There was a problem uploading the screenshots. I'm adding them again.
signin_email_confirmation_dialog.png
89.4 KB View Download
radio_buttton_in_dialog.png
64.3 KB View Download
radio_buttton_in_tab.png
56.0 KB View Download

Comment 3 by shrike@chromium.org, Jan 24 2018

Owner: ----
Status: Untriaged (was: Assigned)
Moving back to triage

Sign in to add a comment