Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-browser-engine

The web engine of the luce-browser port of Ladybird: DOM, HTML, CSS, SVG, layout and painting, in luce-base.

A library written in luce-base. Latest release 0.6.1.

Install#

luc add dymokomi/luce-browser-engine

Documentation#

luce-browser-engine

Status and next steps for the whole luce-browser port: luce-js/docs/HANDOFF.md. Porting tools, oracles and the region brief: luce-browser-tools.

The web engine of the luce-browser port of Ladybird: DOM, HTML, CSS, SVG, layout and painting, in luce-base.

Part of the luce-browser family, a faithful port of Ladybird's LibWeb to luce-base; the design every porter follows is DESIGN.md.

ModuleContents
webDOM, HTML, CSS, SVG, layout, painting

Depends on: luce-std, luce-browser-foundation, luce-browser-css, luce-browser-html, luce-browser-render.

Status

Skeleton: every type of the phase-1 closure is declared and every function has its generated signature and a trap("unported: ...") body, grouped by region (docs/regions.tsv). Regions replace their stub fragments with ported code (DESIGN.md ยง4.5). docs/namemap.tsv maps every C++ name to its Luce name; docs/gc_fields.tsv lists the GC pointer fields each cell must visit.

The skeleton is generated from Ladybird at 47c82b38d0 (see PIN) by a local tool that is not part of this repository.

Testing

luc test runs the unit tests and four programs: tests/generated (the generators' comparisons), tests/webview_diagnostic (web's and webview's tests again under the diagnostic profile), tests/web_test_units (the runner's own tests) and tests/ladybird, which runs Ladybird's phase-1 and phase-2 Layout, Ref, Crash and Screenshot tests (copied in tests/libweb) through the headless runner tests/web_test, built with the diagnostic profile, against tests/expected_failures (see docs/regions/r57.md). The runner decodes and writes PNGs with luce-png. tools/check.sh is the lint: formatting and -W.

License

BSD-2-Clause, as Ladybird; see LICENSE.

Dependencies#

Versions#

0.6.1

Browse source · pack · commit febca7e8006c

SHA-256 282a843c81cd25b2b822e350c363725b8e311c9d22182b1bf914b3e0c27382b9

luce-browser-engine 0.6.1: batch release

0.6.0

Browse source · pack · commit 148435c8e6aa

SHA-256 319025b7fb098d5c6e13b5c5cc9e3f4b787f7fa3eb1c6372d07b0c8a536aaf42

webview renders only the shown view; statics outlive a VM; collections.Buffer; dependencies name no version