1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-20 19:41:00 +00:00
serenity/Tests/LibWeb
Karol Kosek 142d498f14 LibWeb: Include anonymous boxes with no lines into computing BFC height
Pseudo-elements like ::before and ::after were discarded when their
content property was an empty string (ignoring whitespace), because they
are anonymous containers with no lines.

Our previous way around it was to add an empty line box (see b062a0fb7c)
however it didn't actually work for cases described in the previous
commit.

This makes avatars and cover arts square on last.fm and "fixes" the test
css-pseudo-element-should-not-be-affected-by-presentational-hints.html.
Unfortunately, this also regresses on block-and-inline/clearfix.html,
but that hopefully will be handled in subsequent commit.
2023-08-02 17:35:54 +02:00
..
Layout LibWeb: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
Text LibWeb: Detach stale layout nodes from DOM during layout tree build 2023-08-01 09:19:41 +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