W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [selectors] :read-only and :read-write (#127)

From: shrpne via GitHub <sysbot+gh@w3.org>
Date: Wed, 27 May 2020 13:46:15 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-634671872-1590587174-sysbot+gh@w3.org>
I agree with @MatthewRaymond 
I think it is very unintuitive, that such css
```css
/* both matches <select> */
select:read-only {}
select:not([readonly]) {}

/* both matches <div> */
div:read-only {}
div:not([readonly]) {}
```
will be applied to such html
```html
<div></div>
<select></select>
```

-- 
GitHub Notification of comment by shrpne
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/127#issuecomment-634671872 using your GitHub account
Received on Wednesday, 27 May 2020 13:46:17 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC