mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibWeb: Implement custom element name validation
This commit is contained in:
parent
149e442c24
commit
f2dd878fe7
3 changed files with 92 additions and 0 deletions
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2023, Srikavin Ramkumar <me@srikavin.me>
|
||||
*
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <AK/StringView.h>
|
||||
|
||||
namespace Web::HTML {
|
||||
|
||||
bool is_valid_custom_element_name(StringView name);
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue