Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #633 #637

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft

fix #633 #637

wants to merge 3 commits into from

Conversation

pchampin
Copy link
Contributor

@pchampin pchampin commented Feb 27, 2025

This reorders and factorizes some parts of the 'Inverse Content Creation' algorithm.
It does not change the behaviour of the algorithm,
except for one corner case:
if the active context has no default language but has a default base direction,
the default combined tag is now {dir}.
In the previous version, it was @none
{dir}.
I find this more consistent with steps 3.13.4 and 3.15.1,
and I suspect that this former discrepency was actually a bug.

NB: I put this PR on top of #636 because they affect the same part of the spec,
and because I don't expect #636 to be controversial anyway.


Preview | Diff

This reorders and factorizes some parts of the 'Inverse Content Creation' algorithm.
It does not change the behaviour of the algorithm,
except for one corner case:
if the active context has no default language but has a default base direction,
the default combined tag is now _{dir}.
In the previous version, it was @none_{dir}.
I find this more consistent with steps 3.13.4 and 3.15.1,
and I suspect that this former discrepency was actually a bug.
@gkellogg
Copy link
Member

I'll look at this further, but as at affects normative language, I think we need do do the Candidate Change markup with ins/del.

@pchampin
Copy link
Contributor Author

Gosh, you are probably right 😓

@pchampin pchampin marked this pull request as draft February 28, 2025 08:21
Co-authored-by: Ted Thibodeau Jr <tthibodeau@openlinksw.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

3 participants