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

Editorial: Add CSS to adjust list bullets to match ECMA #156

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

takikawa
Copy link
Collaborator

Right now the draft PDF spec (in ECMA format) and the web spec don't align on the numbered bullet styles in algorithms. This PR changes the web version to match using CSS.

This also changes numbered bullets that aren't in algorithms, such as those in "5.1.2. Names for generated JavaScript code" (which is not in the 2024 branch) because we don't have a CSS class to distinguish them. I think in that particular case, we could just use unordered lists instead if we don't like the alternating bullets.

@takikawa takikawa changed the title Add CSS to adjust list bullets to match ECMA Editorial: Add CSS to adjust list bullets to match ECMA Nov 20, 2024
Numbered bullets in algorithhms in ECMA standards repeat
a pattern of decimal, lower alpha, lower roman. Bikeshed
uses just decimal by default. This commit changes the
pattern to match ECMA.

Note that this also affects non-algorithm bullets as well,
as we don't distinguish those in the source.
@nicolo-ribaudo
Copy link
Member

we could just use unordered lists instead if we don't like the alternating bullets.

Yeah, it seems reasonable to use an unordered lists for things that don't have a meaningful order of any type.

@nicolo-ribaudo nicolo-ribaudo merged commit 1bd4b5c into tc39:main Nov 21, 2024
2 checks passed
github-actions bot added a commit that referenced this pull request Nov 21, 2024
SHA: 1bd4b5c
Reason: push, by nicolo-ribaudo

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants