ladybird/Tests/LibWeb/Text/input/Editing
Jelle Raaijmakers a1467c22d3 LibWeb: Add new whitespace-preserving editing command
Major browsers seem to preserve `white-space: pre/pre-wrap` styles in a
`<div>` when deleting the current selection through an editing command.
The idiomatic way to support this is to have a command with a "relevant
CSS property" to make sure the value is recorded and restored where
appropriate, however, no such command exists.

Create a custom command (internal to Ladybird) that implements this
behavior.
2025-05-17 00:29:19 +02:00
..
beforeinput-event.html LibWeb+LibJS+Tests: Fix typos - act I 2025-04-07 11:22:13 +01:00
execCommand-backColor.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-bold.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-case-insensitivity.html LibWeb: Treat execCommand command names as case insensitive 2025-02-08 07:30:27 -05:00
execCommand-createLink.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-delete.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-fontName.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-fontSize.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-foreColor.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-formatBlock.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-forwardDelete.html LibWeb: Align editing whitespace canonicalization with other browsers 2025-04-29 15:30:34 +02:00
execCommand-indent.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-insertHorizontalRule.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-insertHTML.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-insertImage.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-insertLinebreak.html LibWeb: Do not rely on the layout tree for collapsed line breaks 2025-05-01 15:44:26 +03:00
execCommand-insertOrderedList.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-insertParagraph.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-insertText.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-insertUnorderedList.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-italic.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-justifyCenter.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-justifyFull.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-justifyLeft.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-justifyRight.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-no-recursion.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-outdent.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-preserveWhitespace.html LibWeb: Add new whitespace-preserving editing command 2025-05-17 00:29:19 +02:00
execCommand-removeFormat.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-selectAll.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-strikethrough.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-styleWithCSS.html LibWeb: Add tests for styleWithCSS and useCSS editing commands 2025-05-16 12:07:35 +01:00
execCommand-subscript.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-superscript.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-underline.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-unlink.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
execCommand-useCSS.html LibWeb: Add tests for styleWithCSS and useCSS editing commands 2025-05-16 12:07:35 +01:00
input-event.html LibWeb+LibJS+Tests: Fix typos - act I 2025-04-07 11:22:13 +01:00
input-into-empty-contenteditable.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
move-cursor-using-selection-api.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00
selection-in-contenteditable-crash-regression.html Meta: Add DOCTYPEs to most text tests 2025-03-20 11:50:49 +01:00