Why don't we merge the declaration blocks?
Closed this issue · 1 comments
slavafomin commented
Hello, thank you for this great plugin!
However, according to the docs:
:focus:not(:focus-visible) {
outline: none;
}
/* becomes */
:focus:not(.focus-visible) {
outline: none;
}
:focus:not(:focus-visible) {
outline: none;
}
Why not merge the declaration blocks?
:focus:not(:focus-visible) {
outline: none;
}
/* becomes */
:focus:not(:focus-visible), :focus:not(.focus-visible) {
outline: none;
}
Thanks.
jonathantneal commented
@slavafomin, we cannot merge the rules because browsers which do not support :focus-within
will, unfortunately, throw out the entire selector.