UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36
Example URL:
Steps to reproduce the problem:
1. Create a select field with multiple options, setting one of the options to "selected."
2. Specify an external stylesheet with a style that shifts that select field away from its default position.
3. Open page in Chrome, refreshing page if necessary.
See the attached files for working and non-working example.
What is the expected behavior?
Using the attached without_selected.htm page the expected behavior is shown: The select field is loaded with a 200px margin-left.
What went wrong?
Opening the with_selected.htm page shows the bad behavior: The select field first loads to the default position and is then shifted to the left.
It appears as though when a select field that accepts multiple options contains a selected option, that field triggers a redraw of the element. This same behavior can also be observed on a standard, single-select-only select element, with or without a selected option.
Does it occur on multiple sites: Yes
Is it a problem with a plugin? No
Did this work before? N/A
Does this work in other browsers? Yes
Chrome version: 51.0.2704.84 Channel: stable
OS Version: 10.0
Flash Version: Shockwave Flash 21.0 r0
|
Deleted:
with_selected.htm
386 bytes
|
|
Deleted:
without_selected.htm
377 bytes
|
|
Deleted:
styles.css
137 bytes
|
Comment 1 by haraken@chromium.org
, Jun 17 2016