mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 03:27:44 +00:00
LibWeb: Build out the ARIA role model
We now have implemented the ARIA role model. These classes will control which states and properties are exposed to end users.
This commit is contained in:
parent
125792e5ff
commit
e9840bfd4e
6 changed files with 4956 additions and 0 deletions
|
@ -5,6 +5,7 @@ set(SOURCES
|
|||
ARIA/ARIAMixin.cpp
|
||||
ARIA/ARIAMixin.idl
|
||||
ARIA/Roles.cpp
|
||||
ARIA/RoleType.cpp
|
||||
ARIA/StateAndProperties.cpp
|
||||
Bindings/AudioConstructor.cpp
|
||||
Bindings/HostDefined.cpp
|
||||
|
@ -593,9 +594,19 @@ set(SOURCES
|
|||
XML/XMLDocumentBuilder.cpp
|
||||
)
|
||||
|
||||
invoke_generator(
|
||||
"AriaRoles.cpp"
|
||||
Lagom::GenerateAriaRoles
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/ARIA/AriaRoles.json"
|
||||
"ARIA/AriaRoles.h"
|
||||
"ARIA/AriaRoles.cpp"
|
||||
arguments -j "${CMAKE_CURRENT_SOURCE_DIR}/ARIA/AriaRoles.json"
|
||||
)
|
||||
|
||||
generate_css_implementation()
|
||||
|
||||
set(GENERATED_SOURCES
|
||||
ARIA/AriaRoles.cpp
|
||||
CSS/DefaultStyleSheetSource.cpp
|
||||
CSS/Enums.cpp
|
||||
CSS/MediaFeatureID.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue