Add Form Submission spec to prerendering.bs#426
Conversation
tunetheweb
left a comment
There was a problem hiding this comment.
@domfarolino knows much more about specs than me, but spotted a couple of things that might need changing.
Co-authored-by: Barry Pollard <barrypollard@google.com>
| Preview: |
domfarolino
left a comment
There was a problem hiding this comment.
Does this PR modify https://wicg.github.io/nav-speculation/prerendering.html#navigate-activation or elsewhere, in order to prevent existing form navigations from activating non-form_submission prerenders?
I ask this as a follow-up to #424 (comment). This PR doesn't really carry its weight if forms can always activate all prerenders 😅
| <p class="note">Implementations will still be allowed to treat prerender candidates as prefetches, per the modifications in [[#speculation-rules-processing]].</p> | ||
| </div> | ||
|
|
||
| <div algorithm="parse a speculation rule"> |
There was a problem hiding this comment.
I think we also need to modify step 2, and add form_submission to the list of keys that we "accept"?
There was a problem hiding this comment.
I've just updated the activation matching algorithm. PTAL
As for the step 2, it seems a change is needed to another repo: https://github.com/whatwg/html/blob/main/source
I'm creating another PR addressing that.
No description provided.