New issue
Advanced search Search tips

Issue 599402 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 424578
Owner:
Closed: Jul 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug-Regression



Sign in to add a comment

innerText of option element in select element with size attribute is blank string

Reported by ninninke...@gmail.com, Mar 31 2016

Issue description

Chrome Version       : 49.0.2623.87 (Official Build) (64 bit)
URLs (if applicable) :
Other browsers tested: 
  Add OK or FAIL, along with the version, after other browsers where you
have tested this issue:
     Safari: OK
    Firefox: FAIL ( does not support innerText )
         IE: OK

What steps will reproduce the problem?
(1)
Write HTML below

<form name="f1" id="f1">
<select name="s1" id="s1">
<option value="1">option-text</option>
</select>
</form>

<form name="f2" id="f2">
<select name="s2" id="s2" size="5">
<option value="1">option-text</option>
</select>
</form>
<script>
alert( document.f1.s1.options[0].innerText );
alert( document.f2.s2.options[0].innerText );
</script>

(2)
Load the HTML.

(3)
What is the expected result?

alert "option-text" 2 times.


What happens instead?

The 2nd alert shows nothing.

 
Labels: -Type-Bug M-51 hasbisect OS-All Type-Bug-Regression
Status: Untriaged (was: Unconfirmed)
Able to reproduce on Windows 7, Ubuntu 14.04 and Mac OS 10.11.4 using chrome stable M49-49.0.2623.110

Bisect Information:
=====================
Good build: 38.0.2096.0 
Bad Build : 38.0.2098.0 

Change Log URL: https://chromium.googlesource.com/chromium/src/+log/001bbfdc4da9f8aec8e1a30770a1e4cef2347e0a..4723c87ef3007d63a5736a347d000dbe2076d023

Unable to find the suspect from the above change log, Could anyone please look in to this issue and help us in assigning it to the right owner.

Thanks!
Cc: keishi@chromium.org
Components: Blink>HTML
That roll contains a blink roll, fixed link to the blink roll:
https://chromium.googlesource.com/chromium/src/+log/c99e83972d3f0b590a52bf52a7f802728e96c667..70656d9f6c0cd5bda1f42d774423990bfc8dc784

Potentially https://chromium.googlesource.com/chromium/src/+/17b44a00e420f752fab01241d92f6522ba5252bb

Attaching testcase from comment 0 as a file. Still reproduces in 53.0.2785.8 (Official Build) dev (64-bit)

test.html
339 bytes View Download

Comment 3 by tkent@chromium.org, Jul 13 2016

Components: -Blink>HTML Blink>Forms>Select
Mergedinto: 424578
Owner: tkent@chromium.org
Status: Duplicate (was: Untriaged)

Sign in to add a comment