react/fixtures
Riley Shaw fbce2d5274
Fix #21972: Add `onResize` event to video elements (#21973)
* Fix #21972: Add `onResize` event to video elements

This is a simple fix for #21972 that adds support for the `onResize` media event.

I created a separate `videoEventTypes` array since I doubt anyone will want to add `onResize` to an audio event. It would simplify the code a bit to just add `resize` to the `mediaEventTypes` array, if that’s preferred.

Pre-commit checklist ([source](https://reactjs.org/docs/how-to-contribute.html#sending-a-pull-request))

 Fork the repository and create your branch from `main`.
 Run `yarn` in the repository root.
 If you’ve fixed a bug or added code that should be tested, add tests!
 Ensure the test suite passes (`yarn test`). Tip: `yarn test --watch TestName` is helpful in development.
 Run `yarn test --prod` to test in the production environment.
 If you need a debugger, run `yarn debug-test --watch TestName`, open chrome://inspect, and press “Inspect”.
 Format your code with prettier (`yarn prettier`).
 Make sure your code lints (`yarn lint`). Tip: `yarn linc` to only check changed files.
 Run the Flow typechecks (`yarn flow`).
 If you haven’t already, complete the CLA.

* Consolidate `videoEventTypes` array into `mediaEventTypes`
2021-09-07 23:28:19 +01:00
..
art Upgrade art fixtures to babel 7 (#16235) 2020-07-25 23:43:49 -04:00
attribute-behavior Some remaining instances of master to main (#21982) 2021-07-30 08:56:55 -04:00
blocks Remove unstable_createRoot from internal builds (#21698) 2021-06-17 11:29:30 -07:00
concurrent/time-slicing Some remaining instances of master to main (#21982) 2021-07-30 08:56:55 -04:00
devtools Some remaining instances of master to main (#21982) 2021-07-30 08:56:55 -04:00
dom Fix #21972: Add `onResize` event to video elements (#21973) 2021-09-07 23:28:19 +01:00
eslint Bump Prettier (#17811) 2020-01-09 13:54:11 +00:00
expiration Bump handlebars from 4.0.11 to 4.5.3 in /fixtures/expiration (#17729) 2019-12-30 08:57:08 -08:00
fiber-debugger Rename effect fields (#19755) 2020-09-04 14:34:07 -07:00
fiber-triangle Publish a local release (canary or stable) to NPM (#14260) 2018-11-23 12:37:18 -08:00
fizz-ssr-browser Use the server src files as entry points for the builds/tests (#21683) 2021-06-14 16:23:19 -07:00
flight Renames master to main in fixtures/flight webpack config file (#21998) 2021-08-23 10:55:37 -04:00
flight-browser [Flight] Prevent non-Server imports of aliased Server entrypoints (#20422) 2020-12-10 03:55:38 +00:00
legacy-jsx-runtimes Throw when `act` is used in production (#21686) 2021-06-16 16:29:51 -04:00
nesting Nesting Fixture (#19531) 2020-08-07 02:08:41 +01:00
packaging Remove /dist/ UMD builds (#18473) 2020-04-02 17:52:32 -07:00
scheduler Add test of scheduler overhead (#16260) 2019-08-01 17:13:39 -07:00
ssr Merge /unstable-fizz entry point into /server (#21684) 2021-06-14 18:37:44 -07:00
ssr2 [SSR2 Fixture] Delete duplicate DOCTYPE (#21824) 2021-07-08 03:11:42 +01:00
stacks Fix Component Stacks for IE and Native Classes in Safari (#18575) 2020-04-10 19:39:02 -07:00