Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LibWeb/CSS: Unit test: layout text with invalid font
- Before: the default emoji font was picked up. The text was split into five fragments (3 text; 2 whitespace) and the whitespace was probably extended to match the font metrics. - After: the whole text is layed out into one fragment. NOTE: - This test may not work on the Apple platform: expect font metrics for the default emoji font to be different from Ubuntu, although the layout should be the same. - The test works reliably in the test runner `headless-browser -R`, however, it generates different layout metrics compared to running stand-alone in dump mode `headless-browser -d`.
- Loading branch information