Commit Graph

3 Commits

Author SHA1 Message Date
BenJilks
800b4c2301 LibWeb: Layout text chunks based on their Unicode direction
Append text chunks to either the start or end of the text fragment,
depending on the text direction. The direction is determined by what
script its code points are from.

(cherry picked from commit 11e7d72686d86b3e900c0e9ab76e75d3922f06d3;
amended to minorly tweak dimensions in expected files due to serenity
not using harfbuzz for text shaping)
2024-11-23 20:23:39 -05:00
Nico Weber
13ff4125fb Tests/LibWeb: Add a reftest for svg stroke-linecap 2024-10-17 22:02:48 -04:00
Aliaksandr Kalenik
10dfaf1539 Tests+headless-browser: Move screenshot ref-tests into own directory
This change will make it easier to disable screenshot comparison tests
on a specific platform or have per-platform expectations.

Additionally, it's nice to be able to tell if a ref-test uses a
screenshot as an expectation by looking at the test path.

(cherry picked from commit 715f0330070d9f8ecc88a8e66e4d8c85f795d622;
amended to also move
Tests/LibWeb/Screenshot/canvas-stroke-styles.html and support files)
2024-10-10 23:27:47 -04:00