mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 17:04:59 +00:00
LibWeb: User getter+setter for HTMLToken tag name and self-closing flag
This commit is contained in:
parent
1aeafcc58b
commit
15d8635afc
4 changed files with 34 additions and 22 deletions
|
@ -40,7 +40,7 @@ String HTMLToken::to_string() const
|
|||
|
||||
if (type() == HTMLToken::Type::StartTag || type() == HTMLToken::Type::EndTag) {
|
||||
builder.append(" { name: '");
|
||||
builder.append(m_tag.tag_name);
|
||||
builder.append(tag_name());
|
||||
builder.append("', { ");
|
||||
for (auto& attribute : m_tag.attributes) {
|
||||
builder.append(attribute.local_name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue