A new HTML element, <popup>, which can be used to build transient user interface (UI) elements that are displayed on top of all other web app UI. These include user-interactive elements like action menus, form element suggestions, content pickers, and teaching UI. This new element is similar to <dialog>, but has several important differences, including light-dismiss behavior, anchoring, and the lack of a "modal" mode.
When building a web application, there are many cases in which an author needs to create transient user interface (UI) elements that are displayed on top of all other web app UI. These include user-interactive elements like action menus, form element suggestions, content pickers, teaching UI, and the listbox portion of a <select> control. These paradigms will be collectively referred to as popups. For many such use cases, it is incumbent upon the author to handle the popup’s styling, positioning and z-index stacking, focus management, keyboard interactions, and accessibility semantics. Because no platform-native solutions exist to comfortably handle all these use cases, individual authors and framework developers must continuously re-write the same classes of controls. This results in duplicative work for the web development community, and inconsistent experiences for users of these web applications. The web platform can be extended such that authors can get popup interactions and styling “for free”, but have enough flexibility to support their individual use cases.
None
Bye,
Rego
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/8109c2ba-c5c1-ae74-ff1a-f083ad8f97a7%40igalia.com.
Exciting work here!
I know it's early in the process, but adding a new HTML elements looks
like something that would benefit from a TAG review.
So I'd suggest filling the TAG review now, as this usually take a while
and we could iterate on it as things evolve.
Bye,
Rego
Thanks Rego, that's a very good point. I had planned to file a TAG review soon, but I wanted to get the I2P out first. I will definitely follow up and get a TAG review filed for <popup>.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDg-DZigH%2BWVTGoBT2xqe4JhNYZgZinGuiUJAEOvZCfPhw%40mail.gmail.com.
Exciting work!!+Noam Rosenthal - who presented to the WebPerf WG on the hurdles of creating such a UI in user land. Would be great to work with Wikimedia folks and other developers who have done similar things to validate the work and ensure it covers their use cases.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAM%3DNeDhHyWB_wW%3D6E_8OSc%2BgkJqD1JOaesr%2BqLkTSzy8V-JQxg%40mail.gmail.com.
On Sun, Jan 24, 2021 at 7:08 PM Yoav Weiss <yo...@yoav.ws> wrote:Exciting work!!+Noam Rosenthal - who presented to the WebPerf WG on the hurdles of creating such a UI in user land. Would be great to work with Wikimedia folks and other developers who have done similar things to validate the work and ensure it covers their use cases.Thanks! I'd love to hear any feedback on the proposal, for sure. There are some tricky issues around the light dismiss behavior, and around animations, plus others. There is an issue list here, in case you'd like to add any questions or feedback.