mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-25 20:22:18 +03:00
LibWeb: Fix typo in SVG attribute parser method name
This commit is contained in:
parent
c1b1233575
commit
a55394c383
Notes:
sideshowbarker
2024-07-17 18:13:59 +09:00
Author: https://github.com/tcl3 Commit: https://github.com/SerenityOS/serenity/commit/a55394c383 Pull-request: https://github.com/SerenityOS/serenity/pull/23646
@ -262,7 +262,7 @@ void AttributeParser::parse_elliptical_arc()
|
||||
parse_whitespace();
|
||||
|
||||
while (true) {
|
||||
m_instructions.append({ PathInstructionType::EllipticalArc, absolute, parse_elliptical_arg_argument() });
|
||||
m_instructions.append({ PathInstructionType::EllipticalArc, absolute, parse_elliptical_arc_argument() });
|
||||
if (match_comma_whitespace())
|
||||
parse_comma_whitespace();
|
||||
if (!match_coordinate())
|
||||
@ -342,7 +342,7 @@ Vector<float> AttributeParser::parse_coordinate_pair_triplet()
|
||||
return coordinates;
|
||||
}
|
||||
|
||||
Vector<float> AttributeParser::parse_elliptical_arg_argument()
|
||||
Vector<float> AttributeParser::parse_elliptical_arc_argument()
|
||||
{
|
||||
Vector<float> numbers;
|
||||
numbers.append(parse_number());
|
||||
|
@ -180,7 +180,7 @@ private:
|
||||
Vector<Vector<float>> parse_coordinate_pair_sequence();
|
||||
Vector<float> parse_coordinate_pair_double();
|
||||
Vector<float> parse_coordinate_pair_triplet();
|
||||
Vector<float> parse_elliptical_arg_argument();
|
||||
Vector<float> parse_elliptical_arc_argument();
|
||||
void parse_whitespace(bool must_match_once = false);
|
||||
void parse_comma_whitespace();
|
||||
float parse_number();
|
||||
|
Loading…
Reference in New Issue
Block a user