From 8724b59a875daad6ab3daeb809e3f1f9ea34ba4c Mon Sep 17 00:00:00 2001 From: eps1lon Date: Mon, 20 May 2024 20:09:09 +0200 Subject: [PATCH] Add warning when using popoverTarget={Element} --- .../AttributeTableSnapshot.md | 20 ++++++------- fixtures/attribute-behavior/public/index.html | 1 + fixtures/attribute-behavior/src/attributes.js | 11 +++++++- .../src/client/ReactDOMComponent.js | 15 ++++++++++ .../__tests__/DOMPropertyOperations-test.js | 28 +++++++++++++++++++ 5 files changed, 64 insertions(+), 11 deletions(-) diff --git a/fixtures/attribute-behavior/AttributeTableSnapshot.md b/fixtures/attribute-behavior/AttributeTableSnapshot.md index 112bf4ebfca63..eef3d4a35cf99 100644 --- a/fixtures/attribute-behavior/AttributeTableSnapshot.md +++ b/fixtures/attribute-behavior/AttributeTableSnapshot.md @@ -8462,25 +8462,25 @@ | `popover=(integer)`| (changed)| `"manual"` | | `popover=(NaN)`| (changed, warning)| `"manual"` | | `popover=(float)`| (changed)| `"manual"` | -| `popover=(true)`| (initial, warning)| `` | -| `popover=(false)`| (initial, warning)| `` | +| `popover=(true)`| (initial)| `` | +| `popover=(false)`| (initial)| `` | | `popover=(string 'true')`| (changed)| `"manual"` | | `popover=(string 'false')`| (changed)| `"manual"` | | `popover=(string 'on')`| (changed)| `"manual"` | | `popover=(string 'off')`| (changed)| `"manual"` | -| `popover=(symbol)`| (initial, warning)| `` | -| `popover=(function)`| (initial, warning)| `` | +| `popover=(symbol)`| (initial)| `` | +| `popover=(function)`| (initial)| `` | | `popover=(null)`| (initial)| `` | | `popover=(undefined)`| (initial)| `` | ## `popoverTarget` (on `