1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-13 00:01:00 +00:00
serenity/Tests
Sam Atkins d0f80b40b2 LibWeb: Reimplement CalculatedStyleValue as a calculation node tree
VALUES-4 defines the internal representation of `calc()` as a tree of
calculation nodes. ( https://www.w3.org/TR/css-values-4/#calc-internal )

VALUES-3 lacked any definition here, so we had our own ad-hoc
implementation based around the spec grammar. This commit replaces that
with CalculationNodes representing each possible node in the tree.

There are no intended functional changes, though we do now support
nested calc() which previously did not work. For example:
    `width: calc( 42 * calc(3 + 7) );`

I have added an example of this to our test page.

A couple of the layout tests that used `calc()` now return values that
are 0.5px different from before. There's no visual difference, so I
have updated the tests to use the new results.
2023-04-13 09:53:47 +02:00
..
AK AK+Tests: Add Vector::find_first_index_if() 2023-04-13 09:53:47 +02:00
Kernel Tests: Use FileSystem instead of DeprecatedFile 2023-04-09 20:58:54 -06:00
LibAudio Tests: Correct FLAC spec test paths 2023-03-19 14:15:35 +00:00
LibC Tests: Use FileSystem instead of DeprecatedFile 2023-04-09 20:58:54 -06:00
LibCompress LibCompress: Error on truncated uncompressed DEFLATE blocks 2023-04-12 14:02:13 -04:00
LibCore LibCore: Fix corner case for files without newlines 2023-04-09 18:09:23 -06:00
LibCpp AK: Rename Stream::read_entire_buffer to Stream::read_until_filled 2023-03-13 15:16:20 +00:00
LibCrypto LibCrypto: Add PBKDF2 2023-04-09 17:05:18 -06:00
LibEDID AK: Make FixedPoint(FloatingPoint) ctor round instead of truncating 2023-03-03 09:23:02 +00:00
LibELF Tests: Use FileSystem instead of DeprecatedFile 2023-04-09 20:58:54 -06:00
LibGfx LibGfx: Correctly decode webp lossless with small palette and odd width 2023-04-09 00:14:15 +02:00
LibGL LibGfx: Move all image loaders and writers to a subdirectory 2023-03-21 22:39:25 +01:00
LibIMAP LibIMAP: Propagate OOM errors from decode_quoted_printable() 2023-03-09 14:47:45 +00:00
LibJS Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
LibLocale LibJS+LibLocale: Port Intl.DateTimeFormat to String 2023-01-27 18:00:17 +00:00
LibMarkdown AK: Rename Stream::read_entire_buffer to Stream::read_until_filled 2023-03-13 15:16:20 +00:00
LibPDF Tests: Move test PDF files into Tests/LibPDF 2023-01-19 11:50:10 +00:00
LibRegex LibRegex: Make ^ and $ accept all LineTerminators instead of just '\n' 2023-03-25 15:44:05 +01:00
LibSQL Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
LibTest LibTest: Add EXPECT_NO_CRASH 2021-12-19 14:22:06 -08:00
LibTextCodec LibTextCodec+Everywhere: Port Decoders to new Strings 2023-02-19 17:15:47 +01:00
LibThreading Tests: Update thread tests and make them pass 2022-12-11 19:07:20 -07:00
LibTimeZone Tests: Add missing library dependency for LibTimeZone tests 2023-01-19 11:50:10 +00:00
LibTLS LibTLS: Streamline certificate loading 2023-04-12 11:40:06 +03:30
LibTTF Tests: Correct serenity_test() invocation for LibTTF 2023-01-19 11:50:10 +00:00
LibUnicode LibUnicode: Detect ZWJ sequences when filtering by emoji presentation 2023-03-05 20:21:57 +01:00
LibVideo Tests/LibVideo: Test to ensure that VP9 reference vector clamping works 2023-02-08 18:56:42 +00:00
LibWasm Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
LibWeb LibWeb: Reimplement CalculatedStyleValue as a calculation node tree 2023-04-13 09:53:47 +02:00
LibXML Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
Spreadsheet Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
UserspaceEmulator Everywhere: Remove unused includes of LibC/stdlib.h 2023-01-02 20:27:20 -05:00
Utilities Tests: Add tests for sed utility 2023-04-09 18:09:23 -06:00
CMakeLists.txt Tests: Add tests for sed utility 2023-04-09 18:09:23 -06:00