Re: [html-tests] Test that :read-only matches <input>s to which [readonly] doesn't apply (#2843)

:link and :visited are mutually exclusive but are *not* the negation of each other; neither of them mathes a `div`, for instance. They only match hyperlinks. Similarly it seems reasonable to assume that :read-only would only math elements that are potentially writeable but are currently in a readonly state.

With contenteditable I suppose it's possible to argue that any element can become writeable, though.

View on GitHub: https://github.com/w3c/web-platform-tests/pull/2843#issuecomment-211762756

Received on Tuesday, 19 April 2016 07:03:08 UTC