Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add CONTRIBUTING.md, with how-to docs on element-name code generation #112

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

Conversation

@sideshowbarker
Copy link
Member

@sideshowbarker sideshowbarker commented Dec 29, 2025
edited
Loading

This change adds some how-to docs for the process of regenerating the element-name hash tables in the ElementName.java file — which is something you need to do when adding a new HTML element.

The docs include steps and info on:

  • How to add new element constants
  • Which code sections to uncomment for regeneration
  • How to compile and run the code generator
  • Notes on Gecko vs Java-only builds
  • How to update the generated arrays
  • Technical details about the hash function and BST structure

This change adds some how-to docs for the process of regenerating the
element-name hash tables in the ElementName.java file — which is
something you need to do when adding a new HTML element. The docs
include steps and info on:
- How to add new element constants
- Which code sections to uncomment for regeneration
- How to compile and run the code generator
- Notes on Gecko vs Java-only builds
- How to update the generated arrays
- Technical details about the hash function and BST structure
@sideshowbarker sideshowbarker force-pushed the sideshowbarker/CONTRIBUTING.md-element-name-codegen-how-to-docs branch from 7a1484f to f9a4894 Compare December 30, 2025 02:28
@sideshowbarker sideshowbarker merged commit 4276094 into master Dec 30, 2025
12 checks passed
@sideshowbarker sideshowbarker deleted the sideshowbarker/CONTRIBUTING.md-element-name-codegen-how-to-docs branch December 30, 2025 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hsivonen hsivonen Awaiting requested review from hsivonen

@alphan102 alphan102 Awaiting requested review from alphan102

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

AltStyle によって変換されたページ (->オリジナル) /