1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00
serenity/Userland/Libraries
Max Wipfli 9440a3c280 LibWeb: Improve Unicode compatibility of HTML contenteditable
This patch updates the Page::keydown_event event handler to implement
crude Unicode support. It implements new method in EditEventHandler to
more easily handle deleting a single character after the cursor.
Furthermore, it makes use of the previously implemented methods to
increment and decrement the cursor position, which take into account
that Unicode codepoint may be multiple bytes wide.

This means it is now possible to mostly edit Unicode in editable DOM
nodes without any crashes. :^)
2021-05-21 21:57:03 +02:00
..
LibArchive LibArchive: Move method implementations away from header 2021-05-17 18:14:05 +01:00
LibAudio LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibC Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
LibChess LibChess: Fixed PGN export bug (#7300) 2021-05-20 08:32:19 +02:00
LibCompress LibCompress: Discard GZip NAME & COMMENT optional strings 2021-05-18 08:09:21 +02:00
LibCore LibGfx: Add missing TextAlignment::BottomLeft 2021-05-21 08:04:31 +02:00
LibCoreDump Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
LibCpp LibCpp: Add regression tests for the parser 2021-05-19 23:19:07 +02:00
LibCrypt Everywhere: Add a blank line after copyright header where missing 2021-05-15 00:27:09 +01:00
LibCrypto LibCrypto: Use the new return-from-Variant::visit() mechanism 2021-05-19 22:45:34 +02:00
LibDebug Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibDesktop Userland: Add try_* IPC handlers 2021-05-03 21:14:40 +02:00
LibDiff LibDiff: Convert StringBuilder::appendf() => AK::Format 2021-05-07 21:12:09 +02:00
LibDl Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibELF LibELF: Fix an integer overflow in Image::find_sorted_symbol 2021-05-17 14:58:13 +02:00
LibGemini AK+Userland: Remove nullability feature for the ByteBuffer type 2021-05-16 17:49:42 +02:00
LibGfx LibGfx+WindowServer: Have WindowServer broadcast system font settings 2021-05-21 20:15:51 +02:00
LibGL LibGL: Implement glHint() 2021-05-20 23:29:56 +02:00
LibGUI WindowServer+LibGUI: Add an IPC API to change the current system fonts 2021-05-21 20:15:51 +02:00
LibHTTP LibHTTP: Relax the assertion on extra reads after transfer is finished 2021-05-19 23:57:04 +02:00
LibImageDecoderClient LibImageDecoderClient: Decoded images with 0 frames are not successful 2021-05-14 21:02:14 +02:00
LibIPC Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibJS LibJS: Fix indexed access of TypedArray with byte offset 2021-05-21 19:29:23 +01:00
LibKeyboard LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibLine Everywhere: Add missing includes for <AK/OwnPtr.h> 2021-05-19 21:36:57 +02:00
LibM Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
LibMarkdown LibMarkdown: Wrap code block language string in escape_html_entities() 2021-05-19 23:31:00 +01:00
LibPCIDB Everywhere: "file name" => "filename" 2021-04-29 22:16:18 +02:00
LibPDF LibPDF/PDFViewer: Support rotated pages 2021-05-18 16:35:23 +02:00
LibProtocol Userland: Make IPC results with one return value available directly 2021-05-03 21:14:40 +02:00
LibPthread Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
LibRegex Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
LibSQL Everywhere: Fix a bunch of typos 2021-05-17 17:48:55 +01:00
LibSymbolClient LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibSyntax LibWeb: Add a super basic HTML syntax highlighter 2021-05-20 22:06:45 +02:00
LibSystem Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LibTest LibJS+LibTest: Move out the test-js test runner into LibTest 2021-05-18 18:48:15 +01:00
LibTextCodec LibTextCodec: Use Optional<String> for get_standardized_encoding 2021-05-18 21:02:07 +02:00
LibThread LibThread: Port Lock to foreign environments 2021-05-14 22:24:02 +02:00
LibTLS LibTLS: Enable the RSA_WITH_AES_256_GCM_SHA384 cipher 2021-05-19 09:18:45 +02:00
LibTTF LibCore+Everywhere: Move OpenMode out of IODevice 2021-05-12 11:00:45 +01:00
LibVT Applications: Use titlecase and distinct underlined characters in menus 2021-05-21 18:41:28 +01:00
LibWasm LibWasm: Print instruction arguments too 2021-05-21 00:15:23 +01:00
LibWeb LibWeb: Improve Unicode compatibility of HTML contenteditable 2021-05-21 21:57:03 +02:00
LibWebSocket LibWebSocket: Fixed occasional infinite loop with TLS sockets 2021-05-18 08:07:56 +02:00
LibX86 Revert "Userland: static vs non-static constexpr variables" 2021-05-21 10:30:52 +01:00
CMakeLists.txt LibPDF: Create basic object structure 2021-05-10 10:32:39 +02:00