Skip to content

Commit

Permalink
Editorial: convert to bikeshed
Browse files Browse the repository at this point in the history
Steps to reproduce:

 * Convert fullscreen.bs by pasting into this one-off tool:
   https://gist.github.com/foolip/f60a1614fb5d194aad4dbff89c54ceb3
 * Manually finish conversion to Bikeshed, tweaking as needed to match
   the existing output as closely as possible.
 * Export top layer and its add/remove concepts for HTML.
 * Rewrap to 100 columns, taking care not to wrap inside elements.
 * Update README.md and remove Makefile.

Finally, to compare the new fullscreen.html with the old:

  for (var e of document.querySelectorAll('*')) {
    if (e.id)
      console.log('id: ' + e.id);
    if (e.hasAttribute('href') && e.className != 'self-link')
      console.log('href: ' + e.getAttribute('href'));
  }

Existing IDs/links affected:

 * #table-of-contents → #toc
 * #refsCSS → #biblio-css (and similar)
 * #anolis-references is gone

The old and new fullscreen.html were also copied from a browser into
plaintext and compared to verify no accidental differences. The biggest
differences are in the references section.

Fixes whatwg#47.
  • Loading branch information
foolip committed Sep 14, 2016
1 parent 760607a commit f9df3ea
Show file tree
Hide file tree
Showing 4 changed files with 772 additions and 1,132 deletions.
12 changes: 0 additions & 12 deletions Makefile

This file was deleted.

16 changes: 12 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,18 @@ started, leave a comment on the issue or ask around [on IRC](https://wiki.whatwg
### Pull requests

See the [html repository's README](https://github.com/whatwg/html/blob/master/README.md) for the
general guidelines. Note that `source` is `Overview.src.html` and "Acknowledgements" is
"Acknowledgments" here (I know). Also, the Fullscreen API Standard uses
[Anolis](https://wiki.whatwg.org/wiki/Anolis) to generate `Overview.html`. (Do not worry if using
that tool is too complicated, your pull request does not need to contain the generated HTML.)
general guidelines.

Please add your name to the Acknowledgments section in your first pull request, even for trivial
fixes. The names are sorted lexicographically.

To generate `fullscreen.html`, [bikeshed](https://github.com/tabatkins/bikeshed) can be used. Do not worry
if using that tool is too complicated; your pull request does not need to contain the generated HTML
to be accepted. If you _do_ want to use it, the easiest way is probably via the HTTP API:

```
curl https://api.csswg.org/bikeshed/ -f -F [email protected] > fullscreen.html
```

### Merge policy

Expand Down
Loading

0 comments on commit f9df3ea

Please sign in to comment.