whatwg
Here are 57 public repositories matching this topic...
Paragraph of placeholder attribute on input element
https://html.spec.whatwg.org/multipage/input.html#the-placeholder-attribute
If a user agent normally doesn't show this hint to the user when the control is focused, then the user agent should nonetheless show the hint for the control if it was focused as a result of the autofocus attribute, since in that case the user will not have had an
Relevant spec sections:
https://drafts.csswg.org/selectors-4/#the-dir-pseudo
https://html.spec.whatwg.org/multipage/semantics-other.html#selector-ltr
The interesting cases to test are from the definition of "directionality" in HTML:
https://html.spec.whatwg.org/multipage/dom.html#the-directionality
- element with
dir="ltr"matches:dir(ltr) - root element without
dirattr
-
Updated
Sep 11, 2020 - JavaScript
Presumably these should result in a network error. The current specification doesn't state anything and it's not tested either.
See the README for instructions on where to add tests. In the specification the "blob" case of https://fetch.spec.whatwg.org/#scheme-fetch needs updating to handle current URL’s blob URL entry being null.
-
Updated
Sep 14, 2020 - HTML
Under point 6 of the list of steps to take to "ensure pre-insertion validity", as part of an attempt to implement a procedure involving the particular list of steps, I am having trouble unambiguously interpreting the following statement:
parent has an element child, child is a doctype, or child is non-null and a do
-
Updated
Aug 19, 2020 - JavaScript
-
Updated
Sep 14, 2020 - Java
What should be the result of new URL("#")?
Browsers return different results and It confuses me.
In my understanding is that new URL("#") should throw a validation error.
- scheme start state
- [skip] If c is an ASCII alpha, append c, lowercased, to buffer, and set state to scheme state.
- [match] Otherwise, if state over
-
Updated
Aug 18, 2020 - HTML
-
Updated
Aug 28, 2020 - HTML
-
Updated
Jun 16, 2020 - TypeScript
https://notifications.spec.whatwg.org/#dom-serviceworkerregistration-getnotifications is manipulating and ES array in parallel steps. It says things like "push that object to objects". How is that supposed to work? Is that using Array.prototype.push? If so, is it using the initial value of that? Even if it does, that can be affected by accessor properties on Array.prototype and in particu
In https://mimesniff.spec.whatwg.org/#parsing-a-mime-type the following step might be clearer if it explicitly said the trailing sequence after " was to be discarded. Might also be better if the example contains a ';' since the step mentions ';'
Current:
Collect a sequence of code points that are not U+003B (;) from input, given position.
Example: Given text/html;charset="shift_jis"iso-20
https://github.com/whatwg/whatwg.org/blob/master/resources.whatwg.org/standard.css#L168
A <dl class="switch"> in specs represents a switch statement in programming languages. For stylistic reasons we use an arrow character as generated content before each dt.
Example: https://dom.spec.whatwg.org/#dom-node-nodetype
This renders as "rightwards arrow with hook" in screen readers, accor
-
Updated
Jun 1, 2020 - JavaScript
-
Updated
Apr 12, 2019 - JavaScript
-
Updated
Sep 5, 2020 - HTML
-
Updated
Jun 2, 2020 - JavaScript
Improve this page
Add a description, image, and links to the whatwg topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the whatwg topic, visit your repo's landing page and select "manage topics."
node-fetchcurrently completely ignoringContent-Lengthheader while consuming response.Fetch specification about handling
Content-Lengthon server response says almost nothing:https://fetch.spec.whatwg.org/#concept-http-network-fetch(see whatwg/fetch#67)On other hand, we have a
fetch-nodespecific extension to limit the size of the response.My prop