ladybird/Libraries/LibWeb
sideshowbarker 7a4a9cc7bc LibWeb: Extract ARIA role-attribute checking out from role_or_default()
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.
2024-12-06 18:31:45 +00:00
..
Animations LibWeb: Stop passing Realm unnecessarily to parse CSS properties 2024-12-05 19:59:57 +01:00
ARIA LibWeb: Extract ARIA role-attribute checking out from role_or_default() 2024-12-06 18:31:45 +00:00
Bindings LibWeb: Remove ExceptionOr usage for 'resolve module integrity metadata' 2024-12-04 16:34:13 +00:00
Clipboard LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Compression LibCompress: Don't assume zlib header is available right away 2024-11-18 19:55:46 -05:00
Cookie Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Crypto LibCrypto+LibWeb: Implement ECDSA.sign 2024-12-03 13:20:51 +01:00
CSS LibWeb: Implement popover methods 2024-12-06 12:39:14 +00:00
DOM LibWeb: Improve relList feature detection support 2024-12-06 18:09:53 +00:00
DOMParsing LibWeb: Make Node::is_text() return true for CDATASection nodes 2024-11-19 19:24:37 +00:00
DOMURL LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
Editing LibWeb: Prevent crash when editing outside of <body> 2024-12-04 17:18:00 +01:00
Encoding LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EntriesAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
EventTiming LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Fetch LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
FileAPI LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
Geometry LibWeb: Stop passing Realm unnecessarily to parse CSS properties 2024-12-05 19:59:57 +01:00
HighResolutionTime LibWeb: Use relevant principal settings for HighResolutionTime 2024-11-30 11:55:11 +01:00
HTML LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
IndexedDB AK: Don't implicitly convert Optional<T&> to Optional<T> 2024-12-04 01:58:22 +01:00
Infra LibWeb: Redefine WebIDL types in terms of Infra spec 2024-12-05 17:34:13 +01:00
Internals LibWeb: Add window.internals.getComputedRole(element) 2024-12-06 18:31:45 +00:00
IntersectionObserver LibWeb: Implement more IntersectionObserver attributes 2024-11-23 09:52:32 +01:00
Layout LibWeb/Layout: Add FIXMEs where we're using the wrong font 2024-12-06 02:57:34 +01:00
Loader LibWeb: Properly escape URL on error page 2024-11-17 22:14:14 +01:00
MathML LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaCapabilitiesAPI LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
MediaSourceExtensions LibWeb: Partially implement MediaSource.isTypeSupported() 2024-11-26 23:51:02 +01:00
MimeSniff Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
MixedContent LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
NavigationTiming LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Page LibWeb: Avoid unnecessary Vector copy during find in page queries 2024-11-24 19:28:13 +00:00
Painting LibWeb/Painting: Place text cursor using GlyphRun font 2024-12-06 02:57:34 +01:00
PerformanceTimeline LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
PermissionsPolicy Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Platform LibGfx+LibWeb: Do some color management on images with an ICC profile 2024-12-05 17:16:41 +01:00
ReferrerPolicy LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
RequestIdleCallback LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
ResizeObserver LibWeb: Make CallbackType take a realm instead of settings object 2024-11-20 18:01:21 -07:00
SecureContexts LibURL: Migrate Origin scheme from ByteString to String 2024-11-30 12:07:39 +01:00
Selection LibWeb: Make Selection APIs throw on DocumentType node inputs 2024-11-16 14:39:55 +01:00
ServiceWorker LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
SRI Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
StorageAPI LibWeb: Const qualify many functions in EnvironmentSettingsObject 2024-11-23 16:43:55 +01:00
Streams LibWeb: Commit pull-into descriptors after filling from queue 2024-12-05 13:03:12 -05:00
SVG LibWeb: Add CanvasImageSource to ImageBitmapSource typedef 2024-12-06 13:10:27 +00:00
UIEvents LibWeb: Add definitions for PointerEvent event handlers 2024-11-22 14:33:58 +01:00
UserTiming LibWeb: Default initialize StructuredDeserialize memory argument 2024-11-23 16:43:55 +01:00
WebAssembly LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
WebAudio LibWeb: Add ChannelMergerNode interface 2024-11-25 17:16:06 +01:00
WebDriver LibWeb: Delegate painting surface allocation to canvas's active context 2024-12-03 23:35:45 +01:00
WebGL LibWeb/WebGL: Don't crash on unknown getParameter on the context 2024-12-06 15:35:36 +01:00
WebIDL LibWeb: Redefine WebIDL types in terms of Infra spec 2024-12-05 17:34:13 +01:00
WebSockets LibURL+LibWeb: Make URL::serialize return a String 2024-12-04 16:34:13 +00:00
WebVTT LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00
Worker LibIPC: Remove socket path from IPC Client connections 2024-11-26 11:00:48 +01:00
XHR LibURL: Replace Host's Empty state with making Url's Host optional 2024-11-30 12:07:39 +01:00
XLink Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
XML LibWeb: Do not give the HTML namespace to elements when parsing XML 2024-11-27 17:10:32 +01:00
CMakeLists.txt LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
Dump.cpp LibWeb: Recurse into NavigableContentViewport in layout dumps 2024-11-26 18:32:48 +01:00
Dump.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Forward.h LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
idl_files.cmake LibWeb: Add stubbed-out WebGL2RenderingContext 2024-12-06 15:35:36 +01:00
InvalidateDisplayList.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Namespace.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
Namespace.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PixelUnits.cpp Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
PixelUnits.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TraversalDecision.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TraversalOrder.h Everywhere: Hoist the Libraries folder to the top-level 2024-11-10 12:50:45 +01:00
TreeNode.h LibGC+Everywhere: Factor out a LibGC from LibJS 2024-11-15 14:49:20 +01:00