Web Platform Incubator Community Group
This repository is being used for work in the Web Platform Incubator Community Group, governed by the W3C Community License Agreement (CLA). To contribute, you must join the CG.
If you are not the sole contributor to a contribution (pull request), please identify all contributors in the pull request's body or in subsequent comments.
To add a contributor (other than yourself, that's automatic), mark them one per line as follows:
If you added a contributor by mistake, you can remove them in a comment with:
If you are making a pull request on behalf of someone else but you had no part in designing the feature, you can remove yourself with the above syntax.
For normative changes, a corresponding
web-platform-tests PR is highly appreciated. Typically,
both PRs will be merged at the same time. Note that a test change that contradicts the spec should
not be merged before the corresponding spec change. If testing is not practical, please explain why
and if appropriate file an issue to follow
up later. Add the
type:missing-coverage label as appropriate.
Here's a workflow to get you started:
- Fork github.com/WICG/trusted-types
git cloneyour fork and
npm installto get everything set up.
git checkout -b your-branch-nameto setup a branch to hold your patch.
- Optionally, install bikeshed
node_modules/.bin/gulp spec.watchwhich will regnerate
dist/spec/index.htmlevery time you modify spec/index.bs.
- Open a browser to your local dist/spec/index.html.
- Until you're happy, make edits to your local spec/index.bs. To help, you might refer to:
- Be aware of issue 112 if you're having trouble with the watcher.
- Maybe locally enable
Complain About: broken-links yesand double check that there are no broken links. Broken-link checking is slooow during development.
- Commit and push your branch to your fork and send us a PR.
- Check the PR to see if bots need you to sign any contributor agreements.
Once your PR is merged, it'll be available at https://wicg.github.io/trusted-types/dist/spec/ but if you want a shareable link to your PR, try filling in the blanks: