Skip to content

Fix declaration-block-no-redundant-longhand-properties false negative for font-synthesis#7214

Merged
mattxwang merged 4 commits intomainfrom
font-synthesis-longhand
Oct 9, 2023
Merged

Fix declaration-block-no-redundant-longhand-properties false negative for font-synthesis#7214
mattxwang merged 4 commits intomainfrom
font-synthesis-longhand

Conversation

@mattxwang
Copy link
Copy Markdown
Member

Which issue, if any, is this issue related to?

Ref: #7213 (comment) (and transitively, #7200 (comment)).

Is there anything in the PR that needs further explanation?

First, do we like this custom resolver? It is a bit long!

Secondly, font-synthesis actually supports four longhand properties. However, font-synthesis-position currently has 0.41% adoption according to caniuse, which is far too small for it to be relevant. I've elected to not include it for now; however, we could also include it if we think that better future-proofs the rule?

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants