1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-05 00:17:36 +00:00
serenity/Tests/LibWeb/Layout/expected/grid
Sam Atkins d0f80b40b2 LibWeb: Reimplement CalculatedStyleValue as a calculation node tree
VALUES-4 defines the internal representation of `calc()` as a tree of
calculation nodes. ( https://www.w3.org/TR/css-values-4/#calc-internal )

VALUES-3 lacked any definition here, so we had our own ad-hoc
implementation based around the spec grammar. This commit replaces that
with CalculationNodes representing each possible node in the tree.

There are no intended functional changes, though we do now support
nested calc() which previously did not work. For example:
    `width: calc( 42 * calc(3 + 7) );`

I have added an example of this to our test page.

A couple of the layout tests that used `calc()` now return values that
are 0.5px different from before. There's no visual difference, so I
have updated the tests to use the new results.
2023-04-13 09:53:47 +02:00
..
auto-fill.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
auto-fit.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
basic.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
borders.txt LibWeb: Reimplement CalculatedStyleValue as a calculation node tree 2023-04-13 09:53:47 +02:00
different-column-sizes.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
gap.txt LibWeb: Reimplement CalculatedStyleValue as a calculation node tree 2023-04-13 09:53:47 +02:00
image-in-grid.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
min-max-content.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
minmax.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
named-tracks.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
positions-and-spans.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
repeat.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00
row-height.txt LibWeb: Fix regression in definite grid row heights 2023-04-02 19:08:04 +02:00
template-areas.txt LibWeb: Add display grid automated tests 2023-04-01 21:45:29 +02:00