mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-07 00:29:47 +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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue