mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Hide implementation details of HTMLToken attribute list
Previously, HTMLToken would expose the Vector<Attribute> directly to its users. In preparation for a future change, all users now use implementation-agnostic APIs which do not expose the Vector directly.
This commit is contained in:
committed by
Ali Mohammad Pur
parent
15d8635afc
commit
918bde98b1
@@ -61,7 +61,7 @@ using Token = Web::HTML::HTMLToken;
|
||||
|
||||
#define EXPECT_TAG_TOKEN_ATTRIBUTE_COUNT(count) \
|
||||
VERIFY(last_token.has_value()); \
|
||||
EXPECT_EQ(last_token->attributes().size(), (size_t)count);
|
||||
EXPECT_EQ(last_token->attribute_count(), (size_t)(count));
|
||||
|
||||
static Vector<Token> run_tokenizer(StringView const& input)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user