W3C home > Mailing lists > Public > www-style@w3.org > July 2014

Re: [css3-ui] Clearly define when :read-only and :read-write match

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 07 Jul 2014 21:22:21 -0400
Message-ID: <53BB47CD.1020606@mit.edu>
To: www-style@w3.org
On 7/7/14, 6:53 PM, Sebastian Zartner wrote:
> Currently the spec is pretty vague about when an element is read-only
> and when it is writable. It should define clear rules for that.

This depends on the document language, so is defined by the relevant 
document language spec.

> E.g. it should mention that setting the 'contenteditable' HTML attribute
> makes an element writable

This is covered by the HTML spec.  See 
http://www.whatwg.org/specs/web-apps/current-work/multipage/selectors.html#selector-read-only

> and which elements by default count as
> writable like text areas and text inputs.

Also covered by the HTML spec.

> Also it should clarify whether
> disabled inputs are matched as read-only and mention the interaction
> between the 'readonly' HTML attribute.

See link above.

-Boris
Received on Tuesday, 8 July 2014 01:22:50 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:23 UTC