LibWeb+LibGfx: Apply editorial punctuation/whitespace/markup fixes

Corresponds to d426109ea1
and fd08f81d06
This commit is contained in:
Sam Atkins 2025-06-24 11:18:14 +01:00 committed by Shannon Booth
commit 423cdd447d
Notes: github-actions[bot] 2025-06-24 15:13:34 +00:00
35 changed files with 108 additions and 103 deletions

View file

@ -49,7 +49,7 @@ Optional<CSS::Keyword> HTMLFontElement::parse_legacy_font_size(StringView string
lexer.consume();
}
// 6. Collect a sequence of code points that are ASCII digits from input given position, and let the resulting sequence be digits.
// 6. Collect a sequence of code points that are ASCII digits from input given position, and let digits be the resulting sequence.
size_t start_index = lexer.tell();
lexer.consume_while(is_ascii_digit);
size_t end_index = lexer.tell();
@ -77,7 +77,7 @@ Optional<CSS::Keyword> HTMLFontElement::parse_legacy_font_size(StringView string
if (value < 1)
value = 1;
// 12. Set 'font-size' to the keyword corresponding to the value of value according to the following table:
// 12. Set the 'font-size' property to the keyword corresponding to the value of value according to the following table:
switch (value) {
case 1:
return CSS::Keyword::XSmall;