- Notifications
You must be signed in to change notification settings - Fork1
lucacasonato/fetch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This repository hosts theFetch Standard.
We are committed to providing a friendly, safe, and welcoming environment for all. Please read andrespect theWHATWG Code of Conduct.
Folks notice minor and larger issues with the Fetch Standard all the time and we'd love your helpfixing those. Pull requests for typographical and grammar errors are also most welcome.
We'd be happy to mentor you through this process. If you're interested and need help gettingstarted, leave a comment on the issue or ask aroundon IRC.
In short, changefetch.bs
and submit your patch, with agood commit message. Considerreading through theWHATWG FAQ if you are new here.
Please add your name to the Acknowledgments section in your first pull request, even for trivialfixes. The names are sorted lexicographically.
For quick local iteration, runmake
. To verify your changes locally, runmake deploy
. See morein theWHATWG Contributor Guidelines.
Use a column width of 100 characters.
Do not use newlines inside "inline" elements, even if that means exceeding the column widthrequirement.
<li><p>Execute<ahref=https://w3c.github.io/webappsec-csp/#set-response-csp-list>set<var>response</var>'s CSP list</a> on<var>response</var>.<spandata-anolis-ref>CSP</span>
is okay and
<li><p>Execute<ahref=https://w3c.github.io/webappsec-csp/#set-response-csp-list>set<var>response</var>'s CSPlist</a> on<var>response</var>.<spandata-anolis-ref>CSP</span>
is not.
Using newlines between "inline" element tag names and their content is also forbidden. (Thisactually alters the content, by adding spaces.) That is
<a>token</a>
is fine and
<a>token</a>
is not.
An<li>
element always has a<p>
element inside it, unless it's a child of<ul class=brief>
.
If a "block" element contains a single "block" element, do not put it on a newline.
Do not indent for anything except a new "block" element. For instance
<li><p>Set<var>response</var>'s<spantitle=concept-response-url-list>url list</span> to a copy of<var>request</var>'s<spantitle=concept-request-url-list>url list</span>.
is not indented, but
<li><p>Run these substeps<spandata-anolis-spec=html>in parallel</span>:<ol>
is.
End tags must be omitted when possible and attribute values must not be quoted (if necessary, usedouble quotes).
Place one newline between paragraphs (including list elements). Place three newlines before<h2>
,and two newlines before other headings. This does not apply when a nested heading follows the parentheading.
<ul><li><p>Do not place a newline above.<li><p>Place a newline above.</ul><p>Place a newline above.<h3>Place two newlines above.</h3><h4>Placing one newline is OK here.</h4><h4>Place two newlines above.</h4>
Use camel case for variable names and sentence case use spaced names for definitions, algorithms,etc.
<p>A<afor=/>request</a> has an associated<dfnexportfor=requestid=concept-request-redirect-mode>redirect mode</dfn>,...
<p>Let<var>redirectMode</var> be<var>request</var>'s<afor=request>redirect mode</a>.
If you can commit to this repository, see themaintainer guidelines.
Tests can be found in thefetch/
directory ofweb-platform-tests/wpt.
About
Fetch Standard
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Languages
- HTML100.0%