Bug 297090
| Summary: | [WPE] <dialog> does not close if "Escape" is pressed inside a "contenteditable" element | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> |
| Component: | WPE WebKit | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | aperez, bugs-noreply, cgarcia, ntim, spena |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
Yury Semikhatsky
Steps to reproduce:
1. Open attached page
2. Put focus inside the contenteditable field
3. Press "Escape"
Expected:
The dialog is closed.
Actual:
The dialog stays open.
Works fine on GTK and other platforms.
Originally reported in Playwright: https://github.com/microsoft/playwright/issues/36727
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Tim Nguyen (:ntim)
*** This bug has been marked as a duplicate of bug 297091 ***
Yury Semikhatsky
Oops, apparently it created a few bug reports when I clicked back to reattach the file, sorry about that.
Carlos Garcia Campos
If this only happens in MiniBroweser this regressed in 298279@main because Escape is always claimed to be handled by MiniBrowser so the key event is not passed to webkit.