1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 19:45:10 +00:00
serenity/Tests/LibWeb/Layout/input
Andreas Kling 7abb182fa3 LibWeb: Honor negative margins on atomic inlines
Sizing already worked correctly, but before this change, we were too
aggressive with inserting line breaks when negative margins would
still an atomic inline to fit on the line.
2023-12-10 11:09:22 +01:00
..
block-and-inline LibWeb: Honor negative margins on atomic inlines 2023-12-10 11:09:22 +01:00
css-values LibWeb: Don't assume rect() contents are Tokens 2023-11-22 09:45:51 +01:00
flex LibWeb: Don't offset abspos children of flex container by padding twice 2023-10-08 09:06:30 +02:00
grid LibWeb: Don't assume grid size is always Function or Token 2023-11-22 09:45:51 +01:00
misc Tests/LibWeb: Remove the "scroll.html" layout test for now 2023-11-06 09:42:41 +01:00
svg LibWeb: Check for invalid SVG viewBox sizes 2023-11-11 22:41:57 +01:00
table LibWeb: Support cellpadding attribute on table elements 2023-11-21 16:54:02 +01: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-box-with-replaced-element.html LibWeb: Do not treat size of abspos items as definite 2023-06-22 18:18:04 +02:00
abspos-flex-container-with-auto-height.html LibWeb: Don't use BFC auto height for non-BFC abspos elements 2023-06-20 13:42:31 +02:00
abspos-flexbox-with-auto-height.html LibWeb/Tests: Port height:auto abspos flex container test to layout test 2023-08-21 13:51:12 +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
abspos-not-replaced-multiple-auto-variants.html LibWeb: Fix absolute positioning issues 2023-07-08 06:13:56 +02:00
abspos-with-percentage-insets.html LibWeb: Resolve % top and bottom insets against containing block height 2023-07-08 10:51:12 +02:00
acid1.html Tests/LibWeb: Add ACID1 as a layout test 2023-03-15 11:43:54 +01:00
anonymous-wrappers-continue-to-inherit-style-after-change.html LibWeb: Update anonymous wrappers when applying style changes 2023-07-03 13:37:14 +02: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
br-should-not-generate-pseudo-before.html LibWeb: Don't generate ::before/::after for BR elements 2023-09-14 21:46:28 +02:00
calc-font-size-with-percentages.html LibWeb: Resolve percentages in calc() for font-size 2023-10-06 08:23:03 +02:00
calc-negate-length.html LibWeb: Fix off-by-one in CSS calc() "negate" operation 2023-05-17 07:40:17 +02:00
calc-with-fr.html LibWeb/CSS: Parser should treat calc() with flex values as invalid 2023-10-11 07:07:29 +02:00
css-all-unset.html LibWeb: Implement the CSS all property 2023-07-29 19:16:08 +02:00
css-calc-border-width.html LibWeb: Match math function values to properties in correct order 2023-07-30 14:18:13 +02:00
css-dir-selector.html LibWeb: Implement the :dir() selector pseudo-class 2023-08-21 13:51:56 +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-font-size-math.html LibWeb: Implement font-size: math 2023-09-11 17:03:22 +01:00
css-host-selector-gets-parsed.html LibWeb: Parse :host() selector 2023-08-05 13:23:12 +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-invalid-psuedo-compound-selector.html LibWeb: Fix crash parsing an invalid pseudo compound selector 2023-08-14 11:43:57 +01: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-logical-inset-properties.html LibWeb: Add logical CSS properties for insets 2023-07-14 05:55:32 +02:00
css-namespace-rule-matches.html LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
css-namespace-rule-no-match.html LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
css-namespace-tag-name-selector.html LibWeb: Add namespaces to Universal and TagName selectors 2023-08-08 20:49:45 +01:00
css-namespace-universal-selector.html LibWeb: Add namespaces to Universal and TagName selectors 2023-08-08 20:49:45 +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-quotes-nesting.html LibWeb: Track quote-nesting level while building the layout tree 2023-09-28 14:49:10 +02:00
css-revert.html LibWeb: Implement the CSS revert keyword 2023-07-29 19:16:08 +02:00
css-snap-a-length-as-a-border-width.html LibWeb: Add and use the "snap a length as a border width" algorithm 2023-07-30 22:18:26 +01:00
css-text-transform-math-auto.html LibWeb: Implement text-transform: math-auto 2023-09-11 17:03:22 +01:00
css-var-in-calc-block.html LibWeb: Expand CSS var() inside calc() paren blocks 2023-06-19 17:54:07 +02:00
details-closed.html LibWeb: Create a shadow tree for details elements with manual slots 2023-09-13 13:45:47 +02:00
details-open.html LibWeb: Create a shadow tree for details elements with manual slots 2023-09-13 13:45:47 +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
dont-crash-on-relayout-that-rewraps-text.html LibWeb: Prune old paintable pointers from layout tree after relayout 2023-08-29 17:05:16 +02:00
flex-abspos-item-with-preceding-whitespace.html LibWeb: Adjust 4 abspos tests to highlight errors 2023-07-08 06:13:56 +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
floating-non-replaced-element-percentage-padding-against-indefinite-width.html LibWeb: Resolve padding against 0 and not inf for indefinite width more 2023-06-21 06:13:05 +02:00
floating-replaced-element-percentage-padding-against-indefinite-width.html LibWeb: Resolve padding against 0 and not inf for indefinite width more 2023-06-21 06:13:05 +02:00
font-fractional-size.html LibWeb: Allow fractional font sizes in CSS 2023-09-15 18:26:37 +02:00
font-size-legacy.html LibWeb: Support size attribute on font elements 2023-11-21 16:54:02 +01:00
font-size-zero.html LibWeb: Allow font-size: 0 2023-09-05 14:23:35 +02:00
font-with-many-normal-values.html LibWeb: Support CSS font shorthand with up to 4 consecutive normal 2023-07-04 16:25:23 +02: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-min-max-fit-content.html LibWeb: Accept height: {min,max,fit}-content 2023-08-20 19:37:50 +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
img.webp LibWeb: Do not treat size of abspos items as definite 2023-06-22 18:18:04 +02:00
inline-block-treat-100pct-width-as-auto.html LibWeb/Tests: Move unresolvable % width on inline-block to layout test 2023-08-21 13:51:12 +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
input-text-node-invalidation-on-value-change.html LibWeb: Add input number up down UI buttons 2023-12-09 21:49:38 +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
media-query-resolution.html LibWeb: Support media queries with the resolution feature 2023-08-25 20:10:47 +02:00
negative-max-size.html LibWeb: Bounds-check parsed CSS types 2023-06-02 17:46:35 +02:00
non-floating-non-replaced-element-percentage-padding-against-indefinite-width.html LibWeb: Resolve padding against 0 and not inf for indefinite width more 2023-06-21 06:13:05 +02:00
nowrap-and-no-line-break-opportunity.html LibWeb: Improve the line breaking algorithm 2023-08-21 19:31:00 +02:00
ordered-list.html LibWeb: Add ol start and li value attributes support 2023-11-09 16:10:54 +01: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: Adjust 4 abspos tests to highlight errors 2023-07-08 06:13:56 +02: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
position-empty-pseudo-elements.html LibWeb: Include anonymous boxes with no lines into computing BFC height 2023-08-02 17:35:54 +02:00
pre.html LibWeb: Fix whitespace getting trimmed incorrectly 2023-07-17 21:47:34 +02: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
replaced-within-max-content.html LibWeb: Resolve replaced element size constraints using aspect ratios 2023-09-04 12:40:17 +02: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
shadow-tree-removed-from-dom-receives-event.html LibWeb: Do not assume a shadow root has a host 2023-12-04 01:33:57 +01:00
space-is-soft-line-break-opportunity.html LibWeb: Improve the line breaking algorithm 2023-08-21 19:31:00 +02:00
svg-preserve-aspect-ratio.html Tests: Add layout test for SVG preserveAspectRatio 2023-04-17 07:32:31 +02:00
svg-text-with-viewbox.html LibWeb: Layout SVG <text> elements during layout (not while painting) 2023-10-30 19:44:54 +01: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
textarea-content.html LibWeb: Stop crashing when textarea element is modified before insertion 2023-09-09 13:52:01 +01:00
textnode-width-bitmap-font.html LibWeb: Don't add an extra glyph spacing to width of TextNode 2023-11-04 17:39:04 +01:00
tolerate-css-percentage-overshoot.html LibWeb: Round lengths to 3 decimals after resolving from percentage 2023-06-01 18:13:42 +02:00
transform-calc-length-values.html LibWeb: Resolve calc() values in CSS transform 2023-07-15 11:35:16 +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
viewport-overflow-propagation-1.html LibWeb: Propagate overflow modes from <html> or <body> to viewport 2023-08-03 13:21:26 +02:00
viewport-overflow-propagation-2.html LibWeb: Propagate overflow modes from <html> or <body> to viewport 2023-08-03 13:21:26 +02:00