1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:18:12 +00:00
serenity/Tests/LibWeb/Layout/input
Andreas Kling e99a6fede4 LibWeb: Allow IFC to size inline-flex boxes midway through flex layout
The part in FFC where we ask the parent formatting context to size the
flex container midway through layout is really weird, but let's at least
be consistently weird for BFC and IFC. Since IFC always works within its
parent BFC, it can simply forward these requests to the BFC.

This fixes an issue where inline-flex containers incorrectly had main
axis margins subtracted from their content size.
2023-06-19 18:51:00 +02:00
..
block-and-inline LibWeb: Use padding box of containing block to resolve % height size 2023-06-18 20:29:40 +02:00
flex LibWeb: Allow IFC to size inline-flex boxes midway through flex layout 2023-06-19 18:51:00 +02:00
grid LibWeb: Use grid item *outer* size when calculating minimum contribution 2023-06-12 17:51:08 +02:00
misc LibWeb: Handle leading whitespace in grid-template-* block components 2023-06-18 13:41:15 +02:00
svg LibWeb: Make stretch-fit return 0 when the available size is indefinite 2023-06-13 16:14:45 +02:00
table LibWeb: Clip cell spans past the end of the table 2023-06-19 13:19:55 +02:00
120.png LibWeb: Skip children based on media when updating the source set 2023-05-28 12:11:10 +02:00
400.png LibWeb: Skip children based on media when updating the source set 2023-05-28 12:11:10 +02:00
abspos-image-with-min-height-constraint.html LibWeb: Enforce min/max height constraints on abspos replaced boxes 2023-05-07 06:28:47 +02:00
acid1.html Tests/LibWeb: Add ACID1 as a layout test 2023-03-15 11:43:54 +01:00
aspect-ratio-auto-and-ratio.html LibWeb: Obey CSS aspect-ratio property during layout 2023-06-09 20:37:51 +02:00
aspect-ratio-auto.html LibWeb: Obey CSS aspect-ratio property during layout 2023-06-09 20:37:51 +02:00
aspect-ratio-ratio.html LibWeb: Obey CSS aspect-ratio property during layout 2023-06-09 20:37:51 +02:00
automatic-height-of-non-replaced-abspos-element-must-not-be-negative.html 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.html LibWeb: Don't allow resolved width of abspos elements to become negative 2023-03-25 19:41:31 +01:00
blank.html Tests: Add LibWeb layout tests 2023-01-29 11:33:33 +00:00
blockify-layout-internal-box-without-crashing.html LibWeb: Implement more box type transformation edge cases 2023-05-03 16:04:30 +02:00
box-sizing-border-box-for-definite-sizes-without-layout.html LibWeb: Account for box-sizing:border-box in layout-less definite sizes 2023-05-02 11:47:13 +02:00
calc-negate-length.html LibWeb: Fix off-by-one in CSS calc() "negate" operation 2023-05-17 07:40:17 +02:00
css-ex-unit.html LibGfx/OpenType: Load x-height metrics from OS/2 table if available 2023-06-10 21:46:33 +02:00
css-font-size-calc.html LibWeb: Support font-size: calc() 2023-06-02 20:03:28 +02:00
css-import-rule-sheet-1.css LibWeb: Actually incorporate style from imported style sheets 2023-03-12 18:10:32 +01:00
css-import-rule-sheet-2.css LibWeb: Actually incorporate style from imported style sheets 2023-03-12 18:10:32 +01:00
css-import-rule.html LibWeb: Actually incorporate style from imported style sheets 2023-03-12 18:10:32 +01:00
css-imported-sheet-with-media-rule.css LibWeb: Actually visit rules and media queries in imported style sheets 2023-03-30 16:54:15 +02:00
css-imported-sheet-with-media-rule.html LibWeb: Actually visit rules and media queries in imported style sheets 2023-03-30 16:54:15 +02:00
css-line-height-percentage-inheritance.html LibWeb: Resolve percentage line-height values before CSS inheritance 2023-03-12 18:10:32 +01:00
css-pseudo-element-blockification.html LibWeb: Blockify pseudo elements that are flex items 2023-04-27 18:29:02 +02:00
css-pseudo-element-should-not-be-affected-by-inline-style.html 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.html LibWeb: Don't apply presentational hints to associated pseudo elements 2023-04-02 15:00:06 +02:00
css-var-in-calc-block.html LibWeb: Expand CSS var() inside calc() paren blocks 2023-06-19 17:54:07 +02:00
display-table-inline-children.html LibWeb: Propagate children_are_inline in wrap_in_anonymous 2023-05-22 10:25:18 +02:00
div_align.html LibWeb: Implement the align attribute for divs 2023-06-16 06:55:21 +02:00
div_align_nested.html LibWeb: Implement the align attribute for divs 2023-06-16 06:55:21 +02:00
flex-abspos-item-with-preceding-whitespace.html LibWeb: Don't put abspos grid/flex items in anonymous wrapper 2023-04-07 10:15:16 +02:00
flex-auto.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-column-constained-wrap.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-column-constrained-nowrap.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-column-height-constrained-width-constrained.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-column-height-constrained.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-column-height-unconstrained.html 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.html 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.html 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.html LibWeb: Use fit-content width in place of indefinite flex item widths 2023-03-27 23:28:07 +02:00
flex-container-constrained-nowrap.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-container-constrained-wrap.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-container-width-constrained.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-frozen-items-should-be-respected.html LibWeb: Don't touch flex items after they we've been frozen 2023-03-11 11:52:19 +01:00
flex-grow-0-column.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-grow-1.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-grow-2.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-item-auto-height-with-wrap.html 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.html 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.html Tests/LibWeb: Use SerenitySans in new layout tests 2023-03-10 18:10:33 +01:00
flex-item-with-cyclic-percentage-height.html 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.html LibWeb: Fix application of intrinsic aspect ratio to flex column items 2023-04-02 06:45:44 +02:00
flex-margin-auto-justify-content.html LibWeb: Don't overflow flex containers on margin auto 2023-03-11 10:46:21 +01:00
flex-row.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-shrink-1.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-shrink-2.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
flex-shrink-3.html LibWeb: Add tests for flex formatting context 2023-02-11 10:42:52 +01:00
getComputedStyle-on-unconnected-element.html LibWeb: Don't resolve CSS property values for unconnected elements 2023-05-10 17:27:07 +02:00
height-of-absolute-position-box-with-padding.html LibWeb: Fix for absolutely positioned elements with specified height 2023-05-16 14:34:53 +02:00
image-display-block-margin-auto.html LibWeb: Resolve horizontal auto margins for images with display: block 2023-04-30 05:52:19 +02:00
image-with-multiple-constraint-violations.html LibWeb: Improve handling of min/max constraint violations on images 2023-05-09 12:11:28 +02:00
img-with-box-sizing-border-box-and-padding.html LibWeb: Take box-sizing into account when sizing replaced elements 2023-06-05 09:00:00 +02:00
img-with-percentage-max-width-and-indefinite-containing-block-width.html Tests/LibWeb: Fix typo in test 2023-06-16 14:39:03 +02:00
img-with-percentage-max-width-and-min-content-containing-block-width.html LibWeb: Resolve % min-sizes against 0 while under min-content constraint 2023-06-16 14:39:03 +02:00
inline-size.html LibWeb: Unit tests for min/max-inline-size 2023-05-27 16:02:33 +02:00
input-element-with-display-inline.html LibWeb: Don't crash on HTML input element with display: inline 2023-03-20 17:57:58 +01:00
inset-shorthand-property.html LibWeb: Add support for parsing 'inset' shorthand CSS property 2023-05-30 06:02:06 +02:00
lh-1.html Tests/LibWeb: Add two tests for lh and rlh units 2023-03-18 20:14:52 +01:00
lh-2.html Tests/LibWeb: Add two tests for lh and rlh units 2023-03-18 20:14:52 +01:00
line-height-calc-number.html LibWeb: Support line-height: calc(...) values that resolve to number 2023-06-01 09:20:05 +02:00
link-sheet.css LibWeb: Support loading file:// URLs via fetch (through ResourceLoader) 2023-03-22 23:34:32 +00:00
link-sheet.html LibWeb: Support loading file:// URLs via fetch (through ResourceLoader) 2023-03-22 23:34:32 +00:00
negative-max-size.html LibWeb: Bounds-check parsed CSS types 2023-06-02 17:46:35 +02:00
overflow-x-hidden-with-border-radius.html LibWeb: Apply border-radius clip only if overflow hidden for both axis 2023-03-19 19:04:51 +01:00
percentage-max-height-when-containing-block-has-indefinite-height.html LibWeb: Treat % max-height as none when containing block size indefinite 2023-06-14 17:08:15 +02:00
picture-source-media-query.html LibWeb: Skip children based on media when updating the source set 2023-05-28 12:11:10 +02:00
place-content-shorthand-property.html LibWeb: Add support for parsing place-content shorthand CSS property 2023-06-01 09:06:13 +02:00
position-absolute-from-edges.html LibWeb: Add layout tests for floats, margins collapsing and positioning 2023-02-06 20:42:14 +01:00
position-absolute-ignores-padding-of-position-relative-floating-parent.html Tests/LibWeb: Add layout test for layout fix in PR #15780 2023-03-28 19:45:00 +01:00
position-absolute-top-left.html LibWeb: Add layout tests for floats, margins collapsing and positioning 2023-02-06 20:42:14 +01:00
pseudo-element-with-custom-properties-2.html LibWeb: Resolve CSS custom properties on pseudo elements 2023-05-17 20:37:29 +02:00
pseudo-element-with-custom-properties.html LibWeb: Resolve CSS custom properties on pseudo elements 2023-05-17 20:37:29 +02:00
replaced-box-with-vertical-margins.html LibWeb/Tests: Remove image from a test 2023-03-14 18:49:37 +01:00
resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.html LibWeb: Resolve cyclic % against 0 when available size is min-content 2023-06-08 13:54:11 +02:00
resolve-height-of-containing-block.html LibWeb: Fix width calculation for floating replaced elements 2023-05-26 21:20:56 +02:00
set-margin-of-floating-box.html LibWeb: Set margin, padding and border for replaced boxes 2023-05-30 10:09:47 +02:00
svg-preserve-aspect-ratio.html Tests: Add layout test for SVG preserveAspectRatio 2023-04-17 07:32:31 +02:00
svg-transforms-and-viewboxes.html Tests: Add layout test for SVG transforms and viewboxes 2023-04-12 07:40:22 +02:00
text-align-justify-with-forced-break.html LibWeb: Don't justify text lines that end in a forced break 2023-06-10 21:46:33 +02:00
text-align-overflow.html LibWeb: Avoid text-aligning content that is too long for its line box 2023-06-02 05:21:22 +02:00
text-indent.html LibWeb: Basic support for CSS text-indent: <length-percentage> 2023-05-15 19:31:09 +02:00
tolerate-css-percentage-overshoot.html LibWeb: Round lengths to 3 decimals after resolving from percentage 2023-06-01 18:13:42 +02:00
vertical-padding-relative-to-cb-width.html Tests/LibWeb: Use SerenitySans in new layout tests 2023-03-10 18:10:33 +01:00