ladybird/Tests/LibWeb
Callum Law 831e471444 LibWeb: Support top-level tree counting functions
Adds support for `sibling-index()` and `sibling-count()` when parsing
`<number>` and `<integer>`. This is achieved by a new
`TreeCountingFunctionStyleValue` class which is converted within
`absolutized` to `NumberStyleValue` and `IntegerStyleValue` respectively

There are still a few kinks to work out in order to support these
everywhere, namely:
 - There are some `StyleValue`s which aren't absolutized (i.e. those
   which are stored within another `StyleValue` without an
   `absolutize()` method.
 - We don't have a way to represent this new `StyleValue` within
   `{Number,Integer}OrCalculated`. This would be fixed if we were to
   instead just use the `StyleValue` classes until style computation at
   which time they would be absolutized into their respective
   primitives (double, i64, etc) bypassing the need for *OrCalculated
   entirely.
2025-10-20 16:12:08 +01:00
..
Assets LibWeb: Do not spin the event loop awaiting text track state changes 2025-06-12 12:25:23 -04:00
Crash LibWeb: Avoid crash evaluating media query in document lacking window 2025-10-17 18:24:59 +02:00
Fixtures Tests: Add 'reflect' option to http-test-server.py 2025-09-24 10:12:56 +01:00
Layout LibWeb: Peek after extracting next chunk in InlineLevelIterator 2025-10-20 12:37:25 +01:00
Ref LibWeb: Implement CSS decode bytes algo 2025-10-16 16:44:42 +02:00
Screenshot LibWeb: Apply dithering when painting gradients 2025-10-19 16:53:00 +02:00
test-web LibWebView: Move headless clipboard management to LibWebView 2025-10-10 15:10:03 -04:00
Text LibWeb: Support top-level tree counting functions 2025-10-20 16:12:08 +01:00
add_libweb_test.py Tests/LibWeb: Generate screenshot test boilerplate in add_libweb_test.py 2025-08-05 09:59:47 +01:00
CMakeLists.txt LibWeb/CSS: Parse the CSS <syntax> type into a tree 2025-07-16 14:47:45 +01:00
TestConfig.ini Tests: Disable a few tests that regularly flake on CI 2025-09-25 10:35:28 +01:00
TestCSSIDSpeed.cpp
TestCSSInheritedProperty.cpp LibWeb/CSS: Remove PropertyID::Invalid 2025-09-30 15:21:09 +02:00
TestCSSPixels.cpp
TestCSSSyntaxParser.cpp LibWeb/CSS: Parse the CSS <syntax> type into a tree 2025-07-16 14:47:45 +01:00
TestCSSTokenStream.cpp
TestFetchInfrastructure.cpp
TestFetchURL.cpp Everywhere: Remove some use of the URL constructors 2025-02-19 08:01:35 -05:00
TestHTMLTokenizer.cpp LibWeb: Add simple named character reference test to TestHTMLTokenizer 2025-07-04 11:57:19 +02:00
TestHTMLTokenizerSwift.swift
TestLibWebSwiftBindings.swift
TestMicrosyntax.cpp
TestMimeSniff.cpp LibWeb/MimeSniff: Update Rar signature to match spec 2025-07-31 16:21:20 +02:00
TestNumbers.cpp
TestStrings.cpp LibWeb: Only use code unit length for is_code_unit_prefix 2025-05-12 11:20:32 +02:00
tokenizer-test.html