implement popover light dismiss
Categories
(Core :: DOM: Core & HTML, enhancement)
Tracking
()
People
(Reporter: surkov, Assigned: surkov)
References
(Depends on 1 open bug, Blocks 1 open bug, Regressed 1 open bug)
Details
Attachments
(13 files, 2 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
here's relevant spec part https://html.spec.whatwg.org/multipage/popover.html#popover-light-dismiss
Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/dee2dc3c9b83 implement auto popover list, r=emilio
Comment 3•1 year ago
|
||
bugherder |
Assignee | ||
Comment 4•1 year ago
|
||
more patches are coming
Updated•1 year ago
|
Assignee | ||
Comment 5•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/34b104a10e48 implement "hide all popovers unitl" algorithm, r=emilio
Comment 7•1 year ago
|
||
bugherder |
Assignee | ||
Comment 8•1 year ago
|
||
Updated•1 year ago
|
Updated•1 year ago
|
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/2622ca0f5a6c implement the nearest inclusive open popover algorithm, r=emilio
Comment 10•1 year ago
|
||
bugherder |
Assignee | ||
Comment 11•1 year ago
|
||
Assignee | ||
Updated•1 year ago
|
Comment 12•1 year ago
|
||
Comment on attachment 9324239 [details]
WIP: Bug 1821732 - support PopoverInvokerElement
Revision D173180 was moved to bug 1823757. Setting attachment 9324239 [details] to obsolete.
Assignee | ||
Comment 13•1 year ago
|
||
Comment 14•1 year ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/41dd97c2aeaf implement nearest invlusive target popover for invoker alg, r=emilio
Comment 15•1 year ago
|
||
bugherder |
Assignee | ||
Comment 16•1 year ago
|
||
See https://html.spec.whatwg.org/multipage/popover.html#topmost-clicked-popover spec.
In support of popover light dismiss, see
https://html.spec.whatwg.org/multipage/popover.html#popover-light-dismiss
Comment 17•1 year ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a3a7ad63c14a implement the topmost clicked popover algorithm, r=emilio
Comment 18•1 year ago
|
||
bugherder |
Assignee | ||
Comment 19•1 year ago
|
||
Comment 20•1 year ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/c82f0271d0f6 implement get popover target alg, r=emilio
Comment 21•1 year ago
|
||
bugherder |
Assignee | ||
Comment 22•1 year ago
|
||
Updated•1 year ago
|
Assignee | ||
Comment 23•1 year ago
|
||
Comment 24•1 year ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/bdf80a0626c0 polyfill the declarative shadow DOM feature in popover-light-dismiss.html test, r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/39910 for changes under testing/web-platform/tests
Comment 26•1 year ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Assignee | ||
Comment 28•11 months ago
|
||
Temporary auto popover list variable is freed while it's used for mozilla::Reversed, thus
GetTopmostClickedPopover comparisment fails.
Comment 29•11 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/4b1185a310de GetTopmostClickedPopover fails to return a popover, r=emilio
Comment 30•11 months ago
|
||
bugherder |
Assignee | ||
Comment 31•11 months ago
|
||
Actions don't drop their state on send, subsequent send() call retriggers the whole sequence
which may lead to unexpected errors, see https://github.com/web-platform-tests/wpt/issues/40062
Comment 32•11 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/e6916184642e popover-light-dismiss tests shouldn't reuse existing actions, r=emilio
Comment 33•11 months ago
|
||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40179 for changes under testing/web-platform/tests
Comment 34•11 months ago
|
||
bugherder |
Comment 35•11 months ago
|
||
Upstream PR merged by moz-wptsync-bot
Assignee | ||
Comment 36•11 months ago
|
||
This is a followup fix for https://phabricator.services.mozilla.com/D178535
Comment 37•11 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/0f52c6760d33 fix 'Popovers close on pointerup, not pointerdown' test in popover_light_dismiss.html, r=emilio
Comment 38•11 months ago
|
||
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/40200 for changes under testing/web-platform/tests
Assignee | ||
Comment 39•11 months ago
|
||
Internal wpt webdriver error may cause get_context call for an object in the case,
for example, of subsequent sending of the webdriver actions, which alters action origin
from an element to an object.
Assignee | ||
Comment 40•11 months ago
|
||
Promise reject should always go with an Error object because unhandled
promise throws the given value.
If webdriver action fails, then it prints stack in terminal and all the wpt testsuite
has is {status:error} object with no context. The given data has no |message|
field either so the promise is rejected with 'error: undefined' string which makes
a very misterious error. Throwing a real error with a good message gives a stack
and a hint how to debug the failure.
Comment 41•11 months ago
|
||
bugherder |
Comment 42•11 months ago
|
||
Upstream PR merged by moz-wptsync-bot
Updated•11 months ago
|
Assignee | ||
Comment 43•10 months ago
|
||
HTML anchor is a separate spec from popover spec and they should be tested
independently. Having unitary testing for different spec helps to uncover bugs
easily as well as it helpful to test one spec while the other one is not yet
implemented. Now popover-light-dismiss test is neary useless if anchor spec is
not implemented, because the test just fails.
If integration tests to cover popover and anchor specs are needed, they should
be added separately.
Updated•10 months ago
|
Updated•10 months ago
|
Updated•10 months ago
|
Updated•9 months ago
|
Updated•9 months ago
|
Comment 44•9 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/63f48f5eacea popover-light-dismiss test should have no dependency on anchor r=mbrodesser-Igalia,emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/41189 for changes under testing/web-platform/tests
Comment 46•9 months ago
|
||
Backed out for causing failures on popover-light-dismiss-with-anchor.tentative.html
Upstream PR was closed without merging
Updated•9 months ago
|
Updated•9 months ago
|
Comment 48•9 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/80431152bbf5 popover-light-dismiss test should have no dependency on anchor r=mbrodesser-Igalia,emilio
Comment 49•9 months ago
|
||
Backed out for causing failures on popover-light-dismiss.html
- backout: https://hg.mozilla.org/integration/autoland/rev/2948f67bdb67c3681daf7b86428ddb74f2612477
- push: https://treeherder.mozilla.org/jobs?repo=autoland&group_state=expanded&revision=80431152bbf51f98db6263984c84c766bb464440
- failure log: https://treeherder.mozilla.org/logviewer?job_id=424075023&repo=autoland&lineNumber=4407
[task 2023-07-27T20:27:07.975Z] 20:27:07 INFO - TEST-PASS | /html/semantics/popovers/popover-light-dismiss.html | Scrolling within a popover should not close the popover
[task 2023-07-27T20:27:07.975Z] 20:27:07 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-light-dismiss.html | Clicking inside a shadow DOM popover does not close that popover - expected FAIL
[task 2023-07-27T20:27:07.976Z] 20:27:07 INFO - TEST-INFO | expected FAIL
[task 2023-07-27T20:27:07.981Z] 20:27:07 INFO - .........
[task 2023-07-27T20:27:07.982Z] 20:27:07 INFO - TEST-OK | /html/semantics/popovers/popover-light-dismiss.html | took 4114ms
Upstream PR was closed without merging
Comment 51•9 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a0effe93b699 popover-light-dismiss test should have no dependency on anchor r=mbrodesser-Igalia,emilio
Comment 52•9 months ago
|
||
bugherder |
Assignee | ||
Updated•9 months ago
|
Upstream PR merged by moz-wptsync-bot
Comment 54•7 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/4d64571ef929 implement light dismiss open popovers on pointer events, r=smaug
Comment 55•7 months ago
|
||
Backed out for popovers related unexpected passes.
Failure log: https://treeherder.mozilla.org/logviewer?job_id=430452286&repo=autoland
Backout link: https://hg.mozilla.org/integration/autoland/rev/ddf1641161472c3988d14e919e61e23f57fe3f8d
Full list of unexpected passes:
13795 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: pointerdown, capture: true - expected FAIL
13798 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: pointerup, capture: true - expected FAIL
13801 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: mousedown, capture: true - expected FAIL
13804 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: mouseup, capture: true - expected FAIL
13807 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: click, capture: true - expected FAIL
13810 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: pointerdown, capture: false - expected FAIL
13813 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: pointerup, capture: false - expected FAIL
13816 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: mousedown, capture: false - expected FAIL
13819 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: mouseup, capture: false - expected FAIL
13822 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the interactions between popover light dismiss and pointer/mouse events. eventName: click, capture: false - expected FAIL
13825 07:22:25 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/light-dismiss-event-ordering.html | Tests the order of pointer/mouse events during popover light dismiss. - expected FAIL
14043 07:22:39 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-attribute-basic.html | Changing a popover from auto to manual (via attr), and then auto during 'beforetoggle' works - expected FAIL
14050 07:22:39 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-attribute-basic.html | Changing a popover from auto to invalid (via attr), and then auto during 'beforetoggle' works - expected FAIL
14057 07:22:39 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-attribute-basic.html | Changing a popover from auto to null (via attr), and then auto during 'beforetoggle' works - expected FAIL
14089 07:22:39 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-attribute-basic.html | Changing a popover from manual to auto (via attr), and then auto during 'beforetoggle' works - expected FAIL
14122 07:22:39 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-attribute-basic.html | Changing a popover from auto to manual (via idl), and then auto during 'beforetoggle' works - expected FAIL
14129 07:22:39 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-attribute-basic.html | Changing a popover from auto to invalid (via idl), and then auto during 'beforetoggle' works - expected FAIL
14182 07:22:39 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-attribute-basic.html | Changing a popover from manual to auto (via idl), and then auto during 'beforetoggle' works - expected FAIL
15136 07:23:55 WARNING - ValueError: Selector '#\69 \6e \6e \65 \72 \50 \6f \70 \6f \76 \65 \72 \54 \6f \67 \67 \6c \65 ' matches no elements
15293 07:23:59 INFO - TEST-UNEXPECTED-PASS | /html/semantics/popovers/popover-light-dismiss-with-anchor.tentative.html | Clicking on anchor element (that isn't an invoking element) shouldn't prevent its popover from being closed - expected FAIL
Comment 56•7 months ago
|
||
Backout by csabou@mozilla.com: https://hg.mozilla.org/mozilla-central/rev/583f2081d1ac Backed out changeset 4d64571ef929 for popovers related unexpected passes. CLOSED TREE
Comment 57•7 months ago
|
||
Pushed by surkov.alexander@gmail.com: https://hg.mozilla.org/integration/autoland/rev/47cc6b5e8fa4 implement light dismiss open popovers on pointer events, r=smaug
Comment 58•7 months ago
|
||
bugherder |
Assignee | ||
Comment 59•7 months ago
|
||
marking as fixed, bug 1836263 will handle esc key.
Updated•7 months ago
|
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/42211 for changes under testing/web-platform/tests
Upstream PR merged by moz-wptsync-bot
Description
•