ladybird/Tests/LibWeb/Text/expected/css
Sam Atkins ee647616b2 LibWeb/CSS: Serialize @font-face closer to spec
Read the descriptor style values instead of producing a ParsedFontFace
first, as this means we know if a descriptor is actually present, or
has been defaulted to an initial value. This lets us correctly skip the
unicode-range if it was not explicitly set.

Firefox and Chromium both serialize using the "font-stretch" name,
(which is an alias for font-width) which follows the outdated cssom
spec, so I've done so too to match them.

The one thing that we still do differently in this test is that those
browsers check explicitly if `font-stretch` was set, and ignore when
`font-width` is.

I've also inlined the `serialize_a_local()` function to the one place
it's used. The style value to_string() method was already wrapping the
string in quotes, so calling serialize_a_string() on it was producing
`local("\this mess\"")`. It's clearer what's happening when the code
isn't split up.
2025-04-07 10:00:21 +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: Return absolutized computed value for outline width property 2025-04-05 12:54:22 +02: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
CSSImportRule-supportsText.txt LibWeb: Implement CSSImportRule.supportsText 2025-03-19 16:42:51 +01: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: Parse @font-face descriptors as style values 2025-04-04 10:40:32 +01: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: Improved implementation of background-blend-mode 2025-04-01 13:38:00 +02:00
CSSStyleDeclaration-modify-computed.txt LibWeb: Return error on modification of a computed CSS style declaration 2024-08-05 09:55:50 +02:00
CSSStyleProperties-all-supported-properties-and-default-values.txt LibWeb: Return absolutized computed value for outline width property 2025-04-05 12:54:22 +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 LibWeb: Don't assume opacity values are CSS numbers 2023-07-31 09:16:18 +02:00
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/CSS: Serialize @font-face closer to spec 2025-04-07 10:00:21 +01:00
font-family-with-dash-prefix.txt LibWeb: Allow font-family names to start with - 2023-07-06 14:30:06 +02:00
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: Return absolutized computed value for outline width property 2025-04-05 12:54:22 +02: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: Coerce NaNs to 0 when escaping top-level calculations 2025-03-25 19:53:36 +00: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
HTMLLinkElement-sheet.txt LibWeb: Implement the HTMLLinkElement.sheet attribute 2025-03-17 14:47:20 +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: Implement generic boolean logic for media/supports queries 2025-03-17 10:00:19 +00: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 LibWeb: Serialize StringStyleValue with quotes 2023-09-12 14:29:21 +01:00
style-declaration-parent-rule.txt LibWeb/CSS: Move property code from CSSStyleDeclaration to *Properties 2025-03-19 13:53:00 +00: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 LibWeb/CSS: Correct parsing of @supports selector() 2025-03-17 10:00:19 +00:00
text-transform-dynamic-change.txt LibWeb: Update the layout tree when CSS text-transform changes 2025-03-08 20:22:01 +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