Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a global event handler for beforeinput #6743

Closed
wants to merge 299 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
299 commits
Select commit Hold shift + click to select a range
ee906b0
Correct canvas roundRect()'s corner overlap calculation
Kaiido Jul 19, 2021
5bbb9de
Editorial: indices and dots
annevk Jul 19, 2021
665f896
Editorial: use "indices" from Infra
domenic Jul 19, 2021
188b759
HTML parser: fix a regression with foster parenting in foreign content
zcorpan Jul 20, 2021
c616584
Correct innards of document.domain
annevk Jul 21, 2021
2723187
Remove source and track from the hidden elements list
emilio Jul 21, 2021
cdfb73d
Update marking of navigation timing to include service worker timing
noamr Jul 21, 2021
2a15446
Add missing parameter in Location's [[Set]] algorithm
Aryan-Mohanty Jul 23, 2021
4d5f333
Add self.reportError()
annevk Jul 27, 2021
88a9390
Editorial: make domintro typography more uniform
domenic Jul 27, 2021
c576a74
Define self.structuredClone()
surma Jan 27, 2018
0346696
Meta: compress PNG images
j9t Jul 28, 2021
1918af6
Re-add JSON module scripts
dandclark Jul 29, 2021
8175b5e
Add WebCodecs VideoFrame as CanvasImageSource
dalecurtis Jul 29, 2021
edcc795
Upstream pointercancel during drag-and-drop
mustaqahmed Jul 30, 2021
b5a17e5
Fix best practice advice for freeing media element resources
dalecurtis Aug 3, 2021
8873915
Fix switch statement in a MessagePort example
bangseongbeom Aug 3, 2021
c06475f
Fix minor errors in COOP spec
camillelamy Aug 3, 2021
ee0adb3
Plugins are no longer an extensibility mechanism
Aug 3, 2021
4ead569
Expand <details> for find-in-page and fragment navigations
josepharhar Aug 6, 2021
16b475d
Change initial about:blank navigation behavior for iframes and popups
domenic Aug 10, 2021
aa236c7
Fix the class listed for the submit event in the events index
PaperStrike Aug 11, 2021
c15afb0
Removed domintro section from the HTMLAllCollection section
Jun 23, 2021
5ba3381
Add context loss handling for 2D canvas
yiyix Aug 18, 2021
6b6c021
Add contextlost/contextrestored event handlers to more places
yiyix Aug 19, 2021
fefa82f
Editorial: add missing periods in the HTML tokenizer
Patil2099 Aug 23, 2021
93f7c06
Editorial: be clearer about the "current" token
philipbrembeck Aug 25, 2021
d6e1037
Add UA style 'text-align: match-parent' on <li>
zcorpan Aug 25, 2021
1465726
Fix Location-object navigate's choice of browsing context
yvt Aug 25, 2021
a73d46f
Editorial: top-level await has been merged into ES262
domenic Aug 27, 2021
8562a2b
Remove the notion of "secured plugins"
domenic Aug 30, 2021
00f0792
More neutral img replacement text example
edent Aug 31, 2021
8bfa270
Editorial: use static class property syntax in examples
domenic Aug 17, 2021
3306ddb
Editorial: factor out and rephrase "can have its URL rewritten"
domenic Sep 1, 2021
1df2ba0
Add HTMLScriptElement.supports(type)
horo-t Sep 3, 2021
fc8f51e
Do not strip whitespaces for non-classic script type attribute
hiroshige-g Sep 7, 2021
00e5e66
Remove session history entry title-related example
domenic Aug 26, 2021
7509258
Clarify matching of user input to datalist values
aphillips Sep 8, 2021
236872a
Meta: fix HTMLScriptElement.supports() for="" value
domenic Sep 8, 2021
6e79dbf
Change "can have its URL rewritten" to be scheme-based
domenic Sep 9, 2021
5617951
Do not allow redirecting to data: or about: URLs
domenic Sep 10, 2021
77042d0
Editorial: fix a typo in "completely finish loading" note
michaelficarra Sep 10, 2021
2435ad4
Fix up the explanation for "can have its URL rewritten"
domenic Sep 10, 2021
815e369
Define speculative HTML parsing
zcorpan Sep 14, 2021
f8f5f99
Eliminate redundant CSS module script fetch in workers
dandclark Sep 16, 2021
1a36ade
Make all input elements display: inline-block by default
zcorpan Aug 14, 2019
f97aad8
Fix assertion when structured cloning a view of a SAB
Sep 17, 2021
2b611f5
Fix structuredClone() to use StructuredDeserializeWithTransfer
Sep 17, 2021
5662df8
Note that we will not add new named character references
domenic Sep 20, 2021
799985e
Editorial: trivial fixes to COOP algorithms
jeremyroman Sep 20, 2021
99003b5
Remove dangling "fallback width" and "width" references
eeeps Sep 20, 2021
53de408
Clarify the introduction in the Rendering section
zcorpan Sep 23, 2021
2a7e95f
Editorial: correct some comma usage
j9t Sep 27, 2021
ef42ff6
Editorial: remove unnecessary double spaces
j9t Sep 30, 2021
45097f8
Editorial: make “etc.” spelling consistent
j9t Oct 1, 2021
80a292f
Editorial: address various nits
j9t Oct 1, 2021
d7302e3
Editorial: add missing Oxford comma
j9t Oct 8, 2021
a4e46f7
Editorial: add missing article
j9t Oct 8, 2021
b16a98c
Editorial: fix typo and remove superfluous “really”
j9t Oct 8, 2021
a1e7bf2
Editorial: fix typo and simplify complementary table text
j9t Oct 8, 2021
9930fcd
Editorial: “implementer” spelling and replace exclamation point
j9t Oct 8, 2021
069a91c
Editorial: small fixes and improvements
j9t Oct 8, 2021
51f8040
Editorial: small text improvements
j9t Oct 8, 2021
fe8f454
Editorial: “bread-crumb” → “breadcrumb”
j9t Oct 11, 2021
d434c92
Editorial: “bread crumb” → “breadcrumb”
j9t Oct 12, 2021
74f5757
Editorial: “non-zero” → “nonzero”
j9t Oct 12, 2021
3c0aa4e
Advance the position after the equals sign in bogo XML decl parsing
hsivonen Oct 12, 2021
6a3f8c4
Meta: add element attribute to h1-h6
annevk Oct 12, 2021
68abef2
Editorial: link "continue" to its definition
heppokofrontend Oct 12, 2021
e6c9bda
Editorial: update Web IDL links
domenic Oct 12, 2021
5aa5634
Fix missing step in "update the current document readiness"
domenic Oct 12, 2021
3a41018
Use GBK as fallback, not gb18030
annevk Oct 13, 2021
006c70a
Improve autofocus and delegatesFocus interaction
domenic Oct 13, 2021
dc73aa3
Variable agentCluster is not defined in StructuredSerializeInternal
Oct 14, 2021
54145ea
Add notes for focus, etc. and non-fully active documents
rakina Oct 14, 2021
cef8ce6
Editorial: do not use concept members as types
annevk Oct 15, 2021
8d7c922
Editorial: fix a couple worklets typos
domenic Jan 20, 2021
e8599b2
Block external protocol handler with sandboxed iframes
ArthurSonzogni Oct 15, 2021
415f98c
Fire visibilitychange events explicitly
noamr Oct 15, 2021
07baec6
Correct recommendations to escape script in literals
mathiasbynens Oct 18, 2021
5b754a2
Meta: update reference to Intersection Observer issue
annevk Oct 18, 2021
2f956fb
Tweak <meta name=color-scheme> definition
emilio Oct 18, 2021
68da189
Editorial: align with URL's cannot-be-base-URL removal
annevk Oct 19, 2021
3dbc463
Rename canvas CSS text modifier property names
yiyix Oct 20, 2021
b2a5c36
Define an algorithm for serializing a site
apasel422 Oct 21, 2021
bf372a9
List "Chinese, Simplified" and "Chinese, Traditional"
hsivonen Oct 13, 2021
1e3d473
Editorial: correct variable name in form submission
annevk Oct 25, 2021
8f768b3
Restore extracting a MIME type for scripts
annevk Oct 25, 2021
9b64a04
Editorial: align with Fetch's change to tuples
annevk Oct 25, 2021
47d0934
Explain when rel="manifest" links should be fetched for installed apps
philloooo Oct 26, 2021
7149616
Editorial: typo in getContextAttributes() domintro
danburzo Oct 27, 2021
cc659e1
Standardize window.open() popup features and BarProp values
arai-a Oct 29, 2021
3232de6
Explain how details and find-in-page could impact privacy
josepharhar Nov 1, 2021
8670e98
Update the list of activation triggering input events
mustaqahmed Nov 1, 2021
5524251
Fixes to delegatesFocus
domenic Nov 1, 2021
f8e1d8e
Update note on OffscreenCanvas being an event target
yiyix Nov 1, 2021
c449a3d
Add credentialless value to COEP
ArthurSonzogni Nov 2, 2021
4f1899b
Describe the reasonable window.open() features
annevk Nov 2, 2021
8c6a3df
ElementInternals: throw exception in validationMessage getter
EdgarChen Nov 2, 2021
5180d9c
Also fix delegatesFocus and autofocus=""
domenic Nov 1, 2021
c89834c
Move Page Visibility APIs into HTML
noamr Oct 18, 2021
2ac057a
Clarify that form state restoration does not fire events
domenic Nov 1, 2021
4c79e47
Editorial: use newer method/getter/setter styles
domenic Nov 4, 2021
ff155df
Meta: export image request terms
npm1 Nov 5, 2021
ce044f4
BroadcastChannel: Ignore msgs from detached iframes/closing workers
recvfrom Nov 5, 2021
18cb523
Meta: export user activation-related terms
mustaqahmed Nov 9, 2021
0258d04
Add an explicit algorithm for idle callback deadline
noamr Nov 15, 2021
854cb8a
Meta: export Document's visibility state
marcoscaceres Nov 17, 2021
6bb9e3b
Fix a variable reference in module fetching
annevk Nov 18, 2021
482183f
Handle shadow DOM and <dialog> focusing
domenic Nov 18, 2021
19fdb5c
Correct a module map example
annevk Nov 20, 2021
c38e3f0
Editorial: modernize timers spec
domenic Nov 23, 2021
aebf3bb
Move away from including IANA templates
annevk Nov 23, 2021
30156e7
Prevent type: "javascript" import asessions
dandclark Nov 23, 2021
4d1a90b
Fix clearInterval() in setInterval() callback
domenic Nov 24, 2021
bcddf41
Editorial: expose "run steps after a timeout"
domenic Nov 24, 2021
4f70348
Move away from including IANA templates, part 2
annevk Nov 24, 2021
c65d467
Remove inert check from dialog focusing steps
nt1m Nov 24, 2021
aecafc4
Specify "time origin" computation
noamr Nov 29, 2021
adcc8f3
Editorial: Move XHR's definition of "entry list" to HTML
Nov 29, 2021
5ba9803
Editorial: link to more concepts and interfaces from the parser
TimothyGu Nov 29, 2021
b23d9fa
Enforce COOP first when opening a popup from a sandbox
hemeryar Nov 30, 2021
7cfb00a
Define behavior of <link rel=preload> in detail
noamr Nov 30, 2021
736f9ad
Remove a setTimeout()'s entry in the map of active timers after it runs
Nov 30, 2021
6d0fdbe
Fix bogus assert for subframe navigations
hemeryar Dec 8, 2021
8beb7fa
Add showPicker() to <input> elements
domenic Dec 8, 2021
47681e8
Editorial: align with Fetch renaming
noamr Dec 14, 2021
b92c4a6
Add CanvasFilter objects as possible 2D context filters
mysteryDate Dec 14, 2021
4f1f353
Editorial: remove orphaned declaration from navigation algorithm
shvaikalesh Dec 20, 2021
65a6f17
Editorial: fix several typos
ivan-pan Jan 3, 2022
8e986f0
Editorial: assert entry list isn't null in the form submission algorithm
Jan 4, 2022
e8785f5
Add non-normative note about bfcache terminology
chrishtr Jan 5, 2022
4b4930d
Fix syntax error in the example for TextTrack
TheAli711 Jan 11, 2022
3dd3bae
Increment script-blocking style sheet counter for <style>
xiaochengh Jan 12, 2022
5585fa0
Always replace the initial about:blank Document
domenic Jan 12, 2022
28105cb
Bail out location.hash setter when set to the current hash
domenic Jan 12, 2022
b9d03e0
Editorial: address typos and various nits
j9t Jan 13, 2022
107595e
Clarify note regarding <source> element attribute changes
chrisn Jan 14, 2022
1a81e76
Review Draft Publication: January 2022
annevk Jan 17, 2022
2667e47
Editorial: link to UI Events's contextmenu event definition
Jan 18, 2022
1650a62
Fix "rendered text fragment" algorithm
domenic Jan 18, 2022
445e238
Report image loading to Resource Timing
noamr Jan 21, 2022
cd332bd
Fix "report an error" for module scripts
takikawa Jan 21, 2022
8ba6bbc
Fix outerText = "" to match implementations
domenic Jan 21, 2022
0612392
Expose ErrorEvent and PromiseRejectionEvent everywhere
Ms2ger Jan 24, 2022
b789eed
Meta: update repository files
annevk Jan 24, 2022
3ab8b30
Editorial: remove outdated use of "EnvironmentRecord"
jmdyck Jan 26, 2022
0b156cc
Editorial: modernize document/defaultView/open() per Web IDL
annevk Jan 26, 2022
fb0f7ff
Fix example for table header rowgroup scope
vassudanagunta Jan 26, 2022
c2b757c
Report <a> ping, <a> download, and script loading to Resource Timing
noamr Jan 27, 2022
444bc26
Update letterSpacing/wordSpacing to use CSS <length> strings
yiyix Jan 28, 2022
2b5ff7e
Further fixes to focus delegation
domenic Jan 31, 2022
fe8a276
Fixups to canvas text and state
Kaiido Jan 31, 2022
24bb52d
Add a legacy encoding for Azeri
hsivonen Feb 3, 2022
3e6ad5e
Meta: correct FAQ misspelling of “marketplace”
Saklad5 Feb 3, 2022
617b383
Remove the concept of "expressly inert"
Loirooriol Feb 3, 2022
619691c
Update :active and :hover definitions (#7465)
domenic Feb 10, 2022
e225f7f
Add the render-blocking mechanism and blocking=render attribute
xiaochengh Feb 10, 2022
f310fd5
Change how minimum used value for line-height works
zcorpan Feb 11, 2022
cbcd458
Minor fixes to blocking attributes
domenic Feb 11, 2022
7889826
Make style element script-blocking only if its media="" matches
xiaochengh Feb 11, 2022
cc8740f
Add FTP-related protocols to the registerProtocolHandler safelist
asankah Feb 14, 2022
3f7428d
Replace origin with storage key for BroadcastChannel partitioning
recvfrom Feb 15, 2022
7eda1f5
Make style element block rendering only if media="" matches
xiaochengh Feb 16, 2022
956b199
Fix the type of "document base URL"
rdeltour Feb 17, 2022
aa72789
Hyperlink auditing: add Content-Type: text/ping
fowl2 Jan 9, 2022
99ce9a6
Report ResourceTiming for video posters and image inputs
noamr Feb 17, 2022
cb94238
Add a single radius version of canvas roundRect()
mysteryDate Feb 17, 2022
4e5ad3d
Define the translate attribute's state when there's no parent element
zcorpan Feb 17, 2022
5f211e6
Stop propagating inertness into nested browsing contexts
Loirooriol Feb 17, 2022
560371c
Editorial: modernize the canvas Compositing section
Kaiido Feb 18, 2022
e4e079b
Fix broken links to Structured Fields
domenic Feb 17, 2022
6fafc22
Remove WebSockets
yutakahirano Feb 18, 2022
8d87e5d
Report <link> Resource Timing
noamr Feb 22, 2022
38bec4c
Editorial: completion reform for JavaScript AOs
syg Feb 27, 2022
6b6a432
Report Resource Timing for EventSource and <track>
noamr Feb 27, 2022
ad29552
Report Resource Timing for <object> and <embed>
noamr Feb 27, 2022
3cfea94
Make 'true' a truthy value for window.open boolean features
zcorpan Dec 17, 2021
ff10b34
Add allow-top-navigation-to-custom-protocols to sandbox=""
ArthurSonzogni Mar 7, 2022
28675d3
Make roundRect()'s radii argument optional
mysteryDate Mar 7, 2022
88011c4
Do not block the load event for preload and modulepreload
noamr Mar 7, 2022
3093dda
Process preload Link headers
noamr Mar 8, 2022
71637e5
Allow script-inserted body to unblock document's rendering
xiaochengh Mar 9, 2022
d281b6a
Add the inert attribute and tweak definition of inert subtrees
nt1m Mar 10, 2022
48008b6
Fix missing <form> rel="" in attribute index
GokhanKabar Mar 14, 2022
f702570
Dev edition: improve color contrast
hidde Mar 14, 2022
c2b3047
Specify the global object when calculating user activation
sylph01 Mar 15, 2022
9621810
Remove "responsible document" concept
domenic Mar 16, 2022
220af9a
Meta: match whatwg.org color contrast tweaks
annevk Mar 17, 2022
8fc8ad6
Add a note about late CSP
noamr Mar 17, 2022
e0c4fff
Add hidden=until-found and beforematch
josepharhar Mar 23, 2022
02dfd72
Be more rigorous about insertion/removal
sylph01 Mar 28, 2022
0388323
Make <dialog> styling use system colors
emilio Mar 28, 2022
80f4980
Add a note explaining relList.supports() for feature detection
noamr Mar 29, 2022
7b65aca
Avoid suggesting the empty string for navigator.platform
hsivonen Mar 30, 2022
6c11304
Report Resource Timing for <iframe> and <frame>
noamr Mar 30, 2022
e1572fb
Specify range fetching for media elements
noamr Mar 31, 2022
cd4f077
Fix tracking of the idle period start time
noamr Mar 31, 2022
594a4bb
Account for NavigationType → NavigationTimingType rename
domenic Apr 1, 2022
30fe38b
Add <style>'s disabled IDL attribute
domfarolino Apr 11, 2022
ed3c589
Specify navigator.appVersion to match reality
hsivonen Apr 12, 2022
232b2fc
Add note about additional operations when preloading
noamr Apr 12, 2022
989b0f7
Process early hints (103 responses)
noamr Apr 14, 2022
3dc76dd
Fix various timestamp computations
noamr Apr 14, 2022
736fbca
Update microdata schema used in <article> example
edent Apr 18, 2022
e5027da
Specify appropriate times to fetch preload links
noamr Apr 18, 2022
edd2148
Specify <link rel=preconnect>
noamr Apr 19, 2022
11b2f32
Editorial: Fix some minor wording issues for media events
chrisn Apr 19, 2022
0a5195f
Obsolete the <param> element
domenic Apr 21, 2022
0753e71
Add a note about why dialog uses show/close
domenic Apr 21, 2022
8629552
Throw on showPicker() when the <input> is not mutable
domenic Apr 21, 2022
aeb0396
Fix missing variable initialization for the event loop
domenic Mar 31, 2022
de3b3f7
Return on out-of-bounds dataTransfer.items.remove()
domenic Apr 22, 2022
e7907f4
Remove callerRealm from HostEnsureCanCompileStrings
antosart Apr 22, 2022
a3eaeac
Fix a few issues with the early hints algorithms
noamr Apr 22, 2022
f6cc6e5
Fire <link rel=preload> error events only for network errors
hiroshige-g Apr 25, 2022
95f1472
Define which elements can be which kinds of widgets for CSS 'appearance'
frivoal Apr 25, 2022
69a041d
Support preconnect in Link headers and early hints
noamr Apr 26, 2022
b4c661e
Only preload resources with matching type/as attributes
noamr Apr 26, 2022
c470aaa
Be clearer about documents in script execution
domenic Apr 26, 2022
e189047
Always fire popstate and restore persisted state sync
domenic Apr 27, 2022
7975595
Fix implicitly render-blocking interaction with blocking="render"
xiaochengh Apr 27, 2022
4097792
Add trailing dot example to same site table
annevk May 2, 2022
784f390
Editorial: change "render-blocking" terms
xiaochengh May 3, 2022
5401ef3
Set Window's timeOrigin to navigation fetch start time
noamr May 3, 2022
4102f9a
Remove UA style for h2-h5 in hgroup
zcorpan May 3, 2022
1a9f1e6
Update for JavaScript RegExp spec change
mathiasbynens May 10, 2022
185208a
Fix when a `script` element is implicitly potentially render-blocking
xiaochengh May 16, 2022
33ddbdd
Editorial: remove a confusing comment on <link>.as
JohnTitor May 16, 2022
b08e951
Remove blocking=render from preload/modulepreload links
xiaochengh May 17, 2022
4b7e443
Clarify that modal dialogs escape inertness of ancestors
emilio May 18, 2022
9df37b4
Amend preload integrity check to better match implementations
noamr May 19, 2022
58aed21
Editorial: add missing words
j9t May 19, 2022
f5efcec
Editorial: correct plurality
j9t May 19, 2022
198c087
Editorial: correct case
j9t May 19, 2022
b7b7b31
Clean up the script element processing model
domenic May 19, 2022
23b09f2
Reference RFC 9239 instead of RFC 4329
mathiasbynens May 20, 2022
569153e
Remove most status/range verification for media responses
noamr May 23, 2022
18a8556
Editorial: update IETF spec links
domenic May 23, 2022
4d081d1
Fix wrong variable in HTML Standard removing steps
dmhalejr May 26, 2022
05559ab
Editorial: refactor `Link` header processing to be declared per-type
noamr May 26, 2022
579847e
Editorial: use argument defaulting in create a classic script
annevk May 31, 2022
e6686fb
Editorial: Fix misspelling of "preferable"
linusg May 31, 2022
de71dc0
Correct unload event timing for different COOP
noamr May 31, 2022
f93213a
Extract encoding properly in fetch a classic script
annevk Jun 1, 2022
1b42f14
Set requests' render-blocking flag based on blocking="render"
xiaochengh Jun 1, 2022
1716986
Support nonce and referrer policy in preload and `Link` headers
noamr Jun 2, 2022
14a65df
Editorial: Deduplicate link request creation
noamr Jun 3, 2022
4c83c55
Do not allow integrity hashing mismatch in consuming preloads
hiroshige-g Jun 3, 2022
90324d5
Remove beforeinput from events table
mfreed7 Jun 3, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The HTML Standard is quite complex and people notice minor and larger issues wit

We label [good first issues](https://github.com/whatwg/html/labels/good%20first%20issue) that you could help us fix, to get a taste for how to submit pull requests, how the build process works, and so on.

We'd be happy to mentor you through this process. If you're interested and need help getting started, leave a comment on the issue or bug, or ask around [on IRC](https://whatwg.org/irc). The [FAQ](FAQ.md) may also be helpful.
We'd be happy to mentor you through this process. If you're interested and need help getting started, leave a comment on the issue or bug, or [ask around](https://whatwg.org/chat). The [FAQ](FAQ.md) may also be helpful.

## Pull requests

Expand Down
16 changes: 13 additions & 3 deletions FAQ.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,11 @@ Since then, we've realized that much like the [waterfall model](https://en.wikip

### Is design rationale documented?

Sort of. Often some record of the rationale for a particular design choice can be found within discussions in the GitHub issue tracker, commit logs, or the mailing-list archive or IRC channel archives. Sometimes, there is an explanation in the specification, but doing that everywhere would make the specification huge.
Sort of. Often some record of the rationale for a particular design choice can be found within discussions in the GitHub issue tracker, commit logs, or the mailing-list archive or [Chat archives](https://whatwg.org/chat#logs). Sometimes, there is an explanation in the specification, but doing that everywhere would make the specification huge.

For a few cases that someone did take the time document, the information can be found at the following locations:

* [Rationale](https://wiki.whatwg.org/wiki/Rationale) — a page that documents some reasons behind decisions in the spec, originally written and maintained by Variable. If anyone wants to help him out, try to grab someone on [IRC](https://wiki.whatwg.org/wiki/IRC); we're always looking for more contributors and this is a good place to start.
* [Rationale](https://wiki.whatwg.org/wiki/Rationale) — a page that documents some reasons behind decisions in the spec, originally written and maintained by Variable. If anyone wants to help him out, try to find someone via [Chat](https://whatwg.org/chat); we're always looking for more contributors and this is a good place to start.
* [Why no namespaces](https://wiki.whatwg.org/wiki/Why_no_namespaces)
* [Why no script implements](https://wiki.whatwg.org/wiki/Why_no_script_implements)
* [Why not reuse legend](https://wiki.whatwg.org/wiki/Why_not_reuse_legend) or another _mini-header_ element.
Expand Down Expand Up @@ -338,6 +338,16 @@ Short of that, there are actually quite a number of ways for people to invent th

HTML allows `<div>` as a grouping element in `<dl>`. See [the `<dl>` specification](https://html.spec.whatwg.org/multipage/#the-dl-element) and [issue #1937](https://github.com/whatwg/html/issues/1937) wherein this was added.

### HTML should add more named character references!

Although this would be convenient, the overall conclusion of the editors and of browser engine implementers is that expanding the [named character references](https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references) list is not worth the cost to the ecosystem:

* The backward-compatibility characteristics of such additions are bad. They do not add new capabilities, since you can already use numeric character references or unescaped code points; they just introduce new ways of writing the same thing, which will fail to display correctly in older browsers.

* The benefits of such features can also be accomplished by preprocessor languages directly. That is, preprocessed languages that compile to HTML, such as Markdown, wiki syntax, JSX, or server-side templating systems, can add these capabilities themselves. The only reason to add these to the browser is to help people writing raw HTML. We do want to support people writing raw HTML, but features for that audience are less impactful than general web platform features, which weighs into the overall decision as to whether to add them or not.

* Most importantly, [the HTML parser is security sensitive](https://github.com/whatwg/html/issues/919#issuecomment-276329905). Any changes in it can cause mismatches between markup producers and markup consumers until everyone is updated to the latest version, which can lead to security bugs. This means that changes to the parser have to add an extreme amount of value to the ecosystem, to overcome this security hazard. Per the above points, our judgment is that adding or modifying named character references does not meet this bar.

### Where's the harm in adding...?

Every feature we add to the web platform has a cost:
Expand Down Expand Up @@ -429,4 +439,4 @@ The Web Forms 2.0 specification was folded into what is now the HTML Standard.

The Web Controls 1.0 specification was overtaken by events and has been abandoned. Its problem space is mostly handled by ARIA and Web Components now.

The DOM Parsing specification was abandoned by the WHATWG because the W3C was doing a better job of maintaining that specification. We do not want to cause confusion in the market place, so when another organization writes a specification that covers the same technology as one of ours, we only continue to publish it if our version is technically superior.
The DOM Parsing specification was abandoned by the WHATWG because the W3C was doing a better job of maintaining that specification. We do not want to cause confusion in the marketplace, so when another organization writes a specification that covers the same technology as one of ours, we only continue to publish it if our version is technically superior.
2 changes: 2 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,7 @@ Thank you for contributing to the HTML Standard! Please describe the change you
* Chrome: …
* Firefox: …
* Safari: …
* Deno (only for timers, structured clone, base64 utils, channel messaging, module resolution, web workers, and web storage): …
* Node.js (only for timers, structured clone, base64 utils, channel messaging, and module resolution): …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)
Binary file modified demos/canvas/blue-robot/blue-robot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions dev/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ var > var::after {

.note {
padding: 3px;
background-color: #eee;
background-color: #f7f7f7;
}

.note pre {
Expand All @@ -302,7 +302,7 @@ var > var::after {

.css::before {
content: "CSS:";
color: #888888;
color: #757575;
font-size: 1em;
display: block;
background: transparent;
Expand Down Expand Up @@ -438,7 +438,7 @@ ol.toc li {
}

ol.toc .secno {
color: #888888;
color: #757575;
}

html.index ol.toc li {
Expand Down
Binary file modified images/abstract.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/arc1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/arcTo1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/arcTo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/arcTo3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/baselines.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/bidiselect.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/content-venn.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/drawImage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/fingerprint.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/focus-tree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/im.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/media-stream-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/media-stream-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/premultiplied-example-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/premultiplied-example-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/premultiplied-example-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/robots.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/sample-bdi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/sample-calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/sample-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/sample-details-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/sample-details-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/sample-makeapp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/sample-meter.png
Binary file modified images/sample-not-bdi.png
Binary file modified images/sample-progress.png
Binary file modified images/sample-range-2a.png
Binary file modified images/sample-range-2b.png
Binary file modified images/sample-range-labels.png
Binary file modified images/sample-range-multiple.png
Binary file modified images/sample-range.png
Binary file modified images/sample-ruby-bopomofo.png
Binary file modified images/sample-ruby-ja.png
Binary file modified images/sample-ruby-pinyin.png
Binary file modified images/sample-usemap.png
Binary file modified images/select-country-1.png
Binary file modified images/select-country-2.png
Binary file modified images/table-scope-diagram.png
Loading