Why selector input:read-only, input:-moz-read-only
won't work on Google Chrome? Works only, if I write it as two separate selectors input:read-only
, input:-moz-read-only
with same instruction.
input:read-only,
input:-moz-read-only {
border: 1px solid red;
}
/* Works if i will repeat it separate, like below */
/* input:read-only {
border: 1px solid red;
} */
<input type="text" name="" value="Read-only" id="" readonly>