Conversation
…PM, Text 4, Backgrounds 4 and related specs
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Comment |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
* css-grammar-gaps: State design reasons in slot-key and class-format comments and remove the scratch measure tool Rename class prefixes to a-, in-, id- and k-, and key !important by context so CSS.merge needs no importance check Prefix interpolation bundles with csv- and reject atom class collisions in generate
* css-grammar-gaps: Bundle only interpolated declarations that share a variable, so the others merge as keyed atoms Rename class prefixes to _a_, _in_, _id_ and _k_ so hand-written a- classes are never read as atoms Emit cascade tiers so conditional rules beat base rules, own rules beat descendant defaults and globals, across stylesheets Give a lone interpolated declaration a keyed atom class so CSS.merge resolves it Hash atoms from their resolved selector so $(binding) references in different modules mint different classes Show every CSS.merge combination in the melange demo Encode context, family and longhand mask in atom class names and resolve CSS.merge conflicts by them Group declarations whose longhands overlap into one atom, in author order
* css-grammar-gaps: Keep parent-to-child rules in their context tier and sort each tier by descendant shape, then shorthand depth Describe the final class-name prefixes in the 0.62.0 changelog # Conflicts: # CHANGES.md
* css-grammar-gaps: Resolve property aliases before computing an atom's longhand mask
Register max-size, min-size and the logical border radius shorthands as plain properties so no existing class changes, follow css-inline-3 for line-fit-edge, print the generated output in the new tests, and name CSS Borders 4 as the source of the excluded corner-* properties.
davesnx
force-pushed
the
css-grammar-draft-properties
branch
from
September 30, 2026 14:01
1ca5ba6 to
2ade55e
Compare
This branch was successfully 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.
Registers 104 CSS properties that are in W3C drafts but css-grammar did not know. Most are not implemented in any browser yet; writing them in
[%css]was an unknown-property error before.fill-color,fill-image,stroke-imagebookmark-level,flow-into,region-fragment,spatial-navigation-action,float-deferborder-*-radiusshorthands,border-limit,border-*-clip,box-shadow-*longhandsblock-step-*,line-grid,line-snapoverflow-clip-margin-*;overflow-clip-marginbecomes aShorthandof its four sidescolumn-rule-inset-startEach property has its spec grammar with a citation, the right kind (
Property,Shorthandwith direct longhands, orAlias), a runtime type, valid and invalid css-grammar cases, and a css-support cram test per spec group. New families getSlot_key.seedentries at the end.Not added, with the reason in
CHANGES.md: 4 names that no spec defines as properties, 7 non-normative SVG stroke and marker properties, 17corner-*properties that need a new value type, 6 withdrawnitem-*properties,link-parameters(needs<param()>) andtext-spacing(deeply nested grammar, no tests in the spec).box-shadowitself keeps its current grammar; the Borders 4 redefinition needs its own change.Checks at 1ca5ba6:
make build,make format-check,make testandDUNE_PROFILE=release make testpass.Stacked on #621.
Risk: two-way door. A revert makes these properties unknown again and returns
overflow-clip-marginto a plain property.