ladybird/Tests/LibWeb
Sam Atkins 6038e36250 LibWeb: Add and use the "snap a length as a border width" algorithm
Previously, we always rounded border-widths up when converting them to
device pixels. However, the spec asks us to follow a specific algorithm
to "snap" these values, so that the computed value is snapped.

The difference from before, is that widths of between 0 and 1 device
pixels are rounded up to 1, and and values larger than 1 are rounded
down.
2023-07-30 22:18:26 +01:00
..
Layout LibWeb: Add and use the "snap a length as a border width" algorithm 2023-07-30 22:18:26 +01:00
Text Tests/LibWeb: Add standard built-in objects test for structuredClone() 2023-07-29 17:24:39 +02:00
WPT Tests/LibWeb: Update WPT expectations 2023-07-19 18:34:36 +02:00
CMakeLists.txt Tests/LibWeb: Add tests for CSSPixels class 2023-07-25 11:52:02 +02:00
rebaseline-libweb-test Tests/LibWeb: Update rebaseline-libweb-test for path changes 2023-06-10 21:46:33 +02:00
TestCSSIDSpeed.cpp LibWeb: Make value_id_from_string() return Optional 2023-05-25 06:36:10 +02:00
TestCSSPixels.cpp LibWeb: Implement subtraction using saturated_addition in CSSPixels 2023-07-25 15:21:40 +02:00
TestHTMLTokenizer.cpp Everywhere: Remove unintentional partial stream reads and writes 2023-03-13 15:16:20 +00:00
tokenizer-test.html LibWeb: Fix assertion failure when tokenizing JS regex literals 2021-07-15 01:47:22 +02:00