1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:38:10 +00:00
serenity/Userland
Andreas Kling 0f15d1f947 LibWeb: Add hack to avoid crashing on !child_display.is_flow_inside()
When encountering a box that claims to have block-level children, but
its CSS display type isn't actually "flow" inside, we would previously
crash due to a VERIFY() failure.

However, many sites choke on this due to freestanding table-related
boxes like those created by "table-row" and "table-row-group".
We're supposed to fix those up by wrapping them in a full set of table
boxes during layout tree construction, but that algorithm obviously
isn't working correctly in all cases. So let's work around the crashes
for now, allowing many more sites to load (even if visually incorrect.)

This is a rather monstrous hack, and we should get rid of it as soon as
it's not needed anymore.
2022-02-21 18:35:12 +01:00
..
Applets Userland/Applets: Use default constructors/destructors 2022-02-13 21:27:17 +00:00
Applications Userland: Ask first for unsaved changes after clicking an "Open" action 2022-02-21 18:30:32 +01:00
Demos Demos: Use default constructors/destructors 2022-02-15 23:00:03 +02:00
DevTools Userland: Ask first for unsaved changes after clicking an "Open" action 2022-02-21 18:30:32 +01:00
DynamicLoader DynamicLoader+LibC+LibTimeZone: Include LibTimeZone sources in LibC 2022-01-23 12:48:26 +00:00
Games Games: Use default constructors/destructors 2022-02-16 22:08:55 +00:00
Libraries LibWeb: Add hack to avoid crashing on !child_display.is_flow_inside() 2022-02-21 18:35:12 +01:00
Services WindowServer: Add IPC call to remove a menu's item 2022-02-21 16:31:56 +01:00
Shell Shell: Use an opaque default color for BarewordLiteral 2022-02-19 11:33:28 +01:00
Utilities ls: Add option -1 which lists one file per line 2022-02-19 18:18:13 -08:00
CMakeLists.txt Tests: Establish root Tests directory, move Userland/Tests there 2021-05-06 17:54:28 +02:00