ladybird/Tests/LibWeb/Text/expected/css
Andreas Kling 02a642b87b LibWeb: Prevent infinitely growing font size due to rem units in root
A font-size with rem units need to resolve against the default font
metrics for the root element, otherwise every time we compute style,
the reference value for rem units grows.

This fixes an issue where text on some web pages would grow every time
there was a relayout. This was very noticeable on https://proton.me/

Fixes #339
2025-03-05 22:46:06 +01:00
..
animating-transform-with-calc-crash.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
animating-unresolved-properties-crash.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
attr-serialization.txt LibWeb/CSS: Insert whitespace between tokens in serialized UnresolvedSV 2024-10-16 08:34:31 +02:00
attribute-selector-case-sensitivity.txt LibWeb: Match attribute selectors case insensitively in XML documents 2024-08-19 09:03:22 +02:00
box-shadow-resolves-length-functions.txt LibWeb: Properly serialize shadow colors 2024-03-03 19:50:25 +01:00
calc-coverage.txt LibWeb/CSS: Remove an ad-hoc simplification step in calc() parsing 2025-03-05 12:05:45 +00:00
calc-missing-context.txt LibWeb: Handle calculations without a context better 2024-10-16 16:39:47 +02:00
changing-animation-name-crash.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
constructed-style-sheets.txt LibWeb: Evaluate media rules for adopted style sheets 2024-04-29 08:10:38 +02:00
css-hsl-with-calc.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
CSSConditionRule-conditionText-readonly.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
cssFloat-property.txt LibWeb: Remove unnecessary FIXME marker for CSSStyleDeclaration.cssFloat 2024-06-14 20:45:37 +02:00
CSSPropertyRule-invalid-rules.txt LibWeb: Parse @property CSS directives 2024-10-23 06:55:37 +01:00
CSSPropertyRule-properties-readonly.txt LibWeb: Parse @property CSS directives 2024-10-23 06:55:37 +01:00
CSSRule-type.txt LibWeb/CSS: Return 0 from CSSRule.type for non-spec types 2024-10-30 17:30:58 +01:00
CSSStyleDeclaration-all-supported-properties-and-default-values.txt LibWeb/CSS: Treat 'mask' as a longhand property 2025-03-05 12:10:02 +00:00
CSSStyleDeclaration-custom-properties-2.txt LibWeb: Fix underinvalidation when inline style has custom properties 2025-01-28 11:38:06 +00:00
CSSStyleDeclaration-custom-properties.txt LibWeb: Allow custom properties in getPropertyPriority() 2024-11-21 13:16:08 +01:00
CSSStyleDeclaration-has-indexed-property-getter.txt LibWeb/CSS: Treat 'mask' as a longhand property 2025-03-05 12:10:02 +00:00
CSSStyleDeclaration-modify-computed.txt LibWeb: Return error on modification of a computed CSS style declaration 2024-08-05 09:55:50 +02:00
CSSStyleRule-set-selectorText.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
CSSStyleSheet-addRule.txt LibWeb: Implement CSSStyleSheet.addRule() 2024-02-24 21:59:28 +01:00
CSSStyleSheet-constructor.txt LibWeb: Align StyleSheet title getter with the specification 2024-04-29 08:10:38 +02:00
CSSStyleSheet-removeRule.txt LibWeb: Remove first rule if no argument is given for remove_rule() 2024-02-24 21:59:28 +01:00
CSSStyleSheet-replace.txt LibWeb: Implement CSSStyleSheet.replace() 2024-02-24 21:59:28 +01:00
CSSStyleSheet-replaceSync.txt LibWeb: Implement CSSStyleSheet.replaceSync() 2024-02-24 21:59:28 +01:00
cubic-bezier-infinite-slope-crash.txt LibWeb: Use machine epsilon when approximating cubic bezier 2024-11-03 17:35:20 +01:00
custom-ident-parsing.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
custom-properties-from-all-layers.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
dir-pseudo-on-form-associated-element.txt LibWeb: Cast to the correct type in Element::auto_directionality() 2024-05-28 09:51:07 +02:00
element-opacity-change-invalidation.txt
fit-content-parsing-with-whitespace.txt LibWeb/CSS: Allow whitespace inside fit-content() function 2025-02-27 13:30:36 +00:00
font-face-serialization.txt LibWeb: Serialize more @font-face descriptors 2024-10-02 16:28:55 +01:00
font-family-with-dash-prefix.txt
font-implicitly-reset-properties.txt LibWeb/CSS: Make font implicitly reset some properties 2025-02-12 16:00:42 +00:00
font-language-override-short.txt LibWeb: Use correct specifier to pad font language override value 2024-11-18 17:38:03 -05:00
font-size-rem-units-on-root-element.txt LibWeb: Prevent infinitely growing font size due to rem units in root 2025-03-05 22:46:06 +01:00
FontFace-binary-data.txt LibWeb: Support loading FontFaces constructed with binary data 2024-05-14 12:31:10 -06:00
FontFace-load-urls.txt LibWeb: Implement FontFace.load() for url() based font sources 2024-05-16 08:02:43 +02:00
FontFace.txt LibWeb: Implement or stub FontFace interface's attribute getters/setters 2024-05-11 07:30:29 +01:00
FontFaceSet-load.txt LibWeb: Begin implementing FontFaceSet.prototype.load 2024-10-24 17:50:19 +02:00
FontFaceSet-setlike.txt LibWeb: Mark FontFaceSet as a setlike IDL interface 2024-05-23 10:57:34 +02:00
getComputedStyle-display-short-serialization.txt
getComputedStyle-item-does-not-return-invalid-propertyid-on-length-boundary.txt LibWeb: Fix OBOE in bounds check of ResolvedCSSStyleDeclaration#item 2024-11-14 19:50:22 +01:00
getComputedStyle-no-paintable-box.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
getComputedStyle-print-all.txt LibWeb/CSS: Treat 'mask' as a longhand property 2025-03-05 12:10:02 +00:00
getComputedStyle-pseudo-element.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
getComputedStyle-relative-property-values.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
getComputedStyle-transform.txt LibWeb: Add missing CSS Transforms Module Level 2 functions 2024-01-10 09:48:25 +01:00
getComputedStyle-url-var-serialization.txt LibWeb: Preserve opening quotation in string token original source text 2025-02-05 16:02:09 +00:00
hsl-with-number-percentage-calc.txt LibWeb/CSS: Correct matching of calc() against <number-percentage> 2024-10-30 20:58:16 +01:00
import-rule-shift-jis.txt LibWeb: Allow CSS @import rule to import non-UTF-8 style sheets 2024-10-12 19:20:22 +02:00
insert-import-rule-into-constructed-stylesheet.txt LibWeb: Disallow inserting @import rules into a constructed stylesheet 2024-02-24 21:59:28 +01:00
insert-rule-in-adopted-style-sheet.txt LibWeb: Fix insert/delete rule invalidation for adopted style sheets 2025-01-13 23:03:07 +01:00
invalid-selector-in-has.txt LibWeb/CSS: Disallow :has() and pseudo-elements in :has() when parsing 2024-11-14 19:51:45 +01:00
invalidate-sibling-affected-by-has.txt LibWeb: Check all siblings in ancestors chain while invalidating :has() 2025-02-12 16:15:14 +01:00
keyframes-css-rules.txt LibWeb: Store CSS color name in CSSRGB 2024-11-25 11:51:50 +01:00
layer-rule.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
legacy-color-value.txt
math-depth.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
media-query-serialization-basic.txt LibWeb: Serialize empty media rules with a single newline 2024-05-01 07:21:21 +02:00
move-loaded-link-stylesheet-between-documents.txt LibWeb: Skip HTMLLinkElement resource fetching for documents without BC 2024-04-25 09:31:01 +02:00
parse-nested-pseudo-selectors-as-selectors.txt LibWeb: Add a CSS parsing test for selectors containing ':' in @media 2024-10-14 08:08:37 +02:00
PropertyOwningCSSStyleDeclaration-serialized-custom-properties.txt LibWeb: Store CSS color name in CSSRGB 2024-11-25 11:51:50 +01:00
replace-calc-function-with-same-kind-but-fewer-arguments.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
revert-all.txt LibWeb: Don't crash on CSS all: revert 2024-08-04 11:49:44 +02:00
revert-ignores-layers.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
revert-layer.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
sending-animationcancel-event-crash.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
serialize-invalid-forgiving-selectors.txt LibWeb/CSS: Keep invalid parts of <forgiving-selector-list>s around 2024-11-14 13:20:01 +01:00
set-style-declaration-shorthand.txt LibWeb/CSS: Support nested shorthands in CSSStyleDeclaration 2025-02-12 16:00:42 +00:00
singular-percentage-calc-crash.txt LibWeb/CSS: Recalculate calc() numeric type when resolving percentages 2025-01-04 18:47:44 +00:00
small-aspect-ratio.txt LibWeb: Don't crash when converting small CSS::Ratio to CSSPixelFraction 2024-08-22 13:49:41 +02:00
string-serializes-with-quotes.txt
style-declaration-parent-rule.txt LibWeb: Store CSS color name in CSSRGB 2024-11-25 11:51:50 +01:00
style-sheet-with-byte-order-mark.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
supports.txt Tests: Add a test for @supports 2024-11-07 15:11:24 +01:00
text-transform-invalidation-on-media-query-change.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
transform-origin-serialization.txt LibWeb: Bail parsing transform-origin if the parsed value is null 2023-10-29 11:22:53 +01:00
transform-serialization.txt LibWeb/CSS: Serialize transform scale percentage values as numbers 2024-07-04 14:41:35 +02:00
transition-basics.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
transition-style-invalidation-crash.txt LibWeb/CSS: Stop invalidating style when setting an animation's effect 2024-10-15 08:43:26 -04:00
unicode-bidi-computed-values.txt LibWeb/CSS: Add support for unicode-bidi property 2024-10-07 14:57:15 +01:00
unicode-range-all-wildcard.txt LibWeb: Use substrings instead of pointers when parsing unicode ranges 2024-11-05 14:01:45 +00:00
unknown-pseudo-elements-crash.txt LibWeb: Add test for getComputedStyle with a PseudoElement argument 2024-12-19 19:35:57 +00:00
unknown-webkit-pseudo-element-serialization.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
update-pseudo-elements-on-hover.txt LibWeb+WebContent: Do not include DOM HTML in text test expectations 2024-10-03 07:07:28 -04:00
var-uses-fallback-value-if-custom-property-is-empty.txt LibWeb/CSS: Use fallback var() value if custom property is empty 2025-02-16 09:19:19 +01:00