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

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