1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

LibWeb: Implement custom element name validation

This commit is contained in:
Srikavin Ramkumar 2023-03-23 04:27:18 -04:00 committed by Tim Flynn
parent 149e442c24
commit f2dd878fe7
3 changed files with 92 additions and 0 deletions

View file

@ -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);
}