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 11483 - What should selectionStart/End return when there is no selection and no cursor? e.g. display:none
Summary: What should selectionStart/End return when there is no selection and no curso...
Status: CLOSED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords: Disagree
Depends on:
Blocks:
 
Reported: 2010-12-06 18:51 UTC by contributor
Modified: 2011-08-04 05:05 UTC (History)
9 users (show)

See Also:


Attachments

Description contributor 2010-12-06 18:51:41 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#textFieldSelection

Comment:
What should selectionStart/End return when there is no selection and no
cursor? e.g. display:none

Posted from: 91.181.184.140 by ms2ger@gmail.com
Comment 1 Ms2ger 2011-01-11 15:39:41 UTC
This is about the API on input elements, which you still own, I'm afraid.
Comment 2 Ian 'Hixie' Hickson 2011-02-17 02:00:43 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Partially Accepted
Change Description: see diff given below
Rationale: There is always a selection or a cursor.
Comment 3 contributor 2011-02-17 02:02:14 UTC
Checked in as WHATWG revision r5900.
Check-in comment: Make the initial state of selections and cursors platform-specific.
http://html5.org/tools/web-apps-tracker?from=5899&to=5900
Comment 4 Michael[tm] Smith 2011-08-04 05:05:05 UTC
mass-moved component to LC1