1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:01:01 +00:00
serenity/Userland
Andi Gallo 4d49852454 LibWeb: Distribute cell contribution to all spanned columns
The specification isn't explicit about it, but the contribution we
compute should be distributed to all columns, not just the first one.

The first reason for it is symmetry, it doesn't make sense for the
increased width of the spanning column to only affect the first column
in the span.

The second reason is the formula for the cell contribution, which is
weighted by the non-spanning width of the cell relative to the total
width of the columns in the same row. This only covers a fraction of the
gap, in order to fully cover it we have to add it to all columns in the
span. For this to be exactly the case when the columns don't all have
the same width, we'd have to add additional weighting based on the width
ratios, but given that the specification doesn't suggest it at all we'll
leave it out for now.
2023-06-10 07:10:06 +02:00
..
Applets AudioApplet: Read and apply config value only once 2023-05-29 13:22:58 +02:00
Applications Applications+Demos+LibGUI: Migrate to fallible WizardDialogs and Pages 2023-06-09 17:21:43 +02:00
BuggieBox Everywhere: Use LibFileSystem where trivial 2023-03-21 19:03:21 +00:00
Demos Applications+Demos+LibGUI: Migrate to fallible WizardDialogs and Pages 2023-06-09 17:21:43 +02:00
DevTools LibFileSystem+Everything: Remove resolve_executable_from_environment 2023-06-06 23:46:36 +02:00
DynamicLoader DynamicLoader: Ensure that backtrace computation stops at _start 2023-04-23 14:30:59 +02:00
Games LibFileSystem+Everything: Remove resolve_executable_from_environment 2023-06-06 23:46:36 +02:00
Libraries LibWeb: Distribute cell contribution to all spanned columns 2023-06-10 07:10:06 +02:00
Services SystemServer: Ensure service drop privileges could fail only when root 2023-06-03 14:42:22 +02:00
Shell LibFileSystem+Everything: Remove resolve_executable_from_environment 2023-06-06 23:46:36 +02:00
Utilities nl: Don't output a new line on empty file 2023-06-09 17:24:59 +02:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00