1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 15:28:11 +00:00
serenity/Tests/LibWeb/Layout/input/block-and-inline
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
..
abspos-grid-with-definite-width.html LibWeb: Use inner available space to calculate auto height of abspos 2023-11-15 11:26:14 +01:00
abspos-only-with-inset-left.html LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
abspos-with-auto-margins-in-inline-axis.html LibWeb: Resolve auto margins on abspos elements in more cases 2023-06-13 17:47:50 +02:00
abspos-with-bottom-right-insets-relative-to-box-with-paddings.html LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
abspos-with-percentage-height-resolved-against-padding-box-of-containing-block.html LibWeb: Use correct reference for abspos elements with % height sizes 2023-06-17 20:35:19 +02:00
abspos-without-insets-relative-top-box-with-padding-top.html LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
abspos-without-insets.html LibWeb: Do not compensate padding for abspos boxes with static position 2023-11-15 23:44:05 +01:00
atomic-inline-with-percentage-vertical-align.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
atomic-inline-with-white-space-nowrap.html LibWeb: Don't break for atomic inline elements in white-space: nowrap 2023-09-16 15:21:16 +02:00
automatic-size-of-block-container-with-inline-children-and-nonempty-floating-child.html LibWeb: Take floats into account when measuring automatic width of IFC 2023-05-03 19:49:43 +02:00
bfc-consider-all-currently-stacked-floats.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
bfc-float-left-break-vertically-2.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
bfc-float-left-break-vertically.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
block-level-floating-box-with-clearance.html LibWeb: Allow block level boxes to be floated and have clearance 2023-09-12 12:11:53 +02:00
block-with-fit-content-width-constraints.html LibWeb: Accept fit-content as a value for min-width and max-width 2023-05-27 05:47:54 +02:00
block-with-fit-content-width.html LibWeb: Support fit-content width for block-level boxes 2023-05-27 05:47:54 +02:00
block-with-hidden-overflow-after-float.html LibWeb: Handle overlapping floating box and left margin 2023-07-28 12:44:09 +02:00
block-with-hidden-overflow-after-sibling-float.html LibWeb: Handle overlapping floating box and left margin 2023-07-28 12:44:09 +02:00
block-with-max-content-width.html LibWeb: Support max-content for width, min-width and max-width 2023-05-29 21:29:25 +02:00
block-with-min-content-width.html LibWeb: Support min-content for width, min-width and max-width 2023-05-29 21:29:25 +02:00
block-with-negative-margin-and-no-intruding-floats.html LibWeb: Account for negative margins when calculating float intrusion 2023-06-04 18:14:12 +02:00
box-with-clearance-and-margin-top.html LibWeb: Reset margin collapsing state only if box indeed add clearance 2023-05-26 18:11:35 +02:00
button-baseline-align.html LibWeb: Derive baseline from rightmost descendant 2023-08-23 05:24:55 +02:00
button-image-only.html LibWeb: Add a table row to the layout tree for buttons 2023-08-24 07:08:21 +02:00
button-should-have-vertically-aligned-content.html LibWeb: Vertically align HTML Button content 2023-08-09 18:34:17 +02:00
button-width.html LibWeb: Use fit-content width if button's computed width is "auto" 2023-09-12 17:26:30 +02:00
button-with-abspos-pseudo-element.html LibWeb: Use flex layout for button content alignment 2023-09-03 12:33:10 +02:00
button-with-after-pseudo.html LibWeb: Add boxes for before/after pseudos post button layout tweak 2023-09-11 15:19:56 +02:00
button-with-before-pseudo.html LibWeb: Add boxes for before/after pseudos post button layout tweak 2023-09-11 15:19:56 +02:00
button-with-block-content-baseline-align.html LibWeb: Derive baseline from rightmost descendant 2023-08-23 05:24:55 +02:00
button-with-multiple-words-text-node-label.html LibWeb: Fix buttons with TextNode label 2023-08-11 10:02:27 +02:00
button-with-text-node-label-and-font-size.html LibWeb: Copy button style properties for generated table and cell 2023-08-12 13:36:37 +02:00
button-with-text-node-label.html LibWeb: Fix buttons with TextNode label 2023-08-11 10:02:27 +02:00
clear-both-from-inline-formatting-context.html LibWeb: Better handling of floating boxes from inline formatting context 2023-08-01 07:38:19 +02:00
clear-both-without-introducing-clearance.html LibWeb: Reset margin collapsing state only if box indeed add clearance 2023-05-26 18:11:35 +02:00
clearfix.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
flex-container-should-avoid-overlapping-floats.html LibWeb: Boxes that establish FFC or GFC should avoid overlapping floats 2023-09-22 16:48:28 +02:00
float-1.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
float-2.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
float-3.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
float-4.html LibWeb: Fix alternating-sides float positioning 2023-07-02 18:43:20 +02:00
float-clear-by-line-break.html LibWeb: Better handling of floating boxes from inline formatting context 2023-08-01 07:38:19 +02:00
float-left-and-right-with-justified-text-in-between.html LibWeb: Make text justification work between floats 2023-05-16 14:35:10 +02:00
float-left-and-right-with-text-in-between.html LibWeb: Rewrite calculation of available space between floats 2023-05-16 14:35:10 +02:00
float-max-content-containing-block-flex-display.html LibWeb: Fix handling of max-content containing block for floating box 2023-08-13 14:43:41 +02:00
float-max-content-containing-block.html LibWeb: Fix handling of max-content containing block for floating box 2023-08-13 14:43:41 +02:00
float-should-avoid-inline-block.html LibWeb: Use actual line height to calculate float y in IFC 2023-09-09 17:05:22 +02:00
float-stress-1.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
float-stress-2.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
float-stress-3.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
floats-and-negative-margins.html LibWeb: Sum horizontal margins to calculate space used by floats 2023-05-24 18:58:42 +02:00
floats-with-negative-percentage-margins.html LibWeb: Ensure preceding offset is non-negative in float_box() 2023-09-12 12:11:53 +02:00
forced-break-stops-non-whitespace-sequence.html LibWeb: Move line breaking test 2023-08-28 10:09:07 +02:00
grid-container-should-avoid-overlapping-floats.html LibWeb: Boxes that establish FFC or GFC should avoid overlapping floats 2023-09-22 16:48:28 +02:00
html-element-height-quirks-mode-off.html LibWeb: Bring html element height calculation closer to the spec 2023-08-31 21:43:58 +02:00
html-element-height-quirks-mode-on.html LibWeb: Bring html element height calculation closer to the spec 2023-08-31 21:43:58 +02:00
ifc-float-left-and-sibling-with-margin-left.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
inline-block-baseline-1.html LibWeb: Derive box baseline from last child *with line boxes* 2023-07-25 13:42:32 +02:00
inline-block-baseline-2.html LibWeb: Derive box baseline from last child *with line boxes* 2023-07-25 13:42:32 +02:00
inline-block-contained-by-abspos-element.html LibWeb: Fix min-content width calculation in dimension_box_on_line() 2023-10-16 21:44:48 +02:00
inline-block-percentage-max-width.html LibWeb: Ignore % max-width if box is sized under max-content constraint 2023-08-18 05:08:52 +02:00
inline-block-with-max-width-fit-content.html LibWeb: Fully resolve max-width values on inline-block elements 2023-07-15 12:30:07 +02:00
inline-block-with-negative-margin-left.html LibWeb: Honor negative margins on atomic inlines 2023-12-10 11:09:22 +01:00
inline-block-with-negative-margin-right.html LibWeb: Honor negative margins on atomic inlines 2023-12-10 11:09:22 +01:00
inline-block-with-percentage-height-and-auto-height-of-containing-block.html LibWeb: Fix inline-block percentage height calculation 2023-07-16 15:00:30 +02:00
inline-box-positioned-with-top-left.html LibWeb: Compute inset for relative positioned inline-block 2023-04-28 18:12:02 +02:00
inline-box-with-vertical-margins-vertical-align-top.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
inline-box-with-vertical-margins.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
inline-node-not-inserted-into-generated-box.html LibWeb: Stop inserting inline nodes into a generated wrapper box 2023-10-11 07:05:23 +02:00
intrinsic-sizing-with-min-width-specified.html LibWeb: Fix intrinsic sizing when min or max width is specified 2023-05-02 18:50:26 +02:00
join-out-of-flow-box-with-previous-sibling-if-wrapped-in-anonymous-box.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
list-markers-intruded-by-float.html LibWeb: Account for float intrusions in list marker x offset 2023-08-26 19:07:56 +02:00
margin-collapse-1.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
margin-collapse-2.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
margin-collapse-3.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
margin-collapse-4.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
margin-collapse-5.html LibWeb: Prevent margin double-counting with "collapse through" boxes 2023-04-27 07:52:12 +02:00
margin-collapse-6.html LibWeb: Make sure collapsed margins are not ignored if box creates FC 2023-05-22 12:51:24 +02:00
margin-must-not-collapse-across-nested-bfc.html LibWeb: Make sure that margins don't collapse across a nested BFC 2023-05-19 15:09:09 +02:00
margin-padding-block-inline-start.html LibWeb: Add CSS logical property aliases for margin and padding sides 2023-06-06 21:02:04 +02:00
margin-padding-block-inline.html LibWeb: Add naive support for {margin,padding}-{block,inline} 2023-06-07 11:20:42 +02:00
max-width-for-box-with-inline-children.html LibWeb: Set max-width for inline child boxes after inside layout 2023-08-02 05:27:56 +02:00
max-width-must-not-expand-element.html LibWeb: Prevent max-width expanding the width 2023-07-12 11:44:57 +02:00
max-width-on-child-block-with-width-auto-contributes-to-intrinsic-size-of-parent.html LibWeb: Ignore preferred width when calculating intrinsic width of block 2023-04-06 16:47:40 +02:00
max-width-percentage-100-border-box.html LibWeb: Remove early resolve to auto while calculating border-box width 2023-05-05 10:01:28 +02:00
max-width-percentage-100.html LibWeb: Remove setting length to 0px if it is not definite 2023-05-05 06:20:44 +02:00
max-width-percentage-containing-block.html LibWeb: Resolve block max-width percentage against containing block 2023-10-29 19:35:02 +01:00
min-width-for-box-with-inline-children.html LibWeb: Set min-width for inline child boxes after inside layout 2023-08-05 09:25:24 +02:00
narrow-bfc-width-to-avoid-overlap-with-floats.html LibWeb: Narrow width of boxes that create BFC to avoid overlap of float 2023-05-04 06:14:58 +02:00
percentage-min-height-with-containing-block-padding.html LibWeb: Use padding box of containing block to resolve % height size 2023-06-18 20:29:40 +02:00
percentage-min-height.html LibWeb: Use padding box of containing block to resolve % height size 2023-06-18 20:29:40 +02:00
percentage-min-width-with-max-content-containing-block-width.html LibWeb: Treat non-finite containing block width as zero for percentages 2023-07-01 09:06:49 +02:00
percentage-padding-on-inline-block-with-indefinite-containing-block-size.html LibWeb: Resolve inline-block percentage padding against 0, not infinity 2023-07-06 14:25:40 +01:00
relpos-block.html LibWeb: Resolve used insets for floating elements 2023-07-04 06:43:53 +02:00
relpos-float.html LibWeb: Resolve used insets for floating elements 2023-07-04 06:43:53 +02:00
relpos-inline-element-js-offsets.html LibWeb: Make HTMLElement.offset{Left,Top} work on inline elements 2023-08-15 16:37:11 +02:00
relpos-inline-elements.html LibWeb: Resolve relative offsets *once* after layout 2023-08-15 16:37:11 +02:00
single-br-inline-layout.html Tests/LibWeb: Move block & inline layout tests into own directory 2023-04-06 16:47:40 +02:00
small-percentage-margin.html LibWeb: Add Length::resolved() overload for CSSPixels 2023-08-30 20:09:15 +02:00
width-auto-margins-set-zero-if-containing-size-smaller.html LibWeb: Zero out margins if width is not 'auto' in BFC's compute_width 2023-05-05 13:26:41 +02:00