mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 10:47:35 +00:00
LibWeb: Run the unfocusing steps when a click does not focus anything
For example, when clicking the document body outside of a focused input element, we should unfocus that element.
This commit is contained in:
parent
48240a6fc3
commit
fd297a3248
6 changed files with 42 additions and 0 deletions
2
Tests/LibWeb/Text/expected/input-click-to-unfocus.txt
Normal file
2
Tests/LibWeb/Text/expected/input-click-to-unfocus.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
focus
|
||||
blur
|
Loading…
Add table
Add a link
Reference in a new issue