1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-19 05:01:00 +00:00
serenity/Tests/LibWeb/Layout/expected
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
..
block-and-inline LibWeb: Ignore preferred width when calculating intrinsic width of block 2023-04-06 16:47:40 +02:00
grid LibWeb: Reimplement CalculatedStyleValue as a calculation node tree 2023-04-13 09:53:47 +02:00
table LibWeb: Use max-width property in table formatting 2023-04-07 10:42:26 +02:00
acid1.txt LibWeb: Add out-of-flow boxes to anonymous wrapper block when possible 2023-03-25 19:41:31 +01:00
automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Don't allow resolved height of abspos elements to become negative 2023-03-25 19:41:31 +01:00
automatic-width-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Don't allow resolved width of abspos elements to become negative 2023-03-25 19:41:31 +01:00
blank.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
css-import-rule.txt LibWeb: Actually incorporate style from imported style sheets 2023-03-12 18:10:32 +01:00
css-imported-sheet-with-media-rule.txt LibWeb: Actually visit rules and media queries in imported style sheets 2023-03-30 16:54:15 +02:00
css-line-height-percentage-inheritance.txt LibWeb: Resolve percentage line-height values before CSS inheritance 2023-03-12 18:10:32 +01:00
css-pseudo-element-should-not-be-affected-by-inline-style.txt LibWeb: Don't apply element inline style to associated pseudo elements 2023-04-02 15:00:06 +02:00
css-pseudo-element-should-not-be-affected-by-presentational-hints.txt LibWeb: Don't apply presentational hints to associated pseudo elements 2023-04-02 15:00:06 +02:00
flex-abspos-item-with-preceding-whitespace.txt LibWeb: Don't put abspos grid/flex items in anonymous wrapper 2023-04-07 10:15:16 +02:00
flex-auto.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-column-constained-wrap.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-column-constrained-nowrap.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-column-height-constrained-width-constrained.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-column-height-constrained.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-column-height-unconstrained.txt LibWeb: Rewrite FFC "resolve flexible lengths" algorithm from draft spec 2023-03-10 13:38:34 +01:00
flex-column-item-with-auto-height-and-max-width.txt Tests/LibWeb: Test flex column item with auto height and max-width 2023-03-26 15:14:35 +02:00
flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.txt LibWeb: Clamp fit-content widths in flex layout to min/max-width 2023-03-28 21:08:54 +02:00
flex-column-item-with-auto-height-depending-on-auto-width.txt LibWeb: Use fit-content width in place of indefinite flex item widths 2023-03-27 23:28:07 +02:00
flex-container-constrained-nowrap.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-container-constrained-wrap.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-container-width-constrained.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-frozen-items-should-be-respected.txt LibWeb: Don't touch flex items after they we've been frozen 2023-03-11 11:52:19 +01:00
flex-grow-0-column.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-grow-1.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-grow-2.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-item-auto-height-with-wrap.txt Tests/LibWeb: Add test for flex item auto height with flex-wrap: wrap 2023-03-26 15:14:35 +02:00
flex-item-on-row-with-intrinsic-aspect-ratio.txt LibWeb: Use intrinsic aspect ratio when calculating max content height 2023-04-05 16:23:56 +02:00
flex-item-vertical-padding-relative-to-flex-container-width.txt Tests/LibWeb: Use SerenitySans in new layout tests 2023-03-10 18:10:33 +01:00
flex-item-with-cyclic-percentage-height.txt LibWeb: Treat flex item's cyclic percentage cross size as auto 2023-03-18 00:26:19 +01:00
flex-item-with-intrinsic-aspect-ratio.txt LibWeb: Fix application of intrinsic aspect ratio to flex column items 2023-04-02 06:45:44 +02:00
flex-margin-auto-justify-content.txt LibWeb: Don't overflow flex containers on margin auto 2023-03-11 10:46:21 +01:00
flex-row.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-shrink-1.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-shrink-2.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
flex-shrink-3.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
input-element-with-display-inline.txt LibWeb: Don't crash on HTML input element with display: inline 2023-03-20 17:57:58 +01:00
lh-1.txt Tests/LibWeb: Add two tests for lh and rlh units 2023-03-18 20:14:52 +01:00
lh-2.txt Tests/LibWeb: Add two tests for lh and rlh units 2023-03-18 20:14:52 +01:00
link-sheet.txt LibWeb: Support loading file:// URLs via fetch (through ResourceLoader) 2023-03-22 23:34:32 +00:00
overflow-x-hidden-with-border-radius.txt LibWeb: Apply border-radius clip only if overflow hidden for both axis 2023-03-19 19:04:51 +01:00
position-absolute-from-edges.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
position-absolute-ignores-padding-of-position-relative-floating-parent.txt Tests/LibWeb: Add layout test for layout fix in PR #15780 2023-03-28 19:45:00 +01:00
position-absolute-top-left.txt LibWeb: Rename Layout::InitialContainingBlock to Layout::Viewport 2023-02-28 12:21:56 +01:00
replaced-box-with-vertical-margins.txt LibWeb: Consider margins of atomic inlines in layout 2023-03-14 14:45:40 +01:00
svg-transforms-and-viewboxes.txt Tests: Add layout test for SVG transforms and viewboxes 2023-04-12 07:40:22 +02:00
vertical-padding-relative-to-cb-width.txt Tests/LibWeb: Use SerenitySans in new layout tests 2023-03-10 18:10:33 +01:00