1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-10 10:01:13 +09:00
ladybird/Userland/Libraries
Aliaksandr Kalenik 40dea272d2 LibWeb: Add boxes for before/after pseudos post button layout tweak
When a button should use flex for alignment and also has ::before
and/or ::after, we previously did the following:
1. Prepended/appended the button's children with boxes for
   pseudo-elements.
2. Replaced the button's direct children with a flex container that
   contains its children.
As a result, the generated boxes for ::before/::after ended up as
children of the generated flex item, instead of being direct children
of the button layout box as they were supposed to be.

This change reverses these steps, ensuring that boxes for
pseudo-elements are generated only after modifications inside the
button layout are completed.
2023-09-11 15:19:56 +02:00
..
LibArchive
LibAudio LibAudio: Skip empty MP3 scale factor bands in stereo intensity process 2023-09-09 11:23:57 -06:00
LibC LibC: Set (U)LONG_WIDTH correctly for 64-bit 2023-09-03 09:18:22 +02:00
LibCards
LibChess Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
LibCMake LibSyntax+Userland: Make LibSyntax not depend on LibGUI 2023-08-29 07:57:39 -04:00
LibCodeComprehension
LibCompress LibCompress: Let BrotliDecompressionStream take a MaybeOwned 2023-08-23 12:03:37 +01:00
LibConfig
LibCore LibCore: Implement waiting for the debugger on FreeBSD 2023-09-07 14:30:11 -06:00
LibCoredump
LibCpp
LibCrypt
LibCrypto LibCrypto: Implement a generic 16-bit CRC 2023-08-12 12:25:26 -06:00
LibDebug
LibDesktop
LibDeviceTree
LibDiff LibDiff: Fix wrong index used when prepending context lines 2023-09-11 12:10:50 +01:00
LibDNS LibDNS: Fix compilation with signed time_t 2023-09-06 11:41:16 -06:00
LibDSP Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
LibEDID AK: Change standard casting method of FixedPoint to truncation 2023-08-14 14:20:45 -06:00
LibELF LibELF: Fix building without PTHREAD_STACK_MIN defined 2023-09-06 11:41:16 -06:00
LibFileSystem LibFileSystem: Replace PATH_MAX usage with heap allocation 2023-09-06 07:14:35 -06:00
LibFileSystemAccessClient
LibGemini
LibGfx AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
LibGL AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
LibGLSL LibGLSL: Add tests for GLSL parser 2023-08-18 15:29:48 +02:00
LibGPU
LibGUI LibGfx: Convert FontDatabase APIs to use FlyString 2023-09-06 11:29:03 -04:00
LibHTTP LibCompress: Let BrotliDecompressionStream take a MaybeOwned 2023-08-23 12:03:37 +01:00
LibIDL LibIDL: Fix bug where Type::is_json doesn't look at parent interface 2023-08-23 12:11:21 +01:00
LibImageDecoderClient
LibIMAP LibIMAP+Mail: Rename MultiPartBody's mime_type to multipart_subtype 2023-09-09 11:19:37 -06:00
LibIPC
LibJS LibJS: Remove the now-unused ThrowableStringBuilder 2023-09-09 13:03:25 -04:00
LibKeyboard
LibLine
LibLocale LibLocale: Remove compact currency patterns 2023-09-04 18:22:28 +02:00
LibMain
LibManual Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
LibMarkdown Userland: Fix absolute paths in man page links 2023-09-06 15:02:44 +01:00
LibPartition
LibPCIDB
LibPDF LibGfx: Convert FontDatabase APIs to use FlyString 2023-09-06 11:29:03 -04:00
LibProtocol
LibPublicSuffix LibPublicSuffix: Add Library and Generators 2023-08-17 15:30:23 +01:00
LibRegex LibRegex: Treat backwards jumps to IP 0 as normal backwards jumps too 2023-08-16 22:20:24 +03:30
LibSanitizer LibSanitizer: Add _abort variants of UBSan handlers 2023-08-13 05:14:07 +02:00
LibSoftGPU AK: Add to_radians and to_degrees math functions 2023-09-10 08:38:29 +01:00
LibSQL LibSyntax+Userland: Make LibSyntax not depend on LibGUI 2023-08-29 07:57:39 -04:00
LibSymbolication Kernel: Remove the /sys/kernel/constants directory 2023-08-27 22:50:22 +02:00
LibSyntax LibSyntax+Userland: Make LibSyntax not depend on LibGUI 2023-08-29 07:57:39 -04:00
LibSystem
LibTest LibJS: Stop propagating small OOM errors from the Error object 2023-09-09 13:03:25 -04:00
LibTextCodec
LibThreading
LibTimeZone LibTimeZone: Replace PATH_MAX usage with heap allocation 2023-09-06 07:14:35 -06:00
LibTLS
LibUnicode LibUnicode+LibJS: Stop propagating small OOM errors from normalization 2023-09-09 13:03:25 -04:00
LibUSBDB
LibVideo LibGfx+Userland: Rename Size::scaled_by to Size::scaled 2023-08-17 09:57:30 -04:00
LibVirtGPU
LibVT Kernel: Move TTY-related code to a new subdirectory under Devices 2023-09-09 12:08:59 -06:00
LibWasm LibWasm: Explicitly place the paddings in the WASI API types 2023-09-04 13:32:36 +03:30
LibWeb LibWeb: Add boxes for before/after pseudos post button layout tweak 2023-09-11 15:19:56 +02:00
LibWebSocket LibWebSocket: Adds capability for receiving fragmented messages 2023-09-09 10:59:59 -06:00
LibWebView Ladybird+LibWebView: Move creation of the SQL client to LibWebView 2023-08-31 19:19:45 +02:00
LibX86
LibXML LibXML: Set parents for text and comment nodes 2023-08-18 08:58:51 +03:30
CMakeLists.txt LibPublicSuffix: Add Library and Generators 2023-08-17 15:30:23 +01:00