ladybird/Tests
Sam Atkins 1051624084 LibWeb: Obey CSS aspect-ratio property during layout
Calculate a "preferred aspect ratio" based on the value of
`aspect-ratio` and the presence of a natural aspect ratio, and use that
in layout.

This is by no means complete or perfect, but we do now apply the given
aspect-ratio to things.

The spec is a bit vague, just saying to calculate sizes for
aspect-ratio'ed boxes the same as you would for replaced elements. My
naive solution here is to find everywhere we were checking for a
ReplacedBox, and then also accept a regular Box with a preferred aspect
ratio. This gets us pretty far. :^)

https://www.w3.org/TR/css-sizing-4/#aspect-ratio-minimum is not at all
implemented.
2023-06-09 20:37:51 +02:00
..
AK AK: Correctly calculate size of the last AllocatingMemoryStream chunk 2023-05-29 13:30:46 +02:00
Kernel Tests/Kernel: Do not build TestEFault on AArch64 2023-05-28 05:05:09 -06:00
LibAudio Tests: Correct FLAC spec test paths 2023-03-19 14:15:35 +00: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: Drop TestLibCoreIODevice 2023-05-27 07:16:01 +02: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 WebP: Add test for vertical ALPH chunk filtering_method 2023-06-09 04:35:19 -07: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 Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
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 Tests: Prefer TRY_OR_FAIL() and MUST() over EXPECT(!.is_error()) 2023-05-14 15:39:38 -06:00
LibRegex LibRegex: Avoid calling GenericLexer::consume() past EOF 2023-04-14 12:33:54 +02:00
LibSQL LibSQL: Free heap storage when deleting rows 2023-05-25 06:19:16 -07: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 LibVideo/VP9: Revert framebuffer size reduction to allow OOB blocks 2023-05-02 07:00:46 -04:00
LibWasm LibJS: Port Value::to_object() to NonnullGCPtr 2023-04-14 09:59:29 +02:00
LibWeb LibWeb: Obey CSS aspect-ratio property during layout 2023-06-09 20:37:51 +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