mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-17 21:49:42 +00:00
This change separates the steps for checking the string value of the ARIA “role” attribute out from the element.role_or_default() function into a separate function — in order to expose a way to just check if the ARIA “role” attribute actually has a value, without also then computing a default role value if no “role” attribute value was found. Otherwise, without this change, the only available function for retrieving ARIA role values is the element.role_or_default() function — which always does the additional step of computing (and returning) a default role value if no “role” attribute is found. |
||
---|---|---|
.. | ||
AriaData.cpp | ||
AriaData.h | ||
ARIAMixin.cpp | ||
ARIAMixin.h | ||
ARIAMixin.idl | ||
AriaRoles.json | ||
AttributeNames.cpp | ||
AttributeNames.h | ||
Roles.cpp | ||
Roles.h | ||
RoleType.cpp | ||
RoleType.h | ||
StateAndProperties.cpp | ||
StateAndProperties.h |