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
animating-unresolved-properties-crash.txt
attr-serialization.txt
attribute-selector-case-sensitivity.txt
box-shadow-resolves-length-functions.txt
calc-coverage.txt LibWeb: Return absolutized computed value for outline width property 2025-04-05 12:54:22 +02:00
calc-missing-context.txt
changing-animation-name-crash.txt
constructed-style-sheets.txt
css-hsl-with-calc.txt
CSSConditionRule-conditionText-readonly.txt
cssFloat-property.txt
CSSImportRule-supportsText.txt LibWeb: Implement CSSImportRule.supportsText 2025-03-19 16:42:51 +01:00
CSSPropertyRule-invalid-rules.txt
CSSPropertyRule-properties-readonly.txt
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
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
CSSStyleSheet-addRule.txt
CSSStyleSheet-constructor.txt
CSSStyleSheet-removeRule.txt
CSSStyleSheet-replace.txt
CSSStyleSheet-replaceSync.txt
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
custom-properties-from-all-layers.txt
dir-pseudo-on-form-associated-element.txt
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/CSS: Serialize @font-face closer to spec 2025-04-07 10:00:21 +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
FontFace-load-urls.txt
FontFace.txt
FontFaceSet-load.txt
FontFaceSet-setlike.txt
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
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
getComputedStyle-relative-property-values.txt
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
HTMLLinkElement-sheet.txt LibWeb: Implement the HTMLLinkElement.sheet attribute 2025-03-17 14:47:20 +01:00
import-rule-shift-jis.txt
insert-import-rule-into-constructed-stylesheet.txt
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
legacy-color-value.txt
math-depth.txt
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
parse-nested-pseudo-selectors-as-selectors.txt
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
revert-all.txt
revert-ignores-layers.txt
revert-layer.txt
sending-animationcancel-event-crash.txt
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
string-serializes-with-quotes.txt
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
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
transform-origin-serialization.txt
transform-serialization.txt
transition-basics.txt
transition-style-invalidation-crash.txt
unicode-bidi-computed-values.txt
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
update-pseudo-elements-on-hover.txt
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