1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-24 16:37:35 +00:00
serenity/Tests
Andreas Kling 3ec9fd0aae LibWeb: Resolve calc() values in CSS transform
There are two parts to this fix:

- First, StyleProperties::transformations() would previously omit calc()
  values entirely when returning the list of transformations. This was
  very confusing to StackingContext which then tried to index into the
  list based on faulty assumptions. Fix this by emitting calc values.

- Second, StackingContext::get_transformation_matrix() now always calls
  resolve() on length-percentages. This takes care of actually resolving
  calc() values. If no reference value for percentages is provided, we
  default to 0px.

This stops LibWeb from asserting on websites with calc() in transform
values, such as https://qt.io/ :^)
2023-07-15 11:35:16 +02:00
..
AK AK: Rename URLParser::parse to URLParser::basic_parse 2023-07-15 09:45:16 +02:00
Kernel Tests/Kernel: Do not build TestEFault on AArch64 2023-05-28 05:05:09 -06:00
LibAudio LibAudio: Extract loader stream creation from the plugins 2023-06-27 15:28:22 +01:00
LibC Tests: Un-flake the recent TestEnvironment addition 2023-06-06 12:20:38 +02:00
LibCompress LibCompress: Handle arbitrarily long FF-chains in the LZMA encoder 2023-05-19 23:40:33 +02:00
LibCore LibCore: Slightly rework the Core::Promise API 2023-07-08 23:13:00 +01: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 Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
LibELF Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
LibGfx LibGfx: Add Rect::unite_{horizontally,vertically}() 2023-07-13 05:09:08 +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 test262-runner+js: Respect the bytecode optimizations enabled flag 2023-06-27 14:35:23 +03:30
LibLocale LibTimeZone+Userland: Change timezone functions to use UnixDateTime 2023-05-24 23:18:07 +02:00
LibMarkdown AK: Rename Stream::read_entire_buffer to Stream::read_until_filled 2023-03-13 15:16:20 +00:00
LibPDF LibPDF: Make encrypted object streams work 2023-07-12 17:16:25 +02:00
LibRegex LibRegex: Bail parsing class set characters upon early EOF 2023-06-23 20:22:45 +02:00
LibSQL LibSQL: Prevent writing to free heap blocks 2023-06-13 16:33:42 -04: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 LibThreading: Improve resiliancy of timed threading tests 2023-05-24 00:25:35 +02:00
LibTimeZone LibTimeZone+Userland: Change timezone functions to use UnixDateTime 2023-05-24 23:18:07 +02: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: Add a test for Matroska files containing CRC32 elements 2023-06-25 20:27:02 -04:00
LibWasm LibJS: Port Value::to_object() to NonnullGCPtr 2023-04-14 09:59:29 +02:00
LibWeb LibWeb: Resolve calc() values in CSS transform 2023-07-15 11:35:16 +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