1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:17:35 +00:00
serenity/Userland/Libraries/LibWeb
Sam Atkins 8fd4678e79 LibWeb: Parse comma-separated lists for most background properties
We now can parse lists of values for these properties:
- `background-attachment`
- `background-clip`
- `background-image`
- `background-origin`
- `background-position`
- `background-repeat`
- `background-size`

This uses two new Parser methods:
`parse_simple_comma_separated_value_list()` for the simple case when
each value is parsed from a single token; and
`parse_comma_separated_value_list()` which takes a lambda for when
parsing each value is more involved.

This also means that any unconsumed tokens at the end will make the
parsing fail as it should, where previously we just ignored them.
2021-11-17 22:20:01 +01:00
..
Bindings LibWeb: Convert throw_dom_exception_if_needed() to ThrowCompletionOr 2021-10-31 18:51:07 +01:00
Cookie AK+Everywhere: Stop including Vector.h from StringView.h 2021-11-10 21:58:58 +01:00
Crypto LibWeb: Add the Web::Crypto namespace, built-in, and getRandomValues 2021-09-30 20:02:09 +02:00
CSS LibWeb: Parse comma-separated lists for most background properties 2021-11-17 22:20:01 +01:00
DOM AK: Convert AK::Format formatting helpers to returning ErrorOr<void> 2021-11-17 00:21:13 +01:00
DOMParsing LibWeb: Clean up static function in header 2021-10-06 23:52:40 +01:00
DumpLayoutTree Everywhere: Remove unused ArgsParser header 2021-11-01 21:12:58 +01:00
Geometry LibWeb: Add DOMRectReadOnly and make DOMRect inherit from it 2021-10-08 23:00:49 +02:00
HighResolutionTime LibWeb: Provide a default DOM::EventTarget::dispatch_event() 2021-09-25 23:36:43 +02:00
HTML LibWeb: Allow setting the width & height properties on <canvas> elements 2021-11-13 00:55:07 +01:00
IntersectionObserver LibWeb: Stub out a basic IntersectionObserver interface 2021-10-14 10:32:51 +02:00
Layout Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Loader Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
NavigationTiming Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Page Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Painting LibGfx: Use ErrorOr<T> for Bitmap::try_create() 2021-11-08 00:35:27 +01:00
RequestIdleCallback LibWeb: Add the IdleDeadline interface from the RequestIdleCallback spec 2021-09-17 13:20:18 +02:00
ResizeObserver LibWeb: Stub out a basic ResizeObserver interface 2021-10-11 00:54:01 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Stub out a basic Selection interface 2021-10-11 00:32:19 +02:00
SVG LibWeb: Start work towards modern CSS "display" values 2021-10-06 19:12:52 +02:00
Tests LibWeb: Add support HTMLScriptElement.supports 2021-09-03 23:11:58 +02:00
UIEvents LibWeb: Change the type of MouseEvent members to double 2021-10-01 20:14:45 +02:00
URL Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
WebAssembly LibWeb: Implement WebAssembly::validate() 2021-11-11 09:20:04 +01:00
XHR LibWeb: Don't send a request body in XMLHttpRequest GET or HEAD 2021-10-04 00:06:48 +02:00
CMakeLists.txt LibWeb: Add Web::CSS::PreferredColorScheme enum 2021-10-31 18:39:13 +01:00
DOMTreeModel.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
DOMTreeModel.h AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional) 2021-11-17 00:21:10 +01:00
Dump.cpp LibWeb: Include flex-direction in layout tree dumps 2021-10-21 16:48:24 +02:00
Dump.h LibWeb: Implement @supports rule :^) 2021-10-08 23:02:57 +02:00
FontCache.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontCache.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibWeb: Add NodeWithStyleAndBoxModelMetrics to Forward.h 2021-11-17 22:20:01 +01:00
InProcessWebView.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
InProcessWebView.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
Namespace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Namespace.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Origin.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
OutOfProcessWebView.cpp Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
OutOfProcessWebView.h Everywhere: Pass AK::StringView by value 2021-11-11 01:27:46 +01:00
QualifiedName.h LibWeb: Use HTML-uppercased qualified name for the Element node name 2021-05-04 23:24:03 +01:00
StylePropertiesModel.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StylePropertiesModel.h AK: Make JSON parser return ErrorOr<JsonValue> (instead of Optional) 2021-11-17 00:21:10 +01:00
TreeNode.h LibWeb: Allow Document::ref() when ref-count is zero 2021-10-03 16:42:34 +02:00
WebContentClient.cpp LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
WebContentClient.h LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
WebViewHooks.h LibWeb: Add missing headers 2021-10-06 23:52:40 +01:00