mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-18 23:12:02 +00:00
LibWeb+LibGfx: Apply editorial punctuation/whitespace/markup fixes
Corresponds tod426109ea1
andfd08f81d06
This commit is contained in:
parent
a35d14eab3
commit
423cdd447d
Notes:
github-actions[bot]
2025-06-24 15:13:34 +00:00
Author: https://github.com/AtkinsSJ
Commit: 423cdd447d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5194
Reviewed-by: https://github.com/shannonbooth ✅
35 changed files with 108 additions and 103 deletions
|
@ -738,7 +738,7 @@ void FormAssociatedTextControlElement::set_the_selection_range(Optional<WebIDL::
|
|||
auto new_selection_start = AK::min(start.value(), relevant_value_length);
|
||||
auto new_selection_end = AK::min(end.value(), relevant_value_length);
|
||||
|
||||
// If end is less than or equal to start then the start of the selection and the end of the
|
||||
// If end is less than or equal to start, then the start of the selection and the end of the
|
||||
// selection must both be placed immediately before the character with offset end. In UAs
|
||||
// where there is no concept of an empty selection, this must set the cursor to be just
|
||||
// before the character with offset end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue