mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Add almost all obsolete but required IDL attributes
As according to https://html.spec.whatwg.org/multipage/obsolete.html Section 16.3 "Requirements for implementations" Not all of these attributes are included due to requiring a bit more functionality.
This commit is contained in:
@@ -48,10 +48,11 @@ ENUMERATE_HTML_ATTRIBUTES
|
||||
ENUMERATE_HTML_ATTRIBUTES
|
||||
#undef __ENUMERATE_HTML_ATTRIBUTE
|
||||
|
||||
// NOTE: Special case for the class and for attributes since they're C++ keywords.
|
||||
// NOTE: Special cases for C++ keywords.
|
||||
class_ = "class";
|
||||
for_ = "for";
|
||||
default_ = "default";
|
||||
char_ = "char";
|
||||
|
||||
// NOTE: Special cases for attributes with dashes in them.
|
||||
accept_charset = "accept-charset";
|
||||
|
||||
Reference in New Issue
Block a user