LibWeb/HTML: Replace "zero" with "0" in some places

Corresponds to 706b986010
This commit is contained in:
Sam Atkins 2025-07-08 10:34:56 +01:00 committed by Tim Ledbetter
parent e74afec9c5
commit 22cc36eeaa
Notes: github-actions[bot] 2025-07-08 16:11:04 +00:00
3 changed files with 4 additions and 4 deletions

View file

@ -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