Repository navigation
Conversation
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Valid custom-font CSS no longer fails lint when an unquoted
font-familyis the final@font-facedescriptor and omits its optional semicolon.Why
The declaration matcher includes the closing brace in the family name. A declared
ProjectFontbecomesprojectfont}, producing a blockingfont_family_without_font_faceerror.Same input through the real HTML linter:
@font-face{src:local('DejaVu Sans');font-family:ProjectFont}Chrome 152 CSSOM accepts the semicolon-free declaration as
ProjectFont. The issue contains a complete, asset-free reproduction; this comparison exercises lint and the strict-render decision, not a full video render.Related work
Fixes #6083.
#1538 strips braces from CSS comments; #2538 handles
!important. Closed #2778 does not change this declaration extractor.How
Stop the existing family-value matcher at
}. Add regressions for single-word and multiword names and document the accepted syntax.Test plan
Validated on main
10c724bf5, Linux x86_64, Node 26.11.1 and preinstalled Bun 1.4.1 (repository pins 1.4.4). Full workspace checks are limited by missing installed inspector/AWS dependencies; Mintlify validation is unavailable becausemintis absent. No new links or MDX components were added.