[Webkit-unassigned] [Bug 69455] New: Option.value should trim extra internal html spaces

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 5 12:59:18 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=69455

           Summary: Option.value should trim extra internal html spaces
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jcqt43 at motorola.com


If the value content attribute is not present option.value return the textContent. As per spec, we should skip the extra internal html white-space.

<select>
<option id="o1">  text   with   extra             while   spaces  </option>
</select>

<script>
description('Test for space striping .label attribute of OPTION element');

var o1 = document.getElementById('o1');
o1.label must return "text with extra while spaces". Note that all the intermediate html spaces are trimmed.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list