1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:18:11 +00:00
serenity/Userland/Libraries/LibWeb
Sam Atkins 5319e2ba8e LibWeb: Parse forgiving selector-lists
`<forgiving-selector-list>` and `<forgiving-relative-selector-list>` are
the same as regular selector-lists, except that an invalid selector
does not make the whole list invalid. The former is used by the `:is()`
pseudo-class.

For example:

```css
/* This entire selector-list is invalid */
.foo, .bar, !?invalid { }

/* This is valid, but the "!?invalid" selector is removed */
:is(.foo, .bar, !?invalid) { }
```

Also as part of this, I've removed the `parse_a_selector(TokenStream)`
and `parse_a_relative_selector(TokenStream)` methods as they don't add
anything useful.
2022-03-18 11:34:02 +01:00
..
Bindings LibJS: Add infallible variant of VM::push_execution_context() 2022-03-18 01:12:12 +01:00
Cookie Everywhere: Update copyrights with my new serenityos.org e-mail :^) 2022-01-31 18:23:22 +00:00
Crypto LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
CSS LibWeb: Parse forgiving selector-lists 2022-03-18 11:34:02 +01:00
DOM LibJS: Add infallible variant of VM::push_execution_context() 2022-03-18 01:12:12 +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
Encoding LibWeb: Implement a very basic version of TextDecoder 2022-02-16 22:48:32 +03:30
Fetch LibWeb: Implement spec-compliant MIME type struct and parser 2022-02-12 12:53:28 +01:00
Geometry LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
HighResolutionTime Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
HTML LibJS: Add infallible variant of VM::push_execution_context() 2022-03-18 01:12:12 +01:00
IntersectionObserver LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
Layout Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
Loader Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
MimeSniff Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
NavigationTiming Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
Page Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
Painting LibWeb: Move text fragment painting to PaintableWithLines 2022-03-16 23:13:05 +01:00
RequestIdleCallback Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
ResizeObserver LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
SVG LibWeb: Add fast_is<SVG::SVGSVGElement>() 2022-03-13 00:04:51 +01:00
Tests LibWeb: Capture <script> element's node document on execution 2021-12-21 13:50:00 -08:00
UIEvents Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
URL LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
WebAssembly Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
WebSockets Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
XHR Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
CMakeLists.txt LibWeb: Add stub implementation of HTMLOptionsCollection 2022-03-16 14:25:09 +01:00
DOMTreeModel.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
DOMTreeModel.h Browser+LibWeb+WebContent: Show style for pseudo-elements :^) 2022-03-10 17:30:09 +01:00
Dump.cpp LibWeb: Rename Element::specified_css_values() => computed_css_values() 2022-03-15 19:48:19 +01:00
Dump.h LibWeb: Small improvements to layout tree dumps 2022-03-03 12:57:53 +01:00
FontCache.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontCache.h Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
Forward.h LibWeb: Add stub implementation of HTMLOptionsCollection 2022-03-16 14:25:09 +01:00
ImageDecoding.cpp LibCore+LibIPC+Everywhere: Return Stream::LocalSocket from LocalServer 2022-01-15 13:29:48 +03:30
ImageDecoding.h LibWeb: Move ImageDecoder client connection singleton to its own file 2021-11-20 10:56:31 +01:00
InProcessWebView.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00: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 Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
OutOfProcessWebView.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
OutOfProcessWebView.h Browser+LibWeb+WebContent: Show style for pseudo-elements :^) 2022-03-10 17:30:09 +01:00
StylePropertiesModel.cpp Libraries: Use default constructors/destructors in LibWeb 2022-03-17 17:23:49 +00:00
StylePropertiesModel.h Browser: Allow jumping to stylenames by typing in the inspector 2022-03-15 20:00:09 +01:00
TreeNode.h LibWeb: Make Range.setStart and Range.setEnd spec compliant 2022-02-26 12:53:32 +01:00
WebContentClient.cpp Browser: Show currently loading host and remaining resource count 2022-03-10 00:51:05 +01:00
WebContentClient.h Browser: Show currently loading host and remaining resource count 2022-03-10 00:51:05 +01:00
WebViewHooks.h Browser: Show currently loading host and remaining resource count 2022-03-10 00:51:05 +01:00