Truly independent web browser
Go to file
Aliaksandr Kalenik 863416e3ac LibWeb: Make FC of containing block responsible for abspos layout
Before this change, a formatting context was responsible for layout of
absolutely positioned boxes whose FC root box was their parent (either
directly or indirectly). This only worked correctly when the containing
block of the absolutely positioned child did not escape the FC root.
This is because the width and height of an absolutely positioned box are
resolved based on the size of its containing block, so we needed to
ensure that the containing block's layout was completed before laying
out an absolutely positioned box.

With this change, the layout of absolutely positioned boxes is delayed
until the FC responsible for the containing block's layout is complete.
This has affected the way we calculate the static position. It is no
longer possible to ask the FC for a box's static position, as this FC's
state might be gone by the time the layout for absolutely positioned
elements occurs. Instead, the "static position rectangle" (a concept
from the spec) is saved in the layout state, along with information on
how to align the box within this rectangle when its width and height are
resolved.
2024-09-12 07:36:32 +02:00
.devcontainer Meta: Rename devcontainer to Ladybird 2024-07-11 08:48:15 -06:00
.github CI: Bump JamesIves/github-pages-deploy-action from 4.6.3 to 4.6.4 2024-09-03 10:14:43 -06:00
AK AK+LibURL: Move CopyOnWrite<T> from LibURL to AK 2024-09-10 13:51:28 +02:00
Base/res LibWebView: Alternate the color of inspector table rows 2024-09-08 09:45:39 +02:00
Documentation Documentation: Document the CSS JSON files and what they do 2024-09-11 15:52:31 +02:00
Ladybird Everywhere: Convert from_string_view -> from_string_literal where static 2024-09-11 10:59:04 +01:00
Meta LibWeb/CSS: Implement revert-layer 2024-09-11 22:30:20 +01:00
Tests LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
Toolchain Meta: Update vcpkg to the August 2024 release 2024-08-30 15:08:25 -04:00
Userland LibWeb: Make FC of containing block responsible for abspos layout 2024-09-12 07:36:32 +02:00
.clang-format Meta: Support using clang-format on Objective-C++ files 2023-08-22 21:36:19 -04:00
.clang-tidy Everywhere: Remove references to the kernel 2024-06-03 10:53:53 +02:00
.clangd Meta: Add .clangd config file (with project-recommended defaults) 2024-07-09 04:40:52 -06:00
.editorconfig Meta: Add .editorconfig 2022-09-10 17:32:55 +01:00
.gitattributes LibGfx: Remove support for the various "portable" image formats 2024-06-17 21:57:35 +02:00
.gitignore Meta: Add provision for user-specified port variables to vcpkg 2024-07-07 15:56:59 +02:00
.gn Meta: Automatically generate a compilation database for clangd 2023-11-14 14:29:35 -05:00
.mailmap Meta: Update mailmap to use my ladybird.org email address 2024-08-15 13:58:38 +01:00
.pre-commit-config.yaml Meta: Drop the --no-ports arg from .pre-commit-config.yaml 2024-09-11 08:29:54 +01:00
.prettierignore Meta: Remove home/anon directory from .prettierignore 2024-07-17 09:57:46 -06:00
.prettierrc Meta: Move prettier config files to the root of the repository 2020-08-24 18:21:33 +02:00
.swift-format Meta: Add swift-format configuration 2024-07-30 18:38:02 -06:00
.ycm_extra_conf.py Meta: Make YCM return flags as Python list 2024-07-06 14:50:43 -06:00
CMakeLists.txt CMake: Add proper sanitizer options for Swift files 2024-07-30 18:38:02 -06:00
CMakePresets.json CMake: Enable running unit tests with a Debug build/preset 2024-08-28 01:13:16 -06:00
CONTRIBUTING.md Documentation: Add a note about fetching git notes 2024-08-28 15:36:47 +02:00
flake.lock nix: Clean up files, use good practices 2024-03-25 14:19:34 -06:00
flake.nix Meta: Remove SerenityOS components not needed for Ladybird 2024-06-03 10:53:53 +02:00
ISSUES.md Meta: Add guidance on how to write reduced test cases 2024-07-25 16:59:09 +02:00
LICENSE Meta: Update root LICENSE to say Ladybird instead of SerenityOS 2024-06-04 07:25:44 +02:00
README.md Documentation: Add a getting started contributing guide 2024-08-17 11:51:06 -06:00
SECURITY.md Meta: Update security policy to include private vulnerability reporting 2024-08-23 12:06:05 -06:00
vcpkg-configuration.json Meta: Add overlay port for vulkan-loader 2024-07-07 15:56:59 +02:00
vcpkg.json Meta: Update simdutf to version 5.3.4 2024-08-30 15:08:25 -04:00

Ladybird

Ladybird is a truly independent web browser, using a novel engine based on web standards.

Important

Ladybird is in a pre-alpha state, and only suitable for use by developers

Features

We aim to build a complete, usable browser for the modern web.

Ladybird uses a multi-process architecture with a main UI process, several WebContent renderer processes, an ImageDecoder process, and a RequestServer process.

Image decoding and network connections are done out of process to be more robust against malicious content. Each tab has its own renderer process, which is sandboxed from the rest of the system.

At the moment, many core library support components are inherited from SerenityOS:

  • LibWeb: Web rendering engine
  • LibJS: JavaScript engine
  • LibWasm: WebAssembly implementation
  • LibCrypto/LibTLS: Cryptography primitives and Transport Layer Security
  • LibHTTP: HTTP/1.1 client
  • LibGfx: 2D Graphics Library, Image Decoding and Rendering
  • LibArchive: Archive file format support
  • LibUnicode: Unicode and locale support
  • LibAudio, LibMedia: Audio and video playback
  • LibCore: Event loop, OS abstraction layer
  • LibIPC: Inter-process communication

How do I build and run this?

See build instructions for information on how to build Ladybird.

Ladybird runs on Linux, macOS, Windows (with WSL2), and many other *Nixes.

How do I read the documentation?

Code-related documentation can be found in the documentation folder.

Get in touch and participate!

Join our Discord server to participate in development discussion.

Please read Getting started contributing if you plan to contribute to Ladybird for the first time.

Before opening an issue, please see the issue policy and the detailed issue-reporting guidelines.

The full contribution guidelines can be found in CONTRIBUTING.md.

License

Ladybird is licensed under a 2-clause BSD license.