html
html copied to clipboard
HTML Standard
As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=654072 it might be good to have more alignment about what form restoration entails. Questions that came up: * Is disabled restorable state? * Should restoration happen...
Proposal: `beforePutToBFcache` and `afterRestoreFromBFcache` events for DedicatedWorkerGlobalScope
# Explainer: `beforePutToBFcache` and `afterRestoreFromBFcache` events for DedicatedWorkerGlobalScope ## Authors @hajimehoshi ## Introduction Today, browsers use an optimization feature when users navigate their browser’s history, called Back-Forward Cache (a.k.a BFCache)....
Different applications need to receive time input in different resolutions, not only "just date" or "just the time part". As the standard already defines "month" and "week" as valid resolution...
The HTML parsing algorithm is supposed to allow generating a consistent DOM from any given HTML input. However as new elements are added, from time to time changes are made...
Fixes https://github.com/whatwg/html/issues/8053. - [x] At least two implementers are interested (and none opposed): * @garykac for Chromium in https://github.com/whatwg/html/pull/8096#issuecomment-1180352825 * @saschanaz for Gecko in https://github.com/whatwg/html/pull/8096#pullrequestreview-1040771522 * WebKit? - [ ]...
`import.meta.resolve` provides a contextual resolver at the module level allowing custom module resolution to be exposed to users without actually importing those modules. This allows resolving URLs that are not...
Forking this off from #5744 and #5879. Looking for feedback. I'm not sure if this is something we would try to spec or not but it's something that could increase...
First up is a simple one: Does setting `srcdoc` replace the current history entry or add a new one? Chrome & Firefox: Replace if the current document url is `about:srcdoc`,...
The **text preparation algorithm** described in §4.12.5.1.4 of https://html.spec.whatwg.org/multipage/canvas.html#text-styles says: > 5. Form a hypothetical infinitely\-wide CSS line box containing a single inline box containing the text text, with its...
`window.open()` is full of legacy design mistakes. Here is a proposal for what, IMO, it should look like: ```js window.openWindow(url, { allowOpenerAccess, referrerPolicy }); window.openPopup(url, { left, top, width, height,...