From bd78e9d6cbc740fd4ea2e406c0f63e669a98fa84 Mon Sep 17 00:00:00 2001 From: Mason Freed Date: Wed, 13 Jul 2022 21:40:46 -0700 Subject: [PATCH] Add the beginning of hover-trigger for pop-ups This CL adds the 'hoverpopup' attribute, to go along with the other invoking attributes (togglepopup, showpopup, hidepopup). This attribute, when places on *any* element, triggers a pop-up when hovered. With this CL, it is always triggered after a fixed 100ms delay, but that will be made configurable via CSS in subsequent CLs. There is also no "hide" trigger when any element is de-hovered - again that will be added later. See this spec discussion: https://github.com/openui/open-ui/issues/526#issuecomment-1161917067 Bug: 1307772 Change-Id: I7af88dad9efa015f833843ea76bed41b4aa42c4b --- .../popup-hoverpopup-attribute.tentative.html | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 html/semantics/popups/popup-hoverpopup-attribute.tentative.html diff --git a/html/semantics/popups/popup-hoverpopup-attribute.tentative.html b/html/semantics/popups/popup-hoverpopup-attribute.tentative.html new file mode 100644 index 00000000000000..5c8caa4bff0ea1 --- /dev/null +++ b/html/semantics/popups/popup-hoverpopup-attribute.tentative.html @@ -0,0 +1,92 @@ + + +The hoverpopup attribute + + + + + + + + + + + + +