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 13931 - Why are editable inputs/textareas not :read-write?
Summary: Why are editable inputs/textareas not :read-write?
Status: CLOSED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: 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:
: 13932 13933 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-28 16:15 UTC by contributor
Modified: 2011-10-24 14:49 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-08-28 16:15:41 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#pseudo-classes
Complete: http://www.whatwg.org/c#pseudo-classes

Comment:
Why are editable inputs/textareas not :read-write?  They

Posted from: 68.196.183.196
User agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.861.0 Safari/535.2
Comment 1 Aryeh Gregor 2011-08-28 16:16:27 UTC
*** Bug 13932 has been marked as a duplicate of this bug. ***
Comment 2 Aryeh Gregor 2011-08-28 16:16:44 UTC
*** Bug 13933 has been marked as a duplicate of this bug. ***
Comment 3 Aryeh Gregor 2011-08-28 16:19:18 UTC
They seem no less editable than, say, an editable <img> or <hr> or whatever.  You should be able to delete them or move them around.  (The editing spec doesn't yet define this, but at the face-to-face we agreed that form stuff should be meaningfully editable: the user should be able to edit the values and so on.  This allows form-editing apps.  If authors want an input to be non-editable and thus behave like an actual input, they can specify contenteditable=false.)
Comment 4 Ian 'Hixie' Hickson 2011-10-12 19:27:01 UTC
They are :read-write unless they're <textarea readonly> or disabled or similar. Are you saying you want disabled or read-only <textarea>s and <input>s to be :read-write? It seems like that would cause authors to unexpectedly give such form controls the "wrong" style when editing.
Comment 5 Aryeh Gregor 2011-10-24 14:49:13 UTC
Hmm, okay.  It's kind of confusing, but I guess that's inevitable.  I withdraw the request -- I'm no longer confident the spec's behavior is wrong.