1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-16 00:01:01 +00:00
serenity/Tests/LibWeb/Layout/expected
Aliaksandr Kalenik 33294aea86 LibWeb: Apply shadow root style sheets in StyleComputer
Now, if an element belongs to a shadow tree, we use only the style
sheets from the corresponding shadow root during style computation,
instead of using all available style sheets as was the case
previously.

The only exception is the user agent style sheets, which are still
taken into account for all elements.

Tests/LibWeb/Layout/input/input-element-with-display-inline.html
is affected because style of document no longer affects shadow tree
of input element, like it is supposed to be.

Co-authored-by: Simon Wanner <simon+git@skyrising.xyz>
2024-03-09 16:13:32 +01:00
..
block-and-inline LibWeb: Make button flex wrapper inherit min-height property 2024-01-28 14:48:33 +01:00
css-values LibWeb/CSS: Resolve percentages in NumericCalculationNode 2024-01-08 15:57:42 +00:00
flex LibWeb: Account for margin and padding of aligned abspos flex items 2024-03-09 16:02:17 +01:00
grid LibWeb: Respect "auto flow" property in grid layout 2024-03-06 07:23:27 +01:00
misc LibWeb: Treat null as empty string in CSSStyleDeclaration::internal_set 2024-01-21 21:03:39 +01:00
svg LibWeb: Update SVG <circle> element to use geometry properties 2024-03-04 10:50:32 +01:00
table LibWeb: Account for absolutely positioned table wrappers 2024-03-07 08:09:04 +01:00
abspos-box-with-replaced-element.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flex-container-with-auto-height.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flex-margin-limits-1.txt LibWeb: Account for margin and padding of aligned abspos flex items 2024-03-09 16:02:17 +01:00
abspos-flex-margin-limits-2.txt LibWeb: Account for margin and padding of justified abspos flex items 2024-03-09 16:02:17 +01:00
abspos-flexbox-with-auto-height.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
abspos-flexbox-with-auto-width.txt LibWeb: Compute content width before static position for abspos elements 2024-03-09 16:02:17 +01:00
abspos-image-with-min-height-constraint.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
abspos-not-replaced-multiple-auto-variants.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
abspos-with-percentage-insets.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
acid1.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
anonymous-wrappers-continue-to-inherit-style-after-change.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
aspect-ratio-auto-and-ratio.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
aspect-ratio-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
aspect-ratio-ratio.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
automatic-height-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
automatic-width-of-non-replaced-abspos-element-must-not-be-negative.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
blank.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
blockify-layout-internal-box-without-crashing.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
box-sizing-border-box-for-definite-sizes-without-layout.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
br-should-not-generate-pseudo-before.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
calc-font-size-with-percentages.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
calc-negate-length.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
calc-negative-border-width.txt LibWeb: Clamp calculated border width values to zero 2024-02-24 21:57:24 +01:00
calc-with-fr.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-all-unset.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-calc-border-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-dir-selector.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-ex-unit.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-font-size-calc.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-font-size-math.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-host-selector-gets-parsed.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-import-rule.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-imported-sheet-with-media-rule.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-invalid-psuedo-compound-selector.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-line-height-percentage-inheritance.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-logical-inset-properties.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-namespace-rule-matches.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-namespace-rule-no-match.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-namespace-tag-name-selector.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-namespace-universal-selector.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-pseudo-element-blockification.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-pseudo-element-should-not-be-affected-by-inline-style.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-pseudo-element-should-not-be-affected-by-presentational-hints.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-quotes-nesting.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
css-revert.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-snap-a-length-as-a-border-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
css-text-transform-math-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
css-var-in-calc-block.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
details-closed.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
details-open.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
display-contents-with-in-children.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
display-table-inline-children.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
div_align.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
div_align_nested.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
document-write-incomplete-tag.txt LibWeb: Stop parsing after document.write at the insertion point 2024-02-20 17:04:36 +01:00
dont-crash-on-relayout-that-rewraps-text.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
element-use-pseudo-element.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-abspos-item-with-preceding-whitespace.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-constained-wrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-constrained-nowrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-height-constrained-width-constrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-height-constrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-height-unconstrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-item-with-auto-height-and-max-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-item-with-auto-height-depending-auto-width-with-max-width-constraint.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-column-item-with-auto-height-depending-on-auto-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-constrained-nowrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-constrained-wrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-container-width-constrained.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-frozen-items-should-be-respected.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-grow-0-column.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-grow-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-grow-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-auto-height-with-wrap.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-on-row-with-intrinsic-aspect-ratio.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-item-vertical-padding-relative-to-flex-container-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-item-with-cyclic-percentage-height.txt LibWeb: Don't mark heights as definite in set_content_height() 2024-02-21 17:54:05 +01:00
flex-item-with-intrinsic-aspect-ratio.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
flex-margin-auto-justify-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-row.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-shrink-1.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-shrink-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
flex-shrink-3.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
floating-non-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
floating-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
font-fractional-size.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
font-size-legacy.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
font-size-zero.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
font-with-many-normal-values.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
getComputedStyle-on-unconnected-element.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
height-min-max-fit-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
height-of-absolute-position-box-with-padding.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
html-encoding-detection-crash.txt LibWeb: Fix crash in HTML encoding detection when handling non-ASCII 2023-12-30 13:49:50 +01:00
image-display-block-margin-auto.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
image-with-multiple-constraint-violations.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
img-with-box-sizing-border-box-and-padding.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
img-with-percentage-max-width-and-indefinite-containing-block-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
img-with-percentage-max-width-and-min-content-containing-block-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
incomplete-input-no-newline-at-eof-should-not-crash.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inline-block-treat-100pct-width-as-auto.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inline-size.txt LibWeb: Add support for the inline-size CSS property 2024-03-09 16:02:17 +01:00
input-element-with-display-inline.txt LibWeb: Apply shadow root style sheets in StyleComputer 2024-03-09 16:13:32 +01:00
input-file.txt LibWeb: Create a shadow tree for <input type=file> elements 2024-02-26 14:18:49 +01:00
input-image.txt LibWeb: Support setting dimensions on input image buttons 2024-02-21 19:52:59 +01:00
input-text-node-invalidation-on-value-change.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
inset-shorthand-property.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
lh-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
lh-2.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
line-height-calc-number.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
link-sheet.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
media-query-resolution.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
negative-max-size.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
non-floating-non-replaced-element-percentage-padding-against-indefinite-width.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
nowrap-and-no-line-break-opportunity.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
ordered-list.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
overflow-x-hidden-with-border-radius.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
percentage-max-height-when-containing-block-has-indefinite-height.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
picture-source-media-query.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
place-content-shorthand-property.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
position-absolute-from-edges.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
position-absolute-ignores-padding-of-position-relative-floating-parent.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
position-absolute-top-left.txt LibWeb: Skip out-of-flow boxes when wrapping inlines in anonymous block 2023-12-11 13:19:12 +01:00
position-empty-pseudo-elements.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
pre.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
pseudo-element-with-custom-properties-2.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
pseudo-element-with-custom-properties.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
replaced-box-with-vertical-margins.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
replaced-within-max-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
resolve-cyclic-percentage-against-zero-when-available-size-is-min-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
resolve-height-of-containing-block.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
select-with-option-selected.txt LibWeb: Set select element text when an option is initially selected 2024-01-29 20:05:14 +00:00
set-margin-of-floating-box.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
shadow-tree-removed-from-dom-receives-event.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
space-is-soft-line-break-opportunity.txt LibWeb: Make inline paintables own their fragments 2024-01-13 18:46:41 +01:00
style-invalidation-line-height-propagation.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
svg-preserve-aspect-ratio.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
svg-text-with-viewbox.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
svg-transforms-and-viewboxes.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
table-fixup-with-rowspan.txt LibWeb: Remove invalid assertion in table fixup 2024-01-23 10:17:00 +01:00
text-align-justify-with-forced-break.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
text-align-overflow.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
text-indent.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
textarea-content.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
textnode-width-bitmap-font.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
tolerate-css-percentage-overshoot.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
transform-calc-length-values.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
utf-16-be-xhtml-file-should-decode-correctly.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
vertical-align-middle.txt LibWeb: Improve support for 'vertical-align: middle' 2024-02-28 16:11:05 -05:00
vertical-padding-relative-to-cb-width.txt LibWeb: Use separate structure to represent fragments in paintable tree 2024-01-13 10:53:38 +01:00
viewport-overflow-propagation-1.txt LibWeb: Add ViewportPaintable to represent viewports in the paint tree 2023-08-20 05:02:59 +02:00
viewport-overflow-propagation-2.txt LibWeb: Bring html element height calculation closer to the spec 2023-08-31 21:43:58 +02:00
zero-size-replaced-box-with-aspect-ratio.txt LibWeb: Fix division by zero in solve_replaced_size_constraint() 2024-02-20 20:35:34 +01:00
zero_percent_width_nested_table.txt LibWeb: Avoid division by zero when computing table width 2024-01-21 16:11:25 +01:00