This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20780 - option.text: replace single space characters with U+0020 characters too
Summary: option.text: replace single space characters with U+0020 characters too
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-26 11:28 UTC by contributor
Modified: 2013-03-21 21:23 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-01-26 11:28:40 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html
Multipage: http://www.whatwg.org/C#the-option-element
Complete: http://www.whatwg.org/c#the-option-element

Comment:
option.text: replace single space characters with U+0020 characters too

Posted from: 81.242.207.54 by ms2ger@gmail.com
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:21.0) Gecko/20130123 Firefox/21.0
Comment 1 Ms2ger 2013-01-26 11:30:54 UTC
You may want add a definition for that; I believe we had the same bug for document.title.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/2070 prints true in Chrome/Gecko/Opera.
Comment 2 contributor 2013-03-21 18:47:37 UTC
Checked in as WHATWG revision r7763.
Check-in comment: Match reality, and factor out an algorithm.
http://html5.org/tools/web-apps-tracker?from=7762&to=7763