mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-17 22:41:54 +00:00
LibWeb/HTML: Replace "zero" with "0" in some places
Corresponds to 706b986010
This commit is contained in:
parent
e74afec9c5
commit
22cc36eeaa
Notes:
github-actions[bot]
2025-07-08 16:11:04 +00:00
Author: https://github.com/AtkinsSJ
Commit: 22cc36eeaa
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5353
Reviewed-by: https://github.com/tcl3 ✅
3 changed files with 4 additions and 4 deletions
|
@ -743,10 +743,10 @@ WebIDL::ExceptionOr<void> FormAssociatedTextControlElement::set_selection_range(
|
|||
// https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#set-the-selection-range
|
||||
void FormAssociatedTextControlElement::set_the_selection_range(Optional<WebIDL::UnsignedLong> start, Optional<WebIDL::UnsignedLong> end, SelectionDirection direction, SelectionSource source)
|
||||
{
|
||||
// 1. If start is null, let start be zero.
|
||||
// 1. If start is null, let start be 0.
|
||||
start = start.value_or(0);
|
||||
|
||||
// 2. If end is null, let end be zero.
|
||||
// 2. If end is null, let end be 0.
|
||||
end = end.value_or(0);
|
||||
|
||||
// 3. Set the selection of the text control to the sequence of code units within the relevant
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue