From 2e4bf18e1bac0d91d397ccbeaa7152cd32661bf5 Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Fri, 11 Nov 2022 17:28:51 -0800 Subject: [PATCH] Remove the popover `defaultopen` attribute Per the [1] resolution, we have decided to remove this feature for now, while we work on ways to make it more generic and applicable to other elements such as `
` and ``. [1] https://github.com/openui/open-ui/issues/631#issuecomment-1310815390 Bug: 1307772 Change-Id: I7bc385fcbe1fadfcdf83d2d65c2e46abc07cb8a4 --- .../popover-anchor-display.tentative.html | 5 +++ .../popover-defaultopen-2.tentative.html | 24 ---------- ...ver-defaultopen-display-ref.tentative.html | 6 --- ...popover-defaultopen-display.tentative.html | 14 ------ .../popover-defaultopen.tentative.html | 44 ------------------- ...over-top-layer-combinations.tentative.html | 1 + .../popovers/resources/popover-utils.js | 31 +++++++++++++ 7 files changed, 37 insertions(+), 88 deletions(-) delete mode 100644 html/semantics/popovers/popover-defaultopen-2.tentative.html delete mode 100644 html/semantics/popovers/popover-defaultopen-display-ref.tentative.html delete mode 100644 html/semantics/popovers/popover-defaultopen-display.tentative.html delete mode 100644 html/semantics/popovers/popover-defaultopen.tentative.html diff --git a/html/semantics/popovers/popover-anchor-display.tentative.html b/html/semantics/popovers/popover-anchor-display.tentative.html index 03b486d745dd58..103bc9849fdbd6 100644 --- a/html/semantics/popovers/popover-anchor-display.tentative.html +++ b/html/semantics/popovers/popover-anchor-display.tentative.html @@ -3,6 +3,7 @@ +

There should be a green box attached to the right side of each orange box.

@@ -24,6 +25,10 @@
+ + diff --git a/html/semantics/popovers/popover-defaultopen.tentative.html b/html/semantics/popovers/popover-defaultopen.tentative.html deleted file mode 100644 index daf12f7ff5afc7..00000000000000 --- a/html/semantics/popovers/popover-defaultopen.tentative.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - -
This is a popover, which should be open upon load
- -
This is a second popover with defaultopen, which should NOT be open upon load
-
Also not visible
- -
This is a manual popover with defaultopen, which should be open upon load
-
This is a manual popover with defaultopen, which should be open upon load
- - diff --git a/html/semantics/popovers/popover-top-layer-combinations.tentative.html b/html/semantics/popovers/popover-top-layer-combinations.tentative.html index 66106ce17d9afe..d4529b9e39c87a 100644 --- a/html/semantics/popovers/popover-top-layer-combinations.tentative.html +++ b/html/semantics/popovers/popover-top-layer-combinations.tentative.html @@ -29,6 +29,7 @@