New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Popup] The definition of "ancestral element" might have some issues #463
Comments
With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72
With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244}
With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244}
With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244}
…n up ancestor walk, a=testonly Automatic update from web-platform-tests Add "popup" invoking attribute, and clean up ancestor walk With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244} -- wpt-commits: bdd414e6a1e9b4ac92cbe7f0d0dd26743ebdf674 wpt-pr: 28222
…n up ancestor walk, a=testonly Automatic update from web-platform-tests Add "popup" invoking attribute, and clean up ancestor walk With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244} -- wpt-commits: bdd414e6a1e9b4ac92cbe7f0d0dd26743ebdf674 wpt-pr: 28222
…n up ancestor walk, a=testonly Automatic update from web-platform-tests Add "popup" invoking attribute, and clean up ancestor walk With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244} -- wpt-commits: bdd414e6a1e9b4ac92cbe7f0d0dd26743ebdf674 wpt-pr: 28222
…n up ancestor walk, a=testonly Automatic update from web-platform-tests Add "popup" invoking attribute, and clean up ancestor walk With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244} -- wpt-commits: bdd414e6a1e9b4ac92cbe7f0d0dd26743ebdf674 wpt-pr: 28222
When we discussed this a couple weeks ago, we were able to simplify "c) through any of its invoking elements" in that we only care about the element that actually invoked the given IIRC the other thing we wanted to do here was to confirm in Open UI with web developers that it's actually necessary to maintain this sense of ancestry through the @mfreed7 anything else I'm missing that's unresolved? |
Given the elapsed time, and lack of response on the concluding question to @mfreed7, I'm going to assume that it's been resolved or overtaken by events. If not, please re-file in the OpenUI CG's issue list: https://github.com/openui/open-ui/issues. Thanks! |
With this CL, the "popup" attribute can be used on <button> elements only, to invoke a popup. Additional elements (e.g. <input type=button>, other input types, etc.) will be added in subsequent CLs. In addition, this CL adds storage of all invoking elements on each <popup>, so that invokers can be checked in the ancestral popup walk. No code has been added yet to populate this vector, since it is still up in the air [1] whether this should be part of the behavior, and it is a bit complicated to maintain this linkage. [1] MicrosoftEdge/MSEdgeExplainers#463 Bug: 1168738 Change-Id: I62af6e7655ad67540082b5a796f8390e4a890f72 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2780636 Auto-Submit: Mason Freed <masonf@chromium.org> Reviewed-by: Ionel Popescu <iopopesc@microsoft.com> Commit-Queue: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/master@{#867244} GitOrigin-RevId: 6ac96e09f70ae2d3bf03abb1221bd8e564a5cdc0
In implementing the updated proposal which includes the "popup" attribute, I've come across some issues with the way "ancestral elements" are defined and used. For reference, here's that definition:
My issues/questions:
Basically, given #3, I'm really curious to hear use cases for #2. If there aren't any really good ones, I'd lobby to remove c) entirely.
The text was updated successfully, but these errors were encountered: