serenity/Base
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
..
etc Shell: Load a different rc file when in POSIX mode 2023-03-22 09:46:16 +01:00
home/anon Presenter: Support multiple frames per slide 2023-03-22 10:32:02 +01:00
res LibWeb: Reimplement CalculatedStyleValue as a calculation node tree 2023-04-13 09:53:47 +02:00
root Base: Remove UserspaceEmulator from the list of manual pages to verify 2022-12-28 11:53:41 +01:00
usr Documentation: Update readlink.md to use LibFileSystem api 2023-04-09 20:58:54 -06:00
www Base: Improve default WebServer pages 2022-02-23 21:28:17 +00:00
.gitignore Meta: Don't generate emoji.txt into the source tree 2022-09-05 09:50:31 -04:00