From c4d4d549431286c8843189976d77b450ce3ebb9e Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Wed, 27 Sep 2023 15:43:06 +0200 Subject: [PATCH] Meta: update repository files See https://github.com/whatwg/spec-factory for details. --- README.md | 234 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 234 insertions(+) diff --git a/README.md b/README.md index 708815b..939c2e0 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,237 @@ A dashboard showing the tests running against browser engines can be seen at [wp ## Building "locally" For quick local iteration, run `make`; this will use a web service to build the standard, so that you don't have to install anything. See more in the [Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md#building). + +## Formatting + +Use a column width of 100 characters. + +Do not use newlines inside "inline" elements, even if that means exceeding the column width requirement. +```html +

The +remove(tokens…) +method, when invoked, must run these steps: +``` +is okay and + ```html +

The remove(tokens…) method, when +invoked, must run these steps: +``` +is not. + +Using newlines between "inline" element tag names and their content is also forbidden. (This actually alters the content, by adding spaces.) That is +```html +token +``` +is fine and +```html +token + +``` +is not. + +An `

  • ` element always has a `

    ` element inside it, unless it's a child of `