fix: navigator.keyboard.lock()
fullscreen exit handling (#40365)
fix: navigator.keyboard.lock() fullscreen exit handling
This commit is contained in:
parent
4b1c31e4db
commit
fcdd5cba71
5 changed files with 86 additions and 16 deletions
26
spec/fixtures/pages/modal.html
vendored
Normal file
26
spec/fixtures/pages/modal.html
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<body>
|
||||
<dialog id="favDialog">
|
||||
<form>
|
||||
<p>
|
||||
<label>
|
||||
Favorite animal:
|
||||
<select>
|
||||
<option value="default">Choose…</option>
|
||||
<option>Brine shrimp</option>
|
||||
<option>Red panda</option>
|
||||
<option>Spider monkey</option>
|
||||
</select>
|
||||
</label>
|
||||
</p>
|
||||
<div>
|
||||
<button value="cancel" formmethod="dialog">Cancel</button>
|
||||
<button id="confirmBtn" value="default">Confirm</button>
|
||||
</div>
|
||||
</form>
|
||||
</dialog>
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue