Skip to content

In ValidateIncrementalGroupings enforce equivalence not equality.#184

Merged
garretrieger merged 1 commit intow3c:mainfrom
garretrieger:glyph_group_equivalence
Mar 5, 2026
Merged

In ValidateIncrementalGroupings enforce equivalence not equality.#184
garretrieger merged 1 commit intow3c:mainfrom
garretrieger:glyph_group_equivalence

Conversation

@garretrieger
Copy link
Contributor

Complex condition finding can produce different but equivalent found conditions for glyphs (where both are valid superset conditions), as a result the incrementally generated groupings can differ from the non-incremental ones via differences in found conditions. In the validation which ensures the incremental and non-incremental groupings are equal don't fail if they differ only by valid found conditions. Found conditions are considered valid if they meet the glyph closure requirement and do not have any additional conditions.

This also introduces some tests for GlyphClosureCache which were missing.

Complex condition finding can produce different but equivalent found conditions for glyphs (where both are valid superset conditions), as a result the incrementally generated groupings can differ from the non-incremental ones via differences in found conditions. In the validation which ensures the incremental and non-incremental groupings are equal don't fail if they differ only by valid found conditions. Found conditions are considered valid if they meet the glyph closure requirement and do not have any additional conditions.

This also introduces some tests for GlyphClosureCache which were missing.
@garretrieger garretrieger force-pushed the glyph_group_equivalence branch from 2636b62 to 3dba87e Compare March 5, 2026 22:03
@garretrieger garretrieger merged commit 068c3be into w3c:main Mar 5, 2026
3 checks passed
@garretrieger garretrieger deleted the glyph_group_equivalence branch March 5, 2026 22:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant