1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00
serenity/Userland/Libraries/LibWeb
Sam Atkins 0805060e5e LibWeb: Speed up CSS namespace checking
CSSStyleSheet now caches the CSSNamespaceRule for the default namespace,
which is the only one we currently care about. This saves us from
iterating over its list of rules every time we want to know what that
default namespace is.

The spec dictates that `@namespace` rules are only valid near the start
of a stylesheet, so we also take advantage of that to quit searching
for namespaces as soon as we see a non-import rule.

Also renamed `namespace_filter()` to `default_namespace()` since that's
what it actually returns.

This makes github.com/serenityos/serenity snappy again. :^)
2023-08-01 07:41:06 +02:00
..
ARIA Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Bindings LibWeb: Implement the HostGetImportMetaProperties hook 2023-07-18 17:03:21 +01:00
Cookie Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00
Crypto Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
CSS LibWeb: Speed up CSS namespace checking 2023-08-01 07:41:06 +02:00
DOM LibWeb: Don't assume opacity values are CSS numbers 2023-07-31 09:16:18 +02:00
DOMParsing LibWeb: Don't include DOM/NamedNodeMap.h from DOM/Element.h 2023-05-08 09:29:44 +02:00
Encoding Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Fetch LibWeb: Make Web::URL::host_is_domain accept an AK::URL::Host 2023-07-31 05:18:51 +02:00
FileAPI Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2023-07-15 16:21:29 +02:00
Geometry LibWeb: Implement DOMRect(ReadOnly)#fromRect 2023-07-07 05:27:25 +02:00
HighResolutionTime Everywhere: Use MonotonicTime instead of Duration 2023-05-24 23:18:07 +02:00
HTML LibWeb: Remove unused headers in StructuredSerialize.cpp 2023-07-31 10:41:38 +02:00
Infra LibJS: Make intrinsics getters return NonnullGCPtr 2023-04-13 14:29:42 +02:00
IntersectionObserver LibWeb: Fix incorrectly offset root intersection rectangle for Document 2023-07-11 10:03:49 +02:00
Layout LibWeb: Better handling of floating boxes from inline formatting context 2023-08-01 07:38:19 +02:00
Loader Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
MimeSniff Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
NavigationTiming LibWeb: Specify snake case names for navigation timing entries too 2023-05-13 16:31:10 +02:00
Page LibWeb: Do not fire click event if mouseup/down elements do not match 2023-07-26 05:22:43 +02:00
Painting LibWeb: Convert BorderData::width to CSSPixels 2023-07-30 22:18:26 +01:00
PerformanceTimeline LibWeb: Introduce Performance Timeline and its Performance functions 2023-03-23 21:00:43 +00:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
ReferrerPolicy LibWeb: Add ReferrerPolicy::EmptyString 2023-04-25 12:54:01 +02:00
RequestIdleCallback LibWeb/HTML: Port Window.requestIdleCallback() to IDL 2023-03-07 23:33:34 +00:00
ResizeObserver LibWeb: Make factory method of ResizeObserver::ResizeObserver fallible 2023-02-22 09:55:33 +01:00
Scripts LibWeb: Store stylesheet sources as StringViews 2023-02-19 00:51:16 +01:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibWeb: Make factory method of Selection::Selection fallible 2023-02-22 09:55:33 +01:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
SVG LibWeb: Support legacy xlink:href attribute for linked gradients 2023-07-30 16:06:03 +02:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents LibWeb: Implement KeyboardEvent.location closer to the spec 2023-07-09 06:32:20 +02:00
URL LibWeb: Make Web::URL::host_is_domain accept an AK::URL::Host 2023-07-31 05:18:51 +02:00
UserTiming LibWeb: Implement performance.{measure,clearMeasures} 2023-05-13 16:31:10 +02:00
WebAssembly LibJS+LibWeb: Move IteratorOperations.h AOs to Iterator.h 2023-07-19 14:11:43 +01:00
WebAudio Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
WebDriver Everywhere: Remove 'clang-format off' comments that are no longer needed 2023-07-08 10:32:56 +01:00
WebGL LibWeb: Don't include Layout/Node.h from DOM/Element.h 2023-05-08 09:29:44 +02:00
WebIDL LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
WebSockets Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
XHR AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
XML LibWeb: Detect when an XML document belongs in the SVG namespace 2023-06-09 01:12:48 +02:00
CMakeLists.txt LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
Dump.cpp LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
Dump.h LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
FontCache.cpp LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
FontCache.h LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
Forward.h LibWeb: Add support for "place-items" CSS property 2023-07-17 18:58:05 +02:00
idl_files.cmake LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
Namespace.cpp LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
Namespace.h LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
PixelUnits.cpp LibWeb: Implement subtraction using saturated_addition in CSSPixels 2023-07-25 15:21:40 +02:00
PixelUnits.h LibWeb: Use fixed-point saturated arithmetics for CSSPixels 2023-07-25 11:52:02 +02:00
TreeNode.h LibJS+LibWeb: Move headers around to allow including Value from Cell 2023-01-29 00:02:45 +00:00