Skip to content

Commit

Permalink
Merge pull request #1510 from YusukeHirao/features/#1508
Browse files Browse the repository at this point in the history
Add `onpageswap` event attribute to the `body` element
  • Loading branch information
YusukeHirao committed Mar 3, 2024
2 parents aae5655 + fd0c1da commit 4bb3737
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@markuplint/html-spec/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -35735,6 +35735,9 @@
"onpageshow": {
"type": "FunctionBody"
},
"onpageswap": {
"type": "FunctionBody"
},
"onpopstate": {
"type": "FunctionBody"
},
Expand Down
4 changes: 4 additions & 0 deletions packages/@markuplint/html-spec/src/spec.body.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@
"onpagereveal": {
"type": "FunctionBody"
},
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpageswap
"onpageswap": {
"type": "FunctionBody"
},
// https://html.spec.whatwg.org/multipage/webappapis.html#handler-window-onpagereveal
"onpageshow": {
"type": "FunctionBody"
Expand Down

0 comments on commit 4bb3737

Please sign in to comment.